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 1.0.1 to 1.0.2

4

lib/ESIEvaluator.js

@@ -445,6 +445,2 @@ "use strict";

let value = data[key];
if (value === "") {
attributes[key] = null;
return attributes;
}
const [current = {}] = context.tags.slice(-1);

@@ -451,0 +447,0 @@ if (context.inEsiStatementProcessingContext && !current.plainText) {

2

lib/markup.js

@@ -47,3 +47,3 @@ "use strict";

const value = attr[key];
if (value === null) {
if (value === "") {
return `${attributes} ${key}`;

@@ -50,0 +50,0 @@ }

{
"name": "@bonniernews/local-esi",
"version": "1.0.1",
"version": "1.0.2",
"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