@nodable/entities
Advanced tools
+1
-1
| { | ||
| "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", |
+0
-18
@@ -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; |
59957
-0.49%2088
-0.85%