Add node modules and new code for release (#39)
Co-authored-by: tbarnes94 <tbarnes94@users.noreply.github.com>
This commit is contained in:
parent
a10d84bc2e
commit
7ad2aa66bb
7655 changed files with 1763577 additions and 14 deletions
23
node_modules/html-escaper/test/index.js
generated
vendored
Normal file
23
node_modules/html-escaper/test/index.js
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
delete Object.freeze;
|
||||
|
||||
var html = require('../cjs');
|
||||
|
||||
console.assert(
|
||||
html.escape('&<>\'"') === '&<>'"',
|
||||
'correct escape'
|
||||
);
|
||||
|
||||
console.assert(
|
||||
html.escape('<>\'"&') === '<>'"&',
|
||||
'correct inverted escape'
|
||||
);
|
||||
|
||||
console.assert(
|
||||
'&<>\'"' === html.unescape('&<>'"'),
|
||||
'correct unescape'
|
||||
);
|
||||
|
||||
console.assert(
|
||||
'<>\'"&' === html.unescape('<>'"&'),
|
||||
'correct inverted unescape'
|
||||
);
|
1
node_modules/html-escaper/test/package.json
generated
vendored
Normal file
1
node_modules/html-escaper/test/package.json
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"type":"commonjs"}
|
Loading…
Add table
Add a link
Reference in a new issue