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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [6.0.4](https://github.com/meriyah/meriyah/compare/v6.0.3...v6.0.4) (2025-01-03)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **parser:** fix lexical analysis on export of async func ([#361](https://github.com/meriyah/meriyah/issues/361)) ([8ff271e](https://github.com/meriyah/meriyah/commit/8ff271eb0a9d36725a1274c4b39e2a351964fb8e)), closes [#360](https://github.com/meriyah/meriyah/issues/360)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [6.0.3](https://github.com/meriyah/meriyah/compare/v6.0.2...v6.0.3) (2024-10-28)
|
|
2
11
|
|
|
3
12
|
|
package/dist/meriyah.cjs
CHANGED
|
@@ -5823,7 +5823,6 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
5823
5823
|
let declaration = null;
|
|
5824
5824
|
let source = null;
|
|
5825
5825
|
let attributes = null;
|
|
5826
|
-
let key;
|
|
5827
5826
|
if (consumeOpt(parser, context | 8192, 20561)) {
|
|
5828
5827
|
switch (parser.getToken()) {
|
|
5829
5828
|
case 86104: {
|
|
@@ -5976,10 +5975,6 @@ function parseExportDeclaration(parser, context, scope) {
|
|
|
5976
5975
|
nextToken(parser, context);
|
|
5977
5976
|
if ((parser.flags & 1) === 0 && parser.getToken() === 86104) {
|
|
5978
5977
|
declaration = parseFunctionDeclaration(parser, context, scope, undefined, 4, 1, 2, 1, tokenIndex, tokenLine, tokenColumn);
|
|
5979
|
-
if (scope) {
|
|
5980
|
-
key = declaration.id ? declaration.id.name : '';
|
|
5981
|
-
declareUnboundVariable(parser, key);
|
|
5982
|
-
}
|
|
5983
5978
|
break;
|
|
5984
5979
|
}
|
|
5985
5980
|
}
|
|
@@ -9227,7 +9222,7 @@ var estree = /*#__PURE__*/Object.freeze({
|
|
|
9227
9222
|
__proto__: null
|
|
9228
9223
|
});
|
|
9229
9224
|
|
|
9230
|
-
var version = "6.0.
|
|
9225
|
+
var version = "6.0.4";
|
|
9231
9226
|
|
|
9232
9227
|
function parseScript(source, options) {
|
|
9233
9228
|
return parseSource(source, options, 0);
|