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.6.0 to 0.6.1

12

index.js

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

const expressionResult = evaluateExpression(variableAccess, context);
if (expressionResult === null) {
if (expressionResult === undefined) {
return "";

@@ -354,2 +354,6 @@ }

function removeReservedCharacters(original) {
if (!original) {
return original;
}
let text = original.replace(/\\["]/g, "\"");

@@ -481,3 +485,3 @@

if (!left) {
return null;
return;
}

@@ -488,3 +492,3 @@ return left.match(right);

if (!left) {
return null;
return;
}

@@ -499,3 +503,3 @@ return left.match(new RegExp(right, "i"));

if (!object) return null;
if (!object) return;

@@ -502,0 +506,0 @@ return getFunc(node.property.type)(node.property, object);

{
"name": "@bonniernews/local-esi",
"version": "0.6.0",
"version": "0.6.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