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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ## [4.3.7](https://github.com/meriyah/meriyah/compare/v4.3.6...v4.3.7) (2023-05-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **parser:** nested class with constructor should not fail ([c0856b9](https://github.com/meriyah/meriyah/commit/c0856b974dde8c6c5a703186d2847257a64812e2))
7
+
8
+
9
+
10
+ ## [4.3.6](https://github.com/meriyah/meriyah/compare/v4.3.5...v4.3.6) (2023-05-10)
11
+
12
+
13
+
1
14
  ## [4.3.5](https://github.com/meriyah/meriyah/compare/v4.3.4...v4.3.5) (2023-03-13)
2
15
 
3
16
 
@@ -8311,6 +8311,7 @@ define(['exports'], (function (exports) { 'use strict';
8311
8311
  const { tokenPos, linePos, colPos } = parser;
8312
8312
  consume(parser, context | 32768, 2162700);
8313
8313
  context = (context | 134217728) ^ 134217728;
8314
+ let hasConstr = parser.flags & 32;
8314
8315
  parser.flags = (parser.flags | 32) ^ 32;
8315
8316
  const body = [];
8316
8317
  let decorators;
@@ -8331,6 +8332,7 @@ define(['exports'], (function (exports) { 'use strict';
8331
8332
  body.push(parseClassElementList(parser, context, scope, inheritedContext, kind, decorators, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
8332
8333
  }
8333
8334
  consume(parser, origin & 8 ? context | 32768 : context, 1074790415);
8335
+ parser.flags = (parser.flags & ~32) | hasConstr;
8334
8336
  return finishNode(parser, context, tokenPos, linePos, colPos, {
8335
8337
  type: 'ClassBody',
8336
8338
  body
@@ -8816,7 +8818,7 @@ define(['exports'], (function (exports) { 'use strict';
8816
8818
  __proto__: null
8817
8819
  });
8818
8820
 
8819
- var version$1 = "4.3.5";
8821
+ var version$1 = "4.3.7";
8820
8822
 
8821
8823
  const version = version$1;
8822
8824
  function parseScript(source, options) {