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

@bonniernews/local-esi

Package Overview
Dependencies
Maintainers
11
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.2.0 to 2.2.1

4

lib/ESIEvaluator.js

@@ -33,4 +33,4 @@ /* eslint-disable no-use-before-define */

close(next) {
if (!this.children.includes("esi:attempt") || !this.children.includes("esi:except")) {
return next(new Error("esi:try without esi:attempt and esi:except not allowed"));
if (!this.children.includes("esi:attempt")) {
return next(new Error("esi:try without esi:attempt not allowed"));
}

@@ -37,0 +37,0 @@ this.children.length = 0;

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