meriyah 4.3.7 → 4.3.9

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,16 @@
1
+ ## [4.3.9](https://github.com/meriyah/meriyah/compare/v4.3.8...v4.3.9) (2023-11-24)
2
+
3
+
4
+
5
+ ## [4.3.8](https://github.com/meriyah/meriyah/compare/v4.3.7...v4.3.8) (2023-11-01)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **parser:** assignment as a value for property definition ([5f8f006](https://github.com/meriyah/meriyah/commit/5f8f0061feba7cc46911ef6abd55c7c0ab2bd792))
11
+
12
+
13
+
1
14
  ## [4.3.7](https://github.com/meriyah/meriyah/compare/v4.3.6...v4.3.7) (2023-05-12)
2
15
 
3
16
 
@@ -5306,7 +5306,7 @@ define(['exports'], (function (exports) { 'use strict';
5306
5306
  consume(parser, context | 32768, 67174411);
5307
5307
  const test = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5308
5308
  consume(parser, context | 32768, 16);
5309
- consumeOpt(parser, context, 1074790417);
5309
+ consumeOpt(parser, context | 32768, 1074790417);
5310
5310
  return finishNode(parser, context, start, line, column, {
5311
5311
  type: 'DoWhileStatement',
5312
5312
  body,
@@ -8509,7 +8509,8 @@ define(['exports'], (function (exports) { 'use strict';
8509
8509
  if (parser.token === 537079928)
8510
8510
  report(parser, 116);
8511
8511
  value = parsePrimaryExpression(parser, context | 16384, 2, 0, 1, 0, 0, 1, tokenPos, linePos, colPos);
8512
- if ((parser.token & 1073741824) !== 1073741824) {
8512
+ if ((parser.token & 1073741824) !== 1073741824 ||
8513
+ (parser.token & 4194304) === 4194304) {
8513
8514
  value = parseMemberOrUpdateExpression(parser, context | 16384, value, 0, 0, tokenPos, linePos, colPos);
8514
8515
  value = parseAssignmentExpression(parser, context | 16384, 0, 0, tokenPos, linePos, colPos, value);
8515
8516
  if (parser.token === 18) {
@@ -8818,7 +8819,7 @@ define(['exports'], (function (exports) { 'use strict';
8818
8819
  __proto__: null
8819
8820
  });
8820
8821
 
8821
- var version$1 = "4.3.7";
8822
+ var version$1 = "4.3.9";
8822
8823
 
8823
8824
  const version = version$1;
8824
8825
  function parseScript(source, options) {