🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

entities

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

entities - npm Package Compare versions

Comparing version

to
0.1.1

7

index.js

@@ -52,9 +52,2 @@ var re_hex = /&#x[\da-f]+;?/gi,

return module.exports["encode" +modes[level]](data);
},
decodeXML: function(data){
return data
.replace(regex, func)
.replace(re_strictHex, strictHex_func)
.replace(re_strictCharCode, strictNum_func);
}

@@ -61,0 +54,0 @@ };

2

package.json
{
"name": "entities",
"version": "0.1.0",
"version": "0.1.1",
"description": "Encode & decode XML/HTML entities with ease",

@@ -5,0 +5,0 @@ "author": "Felix Boehm <me@feedic.com>",