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

@bonniernews/local-esi

Package Overview
Dependencies
Maintainers
8
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.2.1 to 1.2.2

8

lib/expression/parser.js

@@ -14,3 +14,2 @@ /* eslint-disable prefer-template */

IDENTIFIER,
IDENTIFIER_CHARS,
LITERAL,

@@ -49,7 +48,5 @@ LOGICAL,

while ((match = str.match(/(?!\\)\$(.*)/))) {
while ((match = str.match(/(?<!\\)\$(.*)/))) {
const line = idx + 1;
if (("(" + IDENTIFIER_CHARS).indexOf(match[1][0]) === -1) {
throw new SyntaxError(`Illegal character $ at ${line}:${match.index + columnOffset}`);
}
columnOffset += match.index;

@@ -59,3 +56,2 @@ if (match.index > 0) {

}
columnOffset += match.index;

@@ -62,0 +58,0 @@ const ast = AST();

{
"name": "@bonniernews/local-esi",
"version": "1.2.1",
"version": "1.2.2",
"description": "Local Edge Side Includes parser",

@@ -30,3 +30,3 @@ "main": "index.js",

"engines": {
"node": ">=8.9.0"
"node": ">=9.11.2"
},

@@ -33,0 +33,0 @@ "repository": {

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