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/CHANGELOG.md +9 -0
- package/dist/meriyah.amd.js +3 -1
- package/dist/meriyah.amd.min.js +1 -1
- package/dist/meriyah.cjs +3 -1
- package/dist/meriyah.cjs.js +3 -1
- package/dist/meriyah.cjs.min.js +1 -1
- package/dist/meriyah.esm.js +3 -1
- package/dist/meriyah.esm.min.js +1 -1
- package/dist/meriyah.esm.min.mjs +1 -1
- package/dist/meriyah.esm.mjs +3 -1
- package/dist/meriyah.iife.js +3 -1
- package/dist/meriyah.iife.min.js +1 -1
- package/dist/meriyah.min.cjs +1 -1
- package/dist/meriyah.system.js +3 -1
- package/dist/meriyah.system.min.js +1 -1
- package/dist/meriyah.umd.cjs +3 -1
- package/dist/meriyah.umd.es5.js +3 -1
- package/dist/meriyah.umd.es5.min.js +1 -1
- package/dist/meriyah.umd.js +3 -1
- package/dist/meriyah.umd.min.cjs +1 -1
- package/dist/meriyah.umd.min.js +1 -1
- package/dist/src/parser.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/parser.ts +3 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
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
|
+
|
|
1
10
|
## [4.3.6](https://github.com/meriyah/meriyah/compare/v4.3.5...v4.3.6) (2023-05-10)
|
|
2
11
|
|
|
3
12
|
|
package/dist/meriyah.amd.js
CHANGED
|
@@ -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.
|
|
8821
|
+
var version$1 = "4.3.7";
|
|
8820
8822
|
|
|
8821
8823
|
const version = version$1;
|
|
8822
8824
|
function parseScript(source, options) {
|