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 +13 -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 +3 -2
- package/src/parser.ts +3 -0
package/dist/meriyah.esm.js
CHANGED
|
@@ -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.
|
|
8819
|
+
var version$1 = "4.3.7";
|
|
8818
8820
|
|
|
8819
8821
|
const version = version$1;
|
|
8820
8822
|
function parseScript(source, options) {
|