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/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
  }
@@ -6852,7 +6847,7 @@ function parseArguments(parser, context, privateScope, inGroup) {
6852
6847
  if (parser.getToken() === 16)
6853
6848
  break;
6854
6849
  }
6855
- consume(parser, context, 16);
6850
+ consume(parser, context | 16384, 16);
6856
6851
  return args;
6857
6852
  }
6858
6853
  function parseIdentifier(parser, context) {
@@ -9225,7 +9220,7 @@ var estree = /*#__PURE__*/Object.freeze({
9225
9220
  __proto__: null
9226
9221
  });
9227
9222
 
9228
- var version = "6.0.2";
9223
+ var version = "6.0.4";
9229
9224
 
9230
9225
  function parseScript(source, options) {
9231
9226
  return parseSource(source, options, 0);
@@ -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
  }
@@ -6858,7 +6853,7 @@
6858
6853
  if (parser.getToken() === 16)
6859
6854
  break;
6860
6855
  }
6861
- consume(parser, context, 16);
6856
+ consume(parser, context | 16384, 16);
6862
6857
  return args;
6863
6858
  }
6864
6859
  function parseIdentifier(parser, context) {
@@ -9231,7 +9226,7 @@
9231
9226
  __proto__: null
9232
9227
  });
9233
9228
 
9234
- var version = "6.0.2";
9229
+ var version = "6.0.4";
9235
9230
 
9236
9231
  function parseScript(source, options) {
9237
9232
  return parseSource(source, options, 0);