meriyah 6.0.0 → 6.0.1

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [6.0.1](https://github.com/meriyah/meriyah/compare/v6.0.0...v6.0.1) (2024-09-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **scanner:** proper EOF error for unterminated template ([cde6b2f](https://github.com/meriyah/meriyah/commit/cde6b2f7db3768c0fc254e65a68aa6debea62eab))
7
+
8
+
9
+
1
10
  # [6.0.0](https://github.com/meriyah/meriyah/compare/v5.0.0...v6.0.0) (2024-09-16)
2
11
 
3
12
  ### Bug Fixes
package/dist/meriyah.cjs CHANGED
@@ -1187,10 +1187,8 @@ function scanTemplate(parser, context) {
1187
1187
  }
1188
1188
  }
1189
1189
  }
1190
- else {
1191
- if (parser.index < parser.end &&
1192
- char === 13 &&
1193
- parser.source.charCodeAt(parser.index) === 10) {
1190
+ else if (parser.index < parser.end) {
1191
+ if (char === 13 && parser.source.charCodeAt(parser.index) === 10) {
1194
1192
  ret += String.fromCodePoint(char);
1195
1193
  parser.currentChar = parser.source.charCodeAt(++parser.index);
1196
1194
  }
@@ -9229,7 +9227,7 @@ var estree = /*#__PURE__*/Object.freeze({
9229
9227
  __proto__: null
9230
9228
  });
9231
9229
 
9232
- var version = "6.0.0";
9230
+ var version = "6.0.1";
9233
9231
 
9234
9232
  function parseScript(source, options) {
9235
9233
  return parseSource(source, options, 0);