meriyah 4.3.6 → 4.3.7

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
@@ -8313,6 +8313,7 @@ function parseClassBody(parser, context, inheritedContext, scope, kind, origin,
8313
8313
  const { tokenPos, linePos, colPos } = parser;
8314
8314
  consume(parser, context | 32768, 2162700);
8315
8315
  context = (context | 134217728) ^ 134217728;
8316
+ let hasConstr = parser.flags & 32;
8316
8317
  parser.flags = (parser.flags | 32) ^ 32;
8317
8318
  const body = [];
8318
8319
  let decorators;
@@ -8333,6 +8334,7 @@ function parseClassBody(parser, context, inheritedContext, scope, kind, origin,
8333
8334
  body.push(parseClassElementList(parser, context, scope, inheritedContext, kind, decorators, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
8334
8335
  }
8335
8336
  consume(parser, origin & 8 ? context | 32768 : context, 1074790415);
8337
+ parser.flags = (parser.flags & ~32) | hasConstr;
8336
8338
  return finishNode(parser, context, tokenPos, linePos, colPos, {
8337
8339
  type: 'ClassBody',
8338
8340
  body
@@ -8818,7 +8820,7 @@ var estree = /*#__PURE__*/Object.freeze({
8818
8820
  __proto__: null
8819
8821
  });
8820
8822
 
8821
- var version$1 = "4.3.6";
8823
+ var version$1 = "4.3.7";
8822
8824
 
8823
8825
  const version = version$1;
8824
8826
  function parseScript(source, options) {
@@ -8313,6 +8313,7 @@ function parseClassBody(parser, context, inheritedContext, scope, kind, origin,
8313
8313
  const { tokenPos, linePos, colPos } = parser;
8314
8314
  consume(parser, context | 32768, 2162700);
8315
8315
  context = (context | 134217728) ^ 134217728;
8316
+ let hasConstr = parser.flags & 32;
8316
8317
  parser.flags = (parser.flags | 32) ^ 32;
8317
8318
  const body = [];
8318
8319
  let decorators;
@@ -8333,6 +8334,7 @@ function parseClassBody(parser, context, inheritedContext, scope, kind, origin,
8333
8334
  body.push(parseClassElementList(parser, context, scope, inheritedContext, kind, decorators, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
8334
8335
  }
8335
8336
  consume(parser, origin & 8 ? context | 32768 : context, 1074790415);
8337
+ parser.flags = (parser.flags & ~32) | hasConstr;
8336
8338
  return finishNode(parser, context, tokenPos, linePos, colPos, {
8337
8339
  type: 'ClassBody',
8338
8340
  body
@@ -8818,7 +8820,7 @@ var estree = /*#__PURE__*/Object.freeze({
8818
8820
  __proto__: null
8819
8821
  });
8820
8822
 
8821
- var version$1 = "4.3.6";
8823
+ var version$1 = "4.3.7";
8822
8824
 
8823
8825
  const version = version$1;
8824
8826
  function parseScript(source, options) {