meriyah 6.0.2 → 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 CHANGED
@@ -1,3 +1,21 @@
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
+
10
+ ## [6.0.3](https://github.com/meriyah/meriyah/compare/v6.0.2...v6.0.3) (2024-10-28)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **parser:** fix tagged template parsing when tag has param(s) ([b549ed3](https://github.com/meriyah/meriyah/commit/b549ed39696b694c3c0c2e9220452c3e28538915)), closes [#350](https://github.com/meriyah/meriyah/issues/350)
16
+
17
+
18
+
1
19
  ## [6.0.2](https://github.com/meriyah/meriyah/compare/v6.0.1...v6.0.2) (2024-10-01)
2
20
 
3
21
 
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
  }
@@ -6854,7 +6849,7 @@ function parseArguments(parser, context, privateScope, inGroup) {
6854
6849
  if (parser.getToken() === 16)
6855
6850
  break;
6856
6851
  }
6857
- consume(parser, context, 16);
6852
+ consume(parser, context | 16384, 16);
6858
6853
  return args;
6859
6854
  }
6860
6855
  function parseIdentifier(parser, context) {
@@ -9227,7 +9222,7 @@ var estree = /*#__PURE__*/Object.freeze({
9227
9222
  __proto__: null
9228
9223
  });
9229
9224
 
9230
- var version = "6.0.2";
9225
+ var version = "6.0.4";
9231
9226
 
9232
9227
  function parseScript(source, options) {
9233
9228
  return parseSource(source, options, 0);