meriyah 4.3.3 → 4.3.4

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,13 @@
1
+ ## [4.3.4](https://github.com/meriyah/meriyah/compare/v4.3.3...v4.3.4) (2023-02-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **parser:** "static" can be used as an identifier in ClassElement ([663937a](https://github.com/meriyah/meriyah/commit/663937af80c00978c7aa0b0a5c8a61bf179608af)), closes [#231](https://github.com/meriyah/meriyah/issues/231)
7
+ * **parser:** fix loc info for JSXSpreadChild ([4a99416](https://github.com/meriyah/meriyah/commit/4a994161328dbcafb535eeadc01d81cc8600a1b0)), closes [#235](https://github.com/meriyah/meriyah/issues/235)
8
+
9
+
10
+
1
11
  ## [4.3.3](https://github.com/meriyah/meriyah/compare/v4.3.2...v4.3.3) (2022-11-12)
2
12
 
3
13
 
@@ -8341,7 +8341,10 @@ define(['exports'], (function (exports) { 'use strict';
8341
8341
  key = parseIdentifier(parser, context, 0);
8342
8342
  switch (token) {
8343
8343
  case 36972:
8344
- if (!isStatic && parser.token !== 67174411) {
8344
+ if (!isStatic &&
8345
+ parser.token !== 67174411 &&
8346
+ (parser.token & 1048576) !== 1048576 &&
8347
+ parser.token !== 1077936157) {
8345
8348
  return parseClassElementList(parser, context, scope, inheritedContext, type, decorators, 1, inGroup, start, line, column);
8346
8349
  }
8347
8350
  break;
@@ -8759,7 +8762,7 @@ define(['exports'], (function (exports) { 'use strict';
8759
8762
  nextToken(parser, context | 32768);
8760
8763
  const { tokenPos, linePos, colPos } = parser;
8761
8764
  if (parser.token === 14)
8762
- return parseJSXSpreadChild(parser, context, tokenPos, linePos, colPos);
8765
+ return parseJSXSpreadChild(parser, context, start, line, column);
8763
8766
  let expression = null;
8764
8767
  if (parser.token === 1074790415) {
8765
8768
  if (isAttr)
@@ -8810,7 +8813,7 @@ define(['exports'], (function (exports) { 'use strict';
8810
8813
  __proto__: null
8811
8814
  });
8812
8815
 
8813
- var version$1 = "4.3.3";
8816
+ var version$1 = "4.3.4";
8814
8817
 
8815
8818
  const version = version$1;
8816
8819
  function parseScript(source, options) {