@apexdevtools/apex-parser 5.0.0-beta.3 → 5.0.0-beta.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 +3 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -38,8 +38,9 @@
|
|
|
38
38
|
|
|
39
39
|
- **(BREAKING)** Updated to ES Module format. Node 20/22, TypeScript 5.9 support `require(esm)`.
|
|
40
40
|
- Increased min node version to 20.
|
|
41
|
-
- `antlr4` has
|
|
42
|
-
|
|
41
|
+
- `antlr4` has to be patched to fix module resolution of the type declaration files.
|
|
42
|
+
- The patch can be copied to `patches/*` and applied with `patch-package` if needed.
|
|
43
|
+
- Until it is fixed, imports of `antlr4` will cause type errors (`skipLibCheck` can be used in some cases).
|
|
43
44
|
|
|
44
45
|
- **(BREAKING)** Re-exported antlr classes `CommonTokenStream` and `ParseTreeWalker` removed.
|
|
45
46
|
- Added type aliases like `ApexTokenStream`, `ApexParseTree`, and more to use with listener/visitor/walker.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@apexdevtools/apex-parser",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.4",
|
|
4
4
|
"description": "Javascript parser for Salesforce Apex Language",
|
|
5
5
|
"author": "Apex Dev Tools Team <apexdevtools@gmail.com> (https://github.com/apex-dev-tools)",
|
|
6
6
|
"bugs": "https://github.com/apex-dev-tools/apex-parser/issues",
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
"CHANGELOG.md"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"antlr4": "4.13.2"
|
|
37
|
-
"patch-package": "^8.0.0"
|
|
36
|
+
"antlr4": "4.13.2"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|
|
40
39
|
"@eslint/js": "^9.33.0",
|
|
@@ -42,6 +41,7 @@
|
|
|
42
41
|
"@types/node": "^22.17.1",
|
|
43
42
|
"eslint": "^9.33.0",
|
|
44
43
|
"jest": "^30.0.5",
|
|
44
|
+
"patch-package": "^8.0.0",
|
|
45
45
|
"typescript": "^5.9.2",
|
|
46
46
|
"typescript-eslint": "^8.39.1"
|
|
47
47
|
},
|