@bonniernews/local-esi
Advanced tools
Comparing version 2.3.1 to 2.4.0
@@ -5,2 +5,3 @@ /* eslint-disable camelcase */ | ||
const crypto = require("crypto"); | ||
const ent = require("ent"); | ||
@@ -34,2 +35,8 @@ class Evaluator { | ||
} | ||
html_decode([ arg ]) { | ||
const string = this.execute(arg.type, arg); | ||
if (!string) return ""; | ||
return ent.decode(string); | ||
} | ||
digest_md5([ arg ]) { | ||
@@ -36,0 +43,0 @@ const string = this.execute(arg.type, arg); |
{ | ||
"name": "@bonniernews/local-esi", | ||
"version": "2.3.1", | ||
"version": "2.4.0", | ||
"description": "Local Edge Side Includes parser", | ||
@@ -48,3 +48,6 @@ "main": "index.js", | ||
"test": "test" | ||
}, | ||
"dependencies": { | ||
"ent": "^2.2.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1683
54437
3
16
1
+ Addedent@^2.2.0
+ Addedcall-bind-apply-helpers@1.0.1(transitive)
+ Addedcall-bound@1.0.3(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedent@2.2.2(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedget-intrinsic@1.2.6(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-symbols@1.1.0(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedis-regex@1.2.1(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
+ Addedpunycode@1.4.1(transitive)
+ Addedsafe-regex-test@1.1.0(transitive)