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