Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bonniernews/local-esi

Package Overview
Dependencies
Maintainers
25
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bonniernews/local-esi - npm Package Compare versions

Comparing version 2.3.1 to 2.4.0

7

lib/expression/evaluate.js

@@ -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);

5

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc