meriyah 4.3.1 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meriyah",
3
- "version": "4.3.1",
3
+ "version": "4.3.2",
4
4
  "description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability",
5
5
  "main": "dist/meriyah.cjs",
6
6
  "module": "dist/meriyah.esm.js",
@@ -15,7 +15,7 @@ export function scanIdentifier(parser: ParserState, context: Context, isValidAsK
15
15
  while (isIdPart[advanceChar(parser)]) {}
16
16
  parser.tokenValue = parser.source.slice(parser.tokenPos, parser.index);
17
17
 
18
- return parser.currentChar !== Chars.Backslash && parser.currentChar < 0x7e
18
+ return parser.currentChar !== Chars.Backslash && parser.currentChar <= 0x7e
19
19
  ? descKeywordTable[parser.tokenValue] || Token.Identifier
20
20
  : scanIdentifierSlowCase(parser, context, 0, isValidAsKeyword);
21
21
  }