cjs-module-lexer
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -823,3 +823,3 @@ let source, pos, end; | ||
let ch = source.codePointAt(pos); | ||
if (!isIdentifierStart(ch, true) && ch != '\\') | ||
if (!isIdentifierStart(ch, true) || ch === '\\') | ||
return false; | ||
@@ -831,3 +831,3 @@ pos += codePointLen(ch); | ||
} | ||
else if (ch == '\\') { | ||
else if (ch === '\\') { | ||
// no identifier escapes support for now | ||
@@ -834,0 +834,0 @@ return false; |
{ | ||
"name": "cjs-module-lexer", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Lexes CommonJS modules, returning their named exports metadata", | ||
@@ -5,0 +5,0 @@ "main": "lexer.js", |
Sorry, the diff of this file is not supported yet
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
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
111372