Initial import with skill sheet working

This commit is contained in:
2024-12-04 00:11:23 +01:00
commit 9050c80ab4
4488 changed files with 671048 additions and 0 deletions

21
node_modules/slashes/lib/esm/add-slashes.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
import { getEscapedAny } from './get-escaped-any.js';
import { getEscapedJsonUnsafe } from './get-escaped-json-unsafe.js';
const addSlashes = (str, options = {}) => {
const { getEscaped = getEscapedJsonUnsafe } = options;
let result = '';
for (const char of str) {
const escaped = getEscaped(char);
if (!escaped) {
result += char;
}
else if (escaped === true || escaped.length < 2) {
result += getEscapedAny(char) || char;
}
else {
result += escaped;
}
}
return result;
};
export { addSlashes };
//# sourceMappingURL=add-slashes.js.map