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/dist/meriyah.cjs CHANGED
@@ -8343,7 +8343,10 @@ function parseClassElementList(parser, context, scope, inheritedContext, type, d
8343
8343
  key = parseIdentifier(parser, context, 0);
8344
8344
  switch (token) {
8345
8345
  case 36972:
8346
- if (!isStatic && parser.token !== 67174411) {
8346
+ if (!isStatic &&
8347
+ parser.token !== 67174411 &&
8348
+ (parser.token & 1048576) !== 1048576 &&
8349
+ parser.token !== 1077936157) {
8347
8350
  return parseClassElementList(parser, context, scope, inheritedContext, type, decorators, 1, inGroup, start, line, column);
8348
8351
  }
8349
8352
  break;
@@ -8761,7 +8764,7 @@ function parseJSXExpressionContainer(parser, context, inJSXChild, isAttr, start,
8761
8764
  nextToken(parser, context | 32768);
8762
8765
  const { tokenPos, linePos, colPos } = parser;
8763
8766
  if (parser.token === 14)
8764
- return parseJSXSpreadChild(parser, context, tokenPos, linePos, colPos);
8767
+ return parseJSXSpreadChild(parser, context, start, line, column);
8765
8768
  let expression = null;
8766
8769
  if (parser.token === 1074790415) {
8767
8770
  if (isAttr)
@@ -8812,7 +8815,7 @@ var estree = /*#__PURE__*/Object.freeze({
8812
8815
  __proto__: null
8813
8816
  });
8814
8817
 
8815
- var version$1 = "4.3.3";
8818
+ var version$1 = "4.3.4";
8816
8819
 
8817
8820
  const version = version$1;
8818
8821
  function parseScript(source, options) {
@@ -8343,7 +8343,10 @@ function parseClassElementList(parser, context, scope, inheritedContext, type, d
8343
8343
  key = parseIdentifier(parser, context, 0);
8344
8344
  switch (token) {
8345
8345
  case 36972:
8346
- if (!isStatic && parser.token !== 67174411) {
8346
+ if (!isStatic &&
8347
+ parser.token !== 67174411 &&
8348
+ (parser.token & 1048576) !== 1048576 &&
8349
+ parser.token !== 1077936157) {
8347
8350
  return parseClassElementList(parser, context, scope, inheritedContext, type, decorators, 1, inGroup, start, line, column);
8348
8351
  }
8349
8352
  break;
@@ -8761,7 +8764,7 @@ function parseJSXExpressionContainer(parser, context, inJSXChild, isAttr, start,
8761
8764
  nextToken(parser, context | 32768);
8762
8765
  const { tokenPos, linePos, colPos } = parser;
8763
8766
  if (parser.token === 14)
8764
- return parseJSXSpreadChild(parser, context, tokenPos, linePos, colPos);
8767
+ return parseJSXSpreadChild(parser, context, start, line, column);
8765
8768
  let expression = null;
8766
8769
  if (parser.token === 1074790415) {
8767
8770
  if (isAttr)
@@ -8812,7 +8815,7 @@ var estree = /*#__PURE__*/Object.freeze({
8812
8815
  __proto__: null
8813
8816
  });
8814
8817
 
8815
- var version$1 = "4.3.3";
8818
+ var version$1 = "4.3.4";
8816
8819
 
8817
8820
  const version = version$1;
8818
8821
  function parseScript(source, options) {