meriyah 7.1.2 → 7.3.0
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 +32 -0
- package/README.md +1 -7
- package/dist/meriyah.cjs +817 -431
- package/dist/meriyah.min.mjs +1 -1
- package/dist/meriyah.mjs +817 -431
- package/dist/meriyah.umd.js +817 -431
- package/dist/meriyah.umd.min.js +1 -1
- package/dist/types/errors.d.ts +72 -70
- package/dist/types/estree.d.ts +3 -1
- package/dist/types/features.d.ts +7 -0
- package/dist/types/options.d.ts +6 -2
- package/dist/types/parser/parser.d.ts +4 -3
- package/dist/types/parser.d.ts +2 -2
- package/dist/types/token.d.ts +25 -24
- package/package.json +2 -1
- package/dist/types/utilities.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,35 @@
|
|
|
1
|
+
# [7.3.0](https://github.com/meriyah/meriyah/compare/v7.2.0...v7.3.0) (2026-07-29)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **parser:** fix class keyword check after decorator for class expression ([#617](https://github.com/meriyah/meriyah/issues/617)) ([faa2324](https://github.com/meriyah/meriyah/commit/faa2324975c3723cc885f23cb1ed8f0c711ddff6)), closes [#612](https://github.com/meriyah/meriyah/issues/612)
|
|
6
|
+
* **parser:** restrict decorator expressions to the decorators grammar ([#612](https://github.com/meriyah/meriyah/issues/612)) ([2047ba4](https://github.com/meriyah/meriyah/commit/2047ba4110f8d37d8ffbc61b4fb5d6e476c6a2a9))
|
|
7
|
+
* **parser:** scope pending octal errors to the code unit that produced them ([#615](https://github.com/meriyah/meriyah/issues/615)) ([865731a](https://github.com/meriyah/meriyah/commit/865731a56ece9c61d6c74e984bfee7374140605f))
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **parser:** support import defer and import source phases ([#588](https://github.com/meriyah/meriyah/issues/588)) ([c7458a3](https://github.com/meriyah/meriyah/commit/c7458a360dad51517dd20914c8c3eecd02a4ac84))
|
|
12
|
+
|
|
13
|
+
### Performance Improvements
|
|
14
|
+
|
|
15
|
+
* **lexer:** replace keyword table with Map and add length pre-filter ([#604](https://github.com/meriyah/meriyah/issues/604)) ([4b53020](https://github.com/meriyah/meriyah/commit/4b5302082e3386e8bc2a2be175dae8f93aba0086))
|
|
16
|
+
|
|
17
|
+
# [7.2.0](https://github.com/meriyah/meriyah/compare/v7.1.2...v7.2.0) (2026-07-24)
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* export map missing `import` ([#585](https://github.com/meriyah/meriyah/issues/585)) ([bcd697e](https://github.com/meriyah/meriyah/commit/bcd697e9e9ac1f28037748a5b5879c29d49d1326))
|
|
22
|
+
* **lexer:** normalize template carriage returns per TV/TRV ([#580](https://github.com/meriyah/meriyah/issues/580)) ([d1dcd16](https://github.com/meriyah/meriyah/commit/d1dcd16bb78e83e79a1b72370cc8e9d67ef16abf))
|
|
23
|
+
* **parser:** reject assignments to optional chain members ([#587](https://github.com/meriyah/meriyah/issues/587)) ([d1fd37d](https://github.com/meriyah/meriyah/commit/d1fd37d6294d4d248cc4a4d1dba1e4908f75c05e))
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **parser:** support explicit resource management declarations ([#579](https://github.com/meriyah/meriyah/issues/579)) ([d40161d](https://github.com/meriyah/meriyah/commit/d40161d245b966da3a058c0cca4d6c054a97f296))
|
|
28
|
+
|
|
29
|
+
### Performance Improvements
|
|
30
|
+
|
|
31
|
+
* skip template CR normalization when scan saw no carriage returns ([#583](https://github.com/meriyah/meriyah/issues/583)) ([65c3bf9](https://github.com/meriyah/meriyah/commit/65c3bf9c3dd2add375be599f9af4dd51e2c695e7))
|
|
32
|
+
|
|
1
33
|
## [7.1.2](https://github.com/meriyah/meriyah/compare/v7.1.1...v7.1.2) (2026-07-11)
|
|
2
34
|
|
|
3
35
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
<p align="center">
|
|
6
6
|
<a href="https://www.npmjs.com/package/meriyah"><img src="https://img.shields.io/npm/v/meriyah.svg?style=flat-square" alt="Meriyah NPM"/></a>
|
|
7
7
|
<a href="https://github.com/meriyah/meriyah/actions/workflows/node.js.yml?query=branch%3Amain"><img src="https://img.shields.io/github/actions/workflow/status/meriyah/meriyah/node.js.yml?branch=main&label=test&style=flat-square" alt="Node.js CI"/></a>
|
|
8
|
+
<a href="https://app.codecov.io/gh/meriyah/meriyah"><img src="https://img.shields.io/codecov/c/github/meriyah/meriyah?style=flat-square" alt="Coverage"/></a>
|
|
8
9
|
<a href="https://github.com/meriyah/meriyah/blob/master/LICENSE.md"><img src="https://img.shields.io/github/license/meriyah/meriyah.svg?style=flat-square" alt="License" /></a>
|
|
9
10
|
</p>
|
|
10
11
|
|
|
@@ -26,10 +27,6 @@
|
|
|
26
27
|
- No backtracking
|
|
27
28
|
- Low memory usage
|
|
28
29
|
|
|
29
|
-
### Not yet supported features:
|
|
30
|
-
|
|
31
|
-
- [Explicit Resource Management](https://github.com/tc39/proposal-explicit-resource-management)
|
|
32
|
-
|
|
33
30
|
## ESNext Stage 3 features
|
|
34
31
|
|
|
35
32
|
### Supported stage 3 features:
|
|
@@ -37,9 +34,6 @@
|
|
|
37
34
|
These features need to be enabled with the `next` option.
|
|
38
35
|
|
|
39
36
|
- [Decorators](https://github.com/tc39/proposal-decorators)
|
|
40
|
-
|
|
41
|
-
### Not yet supported stage 3 features:
|
|
42
|
-
|
|
43
37
|
- [Source Phase Imports](https://github.com/tc39/proposal-source-phase-imports)
|
|
44
38
|
- [Deferring Module Evaluation](https://github.com/tc39/proposal-defer-import-eval)
|
|
45
39
|
|