primer commit

This commit is contained in:
Ichitux
2026-04-07 16:41:13 +02:00
commit 3289a7275a
3743 changed files with 761346 additions and 0 deletions

18
node_modules/xml/lib/escapeForXML.js generated vendored Normal file
View File

@@ -0,0 +1,18 @@
var XML_CHARACTER_MAP = {
'&': '&',
'"': '"',
"'": ''',
'<': '&lt;',
'>': '&gt;'
};
function escapeForXML(string) {
return string && string.replace
? string.replace(/([&"<>'])/g, function(str, item) {
return XML_CHARACTER_MAP[item];
})
: string;
}
module.exports = escapeForXML;