meriyah 4.3.0 → 4.3.1

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,13 @@
1
+ ## [4.3.1](https://github.com/meriyah/meriyah/compare/v4.3.0...v4.3.1) (2022-09-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * async is not reserved word, and some fix on reserved words ([427233e](https://github.com/meriyah/meriyah/commit/427233eef1122ac0dcdeffbc238e933eba6ada04)), closes [#221](https://github.com/meriyah/meriyah/issues/221)
7
+ * dot property should allow escaped keyword in strict mode ([efaa535](https://github.com/meriyah/meriyah/commit/efaa535b8520ecd9be73253518b575413fcabe2a)), closes [#224](https://github.com/meriyah/meriyah/issues/224)
8
+
9
+
10
+
1
11
  # [4.3.0](https://github.com/meriyah/meriyah/compare/v4.2.1...v4.3.0) (2022-08-02)
2
12
 
3
13
 
@@ -1511,14 +1511,28 @@ define(['exports'], (function (exports) { 'use strict';
1511
1511
  return 208897;
1512
1512
  if (!hasEscape)
1513
1513
  return token;
1514
+ if (token === 209008) {
1515
+ if ((context & (2048 | 4194304)) === 0) {
1516
+ return token;
1517
+ }
1518
+ return 121;
1519
+ }
1514
1520
  if (context & 1024) {
1515
- return token === 209008 && (context & (2048 | 4194304)) === 0
1516
- ? token
1517
- : token === 36972
1518
- ? 122
1519
- : (token & 36864) === 36864
1520
- ? 122
1521
- : 121;
1521
+ if (token === 36972) {
1522
+ return 122;
1523
+ }
1524
+ if ((token & 36864) === 36864) {
1525
+ return 122;
1526
+ }
1527
+ if ((token & 20480) === 20480) {
1528
+ if (context & 1073741824 && (context & 8192) === 0) {
1529
+ return token;
1530
+ }
1531
+ else {
1532
+ return 121;
1533
+ }
1534
+ }
1535
+ return 143483;
1522
1536
  }
1523
1537
  if (context & 1073741824 &&
1524
1538
  (context & 8192) === 0 &&
@@ -1531,13 +1545,13 @@ define(['exports'], (function (exports) { 'use strict';
1531
1545
  ? 121
1532
1546
  : token;
1533
1547
  }
1534
- return token === 209007 && context & 1073741824
1535
- ? 143483
1536
- : (token & 36864) === 36864
1537
- ? token
1538
- : token === 209008 && (context & 4194304) === 0
1539
- ? token
1540
- : 121;
1548
+ if (token === 209007) {
1549
+ return 143483;
1550
+ }
1551
+ if ((token & 36864) === 36864) {
1552
+ return token;
1553
+ }
1554
+ return 121;
1541
1555
  }
1542
1556
  return 208897;
1543
1557
  }
@@ -8792,7 +8806,7 @@ define(['exports'], (function (exports) { 'use strict';
8792
8806
  __proto__: null
8793
8807
  });
8794
8808
 
8795
- var version$1 = "4.3.0";
8809
+ var version$1 = "4.3.1";
8796
8810
 
8797
8811
  const version = version$1;
8798
8812
  function parseScript(source, options) {