Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
- **(BREAKING)** Updated to ES Module format. Node 20/22, TypeScript 5.9 support `require(esm)`.
- Increased min node version to 20.
- `antlr4` has to be patched to fix module resolution of the type declaration files.
- The patch can be copied to `patches/*` and applied with `patch-package` if needed.
- Until it is fixed, imports of `antlr4` will cause type errors (`skipLibCheck` can be used in some cases).
- The patch is applied to a bundled version of the package.
- For reference it is also published under `patches/*`.

- **(BREAKING)** Re-exported antlr classes `CommonTokenStream` and `ParseTreeWalker` removed.
- Added type aliases like `ApexTokenStream`, `ApexParseTree`, and more to use with listener/visitor/walker.
Expand Down
9 changes: 6 additions & 3 deletions npm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apexdevtools/apex-parser",
"version": "5.0.0-beta.4",
"version": "5.0.0-beta.5",
"description": "Javascript parser for Salesforce Apex Language",
"author": "Apex Dev Tools Team <[email protected]> (https://github.com/apex-dev-tools)",
"bugs": "https://github.com/apex-dev-tools/apex-parser/issues",
Expand All @@ -21,7 +21,7 @@
"clean": "rm -rf dist",
"init": "npm ci && npm run antlr",
"lint": "eslint --cache --cache-location .eslintcache ./src --fix",
"postinstall": "patch-package",
"prepare": "patch-package",
"prepack": "cp ../*.md .",
"test": "jest --config jestconfig.json",
"test:samples": "jest --config sys.jestconfig.json",
Expand All @@ -32,6 +32,9 @@
"patches",
"CHANGELOG.md"
],
"bundleDependencies": [
"antlr4"
],
"dependencies": {
"antlr4": "4.13.2"
},
Expand Down