@bonniernews/local-esi
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -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": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
49971
1576