Add node modules and compiled JavaScript from main

This commit is contained in:
Oliver King 2022-06-21 13:37:16 +00:00
parent d893f27da9
commit 4b42a5ec78
6750 changed files with 1745644 additions and 10860 deletions

23
node_modules/html-escaper/test/index.js generated vendored Normal file
View file

@ -0,0 +1,23 @@
delete Object.freeze;
var html = require('../cjs');
console.assert(
html.escape('&<>\'"') === '&amp;&lt;&gt;&#39;&quot;',
'correct escape'
);
console.assert(
html.escape('<>\'"&') === '&lt;&gt;&#39;&quot;&amp;',
'correct inverted escape'
);
console.assert(
'&<>\'"' === html.unescape('&amp;&lt;&gt;&#39;&quot;'),
'correct unescape'
);
console.assert(
'<>\'"&' === html.unescape('&lt;&gt;&#39;&quot;&amp;'),
'correct inverted unescape'
);

1
node_modules/html-escaper/test/package.json generated vendored Normal file
View file

@ -0,0 +1 @@
{"type":"commonjs"}