meriyah 6.1.2 → 6.1.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 +25 -0
- package/dist/meriyah.cjs +1447 -1509
- package/dist/meriyah.min.mjs +1 -1
- package/dist/meriyah.mjs +1447 -1509
- package/dist/meriyah.umd.js +9186 -9248
- package/dist/meriyah.umd.min.js +1 -1
- package/dist/types/common.d.ts +25 -87
- package/dist/types/errors.d.ts +1 -9
- package/dist/types/estree.d.ts +3 -6
- package/dist/types/lexer/charClassifier.d.ts +0 -1
- package/dist/types/lexer/comments.d.ts +3 -5
- package/dist/types/lexer/identifier.d.ts +1 -3
- package/dist/types/lexer/index.d.ts +3 -9
- package/dist/types/lexer/jsx.d.ts +2 -3
- package/dist/types/lexer/numeric.d.ts +0 -1
- package/dist/types/lexer/regexp.d.ts +1 -2
- package/dist/types/lexer/scan.d.ts +0 -1
- package/dist/types/lexer/string.d.ts +1 -1
- package/dist/types/meriyah.d.ts +2 -2
- package/dist/types/options.d.ts +29 -0
- package/dist/types/parser/parser.d.ts +17 -15
- package/dist/types/parser/private-scope.d.ts +16 -0
- package/dist/types/parser/scope.d.ts +38 -0
- package/dist/types/parser.d.ts +5 -115
- package/dist/types/unicode.d.ts +0 -1
- package/package.json +24 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meriyah",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability",
|
|
5
5
|
"main": "dist/meriyah.cjs",
|
|
6
6
|
"module": "dist/meriyah.min.mjs",
|
|
@@ -54,11 +54,12 @@
|
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"build": "node scripts/build.mjs",
|
|
57
|
-
"lint": "npm run lint:eslint && npm run lint:types && npm run lint:prettier && npm run lint:cspell",
|
|
57
|
+
"lint": "npm run lint:eslint && npm run lint:types && npm run lint:prettier && npm run lint:cspell && npm run lint:knip",
|
|
58
58
|
"lint:eslint": "eslint",
|
|
59
59
|
"lint:prettier": "prettier . --check",
|
|
60
60
|
"lint:cspell": "cspell . --gitignore",
|
|
61
61
|
"lint:types": "tsc",
|
|
62
|
+
"lint:knip": "knip",
|
|
62
63
|
"fix": "npm run fix:eslint && npm run fix:prettier",
|
|
63
64
|
"fix:eslint": "eslint --fix",
|
|
64
65
|
"fix:prettier": "prettier . --write",
|
|
@@ -78,32 +79,36 @@
|
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
|
80
81
|
"@babel/code-frame": "^7.27.1",
|
|
81
|
-
"@eslint/js": "^9.
|
|
82
|
+
"@eslint/js": "^9.30.0",
|
|
82
83
|
"@rollup/plugin-json": "^6.1.0",
|
|
83
84
|
"@rollup/plugin-terser": "^0.4.4",
|
|
84
85
|
"@types/babel__code-frame": "^7.0.6",
|
|
85
|
-
"@types/node": "^
|
|
86
|
-
"@unicode/unicode-16.0.0": "^1.6.
|
|
87
|
-
"@vitest/coverage-v8": "^3.
|
|
86
|
+
"@types/node": "^24.0.7",
|
|
87
|
+
"@unicode/unicode-16.0.0": "^1.6.6",
|
|
88
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
89
|
+
"acorn": "^8.15.0",
|
|
88
90
|
"coveralls": "^3.1.1",
|
|
89
91
|
"cross-env": "^7.0.3",
|
|
90
|
-
"cspell": "^
|
|
91
|
-
"eslint": "^9.
|
|
92
|
-
"eslint-import-resolver-typescript": "^4.
|
|
93
|
-
"eslint-plugin-import-x": "^4.
|
|
94
|
-
"eslint-plugin-n": "^17.
|
|
92
|
+
"cspell": "^9.1.2",
|
|
93
|
+
"eslint": "^9.30.0",
|
|
94
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
95
|
+
"eslint-plugin-import-x": "^4.16.1",
|
|
96
|
+
"eslint-plugin-n": "^17.20.0",
|
|
95
97
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
96
|
-
"globals": "^16.
|
|
98
|
+
"globals": "^16.2.0",
|
|
97
99
|
"husky": "^9.1.7",
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
100
|
+
"knip": "^5.61.3",
|
|
101
|
+
"lint-staged": "^16.1.2",
|
|
102
|
+
"outdent": "^0.8.0",
|
|
103
|
+
"prettier": "3.6.2",
|
|
104
|
+
"rollup": "^4.44.1",
|
|
101
105
|
"rollup-plugin-typescript2": "^0.36.0",
|
|
102
|
-
"standard-changelog": "^
|
|
106
|
+
"standard-changelog": "^7.0.1",
|
|
103
107
|
"test262-parser-runner": "^0.5.0",
|
|
104
|
-
"
|
|
105
|
-
"typescript
|
|
106
|
-
"
|
|
108
|
+
"test262-stream": "^1.4.0",
|
|
109
|
+
"typescript": "^5.8.3",
|
|
110
|
+
"typescript-eslint": "^8.35.0",
|
|
111
|
+
"vitest": "^3.2.4"
|
|
107
112
|
},
|
|
108
113
|
"engines": {
|
|
109
114
|
"node": ">=18.0.0"
|