🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

@nodable/entities

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodable/entities - npm Package Compare versions

Comparing version
2.1.0
to
2.1.1
+1
-1
package.json
{
"name": "@nodable/entities",
"version": "2.1.0",
"version": "2.1.1",
"description": "Entity parser for XML, HTML, External entites with security and NCR control",

@@ -5,0 +5,0 @@ "main": "./src/index.js",

@@ -37,3 +37,2 @@ // ---------------------------------------------------------------------------

percent: '%',
amp: '&',
ast: '*',

@@ -470,5 +469,2 @@ commat: '@',

plus: '+',
minus: '−',
mnplus: '∓',
mp: '∓',
pm: '±',

@@ -546,6 +542,2 @@ times: '×',

HumpEqual: '≏',
dotminus: '∸',
minusd: '∸',
plusdo: '∔',
dotplus: '∔',
le: '≤',

@@ -667,3 +659,2 @@ LessEqual: '≤',

nsimeq: '≄',
nsimeq: '≄',
ncong: '≇',

@@ -785,6 +776,2 @@ simne: '≆',

crarr: '↵',
nwarrow: '↖',
nearrow: '↗',
searrow: '↘',
swarrow: '↙',
nleftarrow: '↚',

@@ -830,3 +817,2 @@ nleftrightarrow: '↮',

lrhard: '⥭',
rlhar: '⇌',
uharr: '↾',

@@ -847,3 +833,2 @@ uharl: '↿',

nlArr: '⇍',
nrarr: '↛',
nrArr: '⇏',

@@ -1010,3 +995,2 @@ larrb: '⇤',

grave: '`',
acute: '´',
};

@@ -1025,3 +1009,2 @@

dollar: '$',
euro: '€',
fnof: 'ƒ',

@@ -1126,3 +1109,2 @@ inr: '₹',

vDash: '⊨',
Vdash: '⊩',
Vvdash: '⊪',

@@ -1129,0 +1111,0 @@ nvdash: '⊬',

@@ -296,3 +296,3 @@ // ---------------------------------------------------------------------------

//TODO: check if needed
//if (str.indexOf('&') === -1) return str; // fast path — no entities at all
if (str.indexOf('&') === -1) return str; // fast path — no entities at all

@@ -299,0 +299,0 @@ const original = str;