meriyah 6.0.3 → 6.0.4
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.cjs +1 -6
- package/dist/meriyah.min.mjs +1 -1
- package/dist/meriyah.mjs +1 -6
- package/dist/meriyah.umd.js +1 -6
- package/dist/meriyah.umd.min.js +1 -1
- package/dist/src/parser.d.ts.map +1 -1
- package/dist/src/unicode.d.ts +1 -1
- package/dist/src/unicode.d.ts.map +1 -1
- package/package.json +17 -17
package/dist/meriyah.mjs
CHANGED
|
@@ -5821,7 +5821,6 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
5821
5821
|
let declaration = null;
|
|
5822
5822
|
let source = null;
|
|
5823
5823
|
let attributes = null;
|
|
5824
|
-
let key;
|
|
5825
5824
|
if (consumeOpt(parser, context | 8192, 20561)) {
|
|
5826
5825
|
switch (parser.getToken()) {
|
|
5827
5826
|
case 86104: {
|
|
@@ -5974,10 +5973,6 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
5974
5973
|
nextToken(parser, context);
|
|
5975
5974
|
if ((parser.flags & 1) === 0 && parser.getToken() === 86104) {
|
|
5976
5975
|
declaration = parseFunctionDeclaration(parser, context, scope, undefined, 4, 1, 2, 1, tokenIndex, tokenLine, tokenColumn);
|
|
5977
|
-
if (scope) {
|
|
5978
|
-
key = declaration.id ? declaration.id.name : '';
|
|
5979
|
-
declareUnboundVariable(parser, key);
|
|
5980
|
-
}
|
|
5981
5976
|
break;
|
|
5982
5977
|
}
|
|
5983
5978
|
}
|
|
@@ -9225,7 +9220,7 @@ var estree = /*#__PURE__*/Object.freeze({
|
|
|
9225
9220
|
__proto__: null
|
|
9226
9221
|
});
|
|
9227
9222
|
|
|
9228
|
-
var version = "6.0.
|
|
9223
|
+
var version = "6.0.4";
|
|
9229
9224
|
|
|
9230
9225
|
function parseScript(source, options) {
|
|
9231
9226
|
return parseSource(source, options, 0);
|
package/dist/meriyah.umd.js
CHANGED
|
@@ -5827,7 +5827,6 @@
|
|
|
5827
5827
|
let declaration = null;
|
|
5828
5828
|
let source = null;
|
|
5829
5829
|
let attributes = null;
|
|
5830
|
-
let key;
|
|
5831
5830
|
if (consumeOpt(parser, context | 8192, 20561)) {
|
|
5832
5831
|
switch (parser.getToken()) {
|
|
5833
5832
|
case 86104: {
|
|
@@ -5980,10 +5979,6 @@
|
|
|
5980
5979
|
nextToken(parser, context);
|
|
5981
5980
|
if ((parser.flags & 1) === 0 && parser.getToken() === 86104) {
|
|
5982
5981
|
declaration = parseFunctionDeclaration(parser, context, scope, undefined, 4, 1, 2, 1, tokenIndex, tokenLine, tokenColumn);
|
|
5983
|
-
if (scope) {
|
|
5984
|
-
key = declaration.id ? declaration.id.name : '';
|
|
5985
|
-
declareUnboundVariable(parser, key);
|
|
5986
|
-
}
|
|
5987
5982
|
break;
|
|
5988
5983
|
}
|
|
5989
5984
|
}
|
|
@@ -9231,7 +9226,7 @@
|
|
|
9231
9226
|
__proto__: null
|
|
9232
9227
|
});
|
|
9233
9228
|
|
|
9234
|
-
var version = "6.0.
|
|
9229
|
+
var version = "6.0.4";
|
|
9235
9230
|
|
|
9236
9231
|
function parseScript(source, options) {
|
|
9237
9232
|
return parseSource(source, options, 0);
|