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.
- package/CHANGELOG.md +10 -0
- package/dist/meriyah.amd.js +6 -3
- package/dist/meriyah.amd.min.js +1 -1
- package/dist/meriyah.cjs +6 -3
- package/dist/meriyah.cjs.js +6 -3
- package/dist/meriyah.cjs.min.js +1 -1
- package/dist/meriyah.esm.js +6 -3
- package/dist/meriyah.esm.min.js +1 -1
- package/dist/meriyah.esm.min.mjs +1 -1
- package/dist/meriyah.esm.mjs +6 -3
- package/dist/meriyah.iife.js +6 -3
- package/dist/meriyah.iife.min.js +1 -1
- package/dist/meriyah.min.cjs +1 -1
- package/dist/meriyah.system.js +6 -3
- package/dist/meriyah.system.min.js +1 -1
- package/dist/meriyah.umd.cjs +6 -3
- package/dist/meriyah.umd.es5.js +6 -3
- package/dist/meriyah.umd.es5.min.js +1 -1
- package/dist/meriyah.umd.js +6 -3
- package/dist/meriyah.umd.min.cjs +1 -1
- package/dist/meriyah.umd.min.js +1 -1
- package/dist/src/parser.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/parser.ts +7 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [4.3.4](https://github.com/meriyah/meriyah/compare/v4.3.3...v4.3.4) (2023-02-18)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **parser:** "static" can be used as an identifier in ClassElement ([663937a](https://github.com/meriyah/meriyah/commit/663937af80c00978c7aa0b0a5c8a61bf179608af)), closes [#231](https://github.com/meriyah/meriyah/issues/231)
|
|
7
|
+
* **parser:** fix loc info for JSXSpreadChild ([4a99416](https://github.com/meriyah/meriyah/commit/4a994161328dbcafb535eeadc01d81cc8600a1b0)), closes [#235](https://github.com/meriyah/meriyah/issues/235)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
1
11
|
## [4.3.3](https://github.com/meriyah/meriyah/compare/v4.3.2...v4.3.3) (2022-11-12)
|
|
2
12
|
|
|
3
13
|
|
package/dist/meriyah.amd.js
CHANGED
|
@@ -8341,7 +8341,10 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
8341
8341
|
key = parseIdentifier(parser, context, 0);
|
|
8342
8342
|
switch (token) {
|
|
8343
8343
|
case 36972:
|
|
8344
|
-
if (!isStatic &&
|
|
8344
|
+
if (!isStatic &&
|
|
8345
|
+
parser.token !== 67174411 &&
|
|
8346
|
+
(parser.token & 1048576) !== 1048576 &&
|
|
8347
|
+
parser.token !== 1077936157) {
|
|
8345
8348
|
return parseClassElementList(parser, context, scope, inheritedContext, type, decorators, 1, inGroup, start, line, column);
|
|
8346
8349
|
}
|
|
8347
8350
|
break;
|
|
@@ -8759,7 +8762,7 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
8759
8762
|
nextToken(parser, context | 32768);
|
|
8760
8763
|
const { tokenPos, linePos, colPos } = parser;
|
|
8761
8764
|
if (parser.token === 14)
|
|
8762
|
-
return parseJSXSpreadChild(parser, context,
|
|
8765
|
+
return parseJSXSpreadChild(parser, context, start, line, column);
|
|
8763
8766
|
let expression = null;
|
|
8764
8767
|
if (parser.token === 1074790415) {
|
|
8765
8768
|
if (isAttr)
|
|
@@ -8810,7 +8813,7 @@ define(['exports'], (function (exports) { 'use strict';
|
|
|
8810
8813
|
__proto__: null
|
|
8811
8814
|
});
|
|
8812
8815
|
|
|
8813
|
-
var version$1 = "4.3.
|
|
8816
|
+
var version$1 = "4.3.4";
|
|
8814
8817
|
|
|
8815
8818
|
const version = version$1;
|
|
8816
8819
|
function parseScript(source, options) {
|