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

@bonniernews/local-esi

Package Overview
Dependencies
Maintainers
6
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 0.8.3 to 0.9.0

6

lib/ESIListener.js

@@ -377,6 +377,10 @@ "use strict";

return Object.keys(attr).reduce((attributes, key) => {
const value = attr[key];
let value = attr[key];
if (value === "") {
return `${attributes} ${key}`;
}
const [current = {}] = context.tags.slice(-1);
if (context.inEsiStatementProcessingContext && !current.plainText) {
value = handleProcessingInstructions(value);
}
attributes += ` ${key}="${value}"`;

@@ -383,0 +387,0 @@ return attributes;

2

package.json
{
"name": "@bonniernews/local-esi",
"version": "0.8.3",
"version": "0.9.0",
"description": "Local Edge Side Includes parser",

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

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