meriyah 4.3.3 → 4.3.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.
@@ -8345,7 +8345,10 @@
8345
8345
  key = parseIdentifier(parser, context, 0);
8346
8346
  switch (token) {
8347
8347
  case 36972:
8348
- if (!isStatic && parser.token !== 67174411) {
8348
+ if (!isStatic &&
8349
+ parser.token !== 67174411 &&
8350
+ (parser.token & 1048576) !== 1048576 &&
8351
+ parser.token !== 1077936157) {
8349
8352
  return parseClassElementList(parser, context, scope, inheritedContext, type, decorators, 1, inGroup, start, line, column);
8350
8353
  }
8351
8354
  break;
@@ -8763,7 +8766,7 @@
8763
8766
  nextToken(parser, context | 32768);
8764
8767
  const { tokenPos, linePos, colPos } = parser;
8765
8768
  if (parser.token === 14)
8766
- return parseJSXSpreadChild(parser, context, tokenPos, linePos, colPos);
8769
+ return parseJSXSpreadChild(parser, context, start, line, column);
8767
8770
  let expression = null;
8768
8771
  if (parser.token === 1074790415) {
8769
8772
  if (isAttr)
@@ -8814,7 +8817,7 @@
8814
8817
  __proto__: null
8815
8818
  });
8816
8819
 
8817
- var version$1 = "4.3.3";
8820
+ var version$1 = "4.3.4";
8818
8821
 
8819
8822
  const version = version$1;
8820
8823
  function parseScript(source, options) {
@@ -8408,7 +8408,10 @@
8408
8408
  key = parseIdentifier(parser, context, 0);
8409
8409
  switch (token) {
8410
8410
  case 36972:
8411
- if (!isStatic && parser.token !== 67174411) {
8411
+ if (!isStatic &&
8412
+ parser.token !== 67174411 &&
8413
+ (parser.token & 1048576) !== 1048576 &&
8414
+ parser.token !== 1077936157) {
8412
8415
  return parseClassElementList(parser, context, scope, inheritedContext, type, decorators, 1, inGroup, start, line, column);
8413
8416
  }
8414
8417
  break;
@@ -8826,7 +8829,7 @@
8826
8829
  nextToken(parser, context | 32768);
8827
8830
  var tokenPos = parser.tokenPos, linePos = parser.linePos, colPos = parser.colPos;
8828
8831
  if (parser.token === 14)
8829
- return parseJSXSpreadChild(parser, context, tokenPos, linePos, colPos);
8832
+ return parseJSXSpreadChild(parser, context, start, line, column);
8830
8833
  var expression = null;
8831
8834
  if (parser.token === 1074790415) {
8832
8835
  if (isAttr)
@@ -8877,7 +8880,7 @@
8877
8880
  __proto__: null
8878
8881
  });
8879
8882
 
8880
- var version$1 = "4.3.3";
8883
+ var version$1 = "4.3.4";
8881
8884
 
8882
8885
  var version = version$1;
8883
8886
  function parseScript(source, options) {