meriyah 4.3.5 → 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.
@@ -8309,6 +8309,7 @@ function parseClassBody(parser, context, inheritedContext, scope, kind, origin,
8309
8309
  const { tokenPos, linePos, colPos } = parser;
8310
8310
  consume(parser, context | 32768, 2162700);
8311
8311
  context = (context | 134217728) ^ 134217728;
8312
+ let hasConstr = parser.flags & 32;
8312
8313
  parser.flags = (parser.flags | 32) ^ 32;
8313
8314
  const body = [];
8314
8315
  let decorators;
@@ -8329,6 +8330,7 @@ function parseClassBody(parser, context, inheritedContext, scope, kind, origin,
8329
8330
  body.push(parseClassElementList(parser, context, scope, inheritedContext, kind, decorators, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
8330
8331
  }
8331
8332
  consume(parser, origin & 8 ? context | 32768 : context, 1074790415);
8333
+ parser.flags = (parser.flags & ~32) | hasConstr;
8332
8334
  return finishNode(parser, context, tokenPos, linePos, colPos, {
8333
8335
  type: 'ClassBody',
8334
8336
  body
@@ -8814,7 +8816,7 @@ var estree = /*#__PURE__*/Object.freeze({
8814
8816
  __proto__: null
8815
8817
  });
8816
8818
 
8817
- var version$1 = "4.3.5";
8819
+ var version$1 = "4.3.7";
8818
8820
 
8819
8821
  const version = version$1;
8820
8822
  function parseScript(source, options) {