Comparing version 3.3.7 to 3.4.0
{ | ||
"name": "antlr4-c3", | ||
"version": "3.3.7", | ||
"version": "3.4.0", | ||
"description": "A code completion core implementation for ANTLR4 based parsers", | ||
@@ -19,6 +19,7 @@ "author": "Mike Lischke", | ||
"type": "module", | ||
"main": "./lib/index.mjs", | ||
"main": "./lib/index.cjs", | ||
"module": "./lib/index.mjs", | ||
"types": "./lib/index.d.ts", | ||
"scripts": { | ||
"build": "tsc && npm run esbuild", | ||
"build": "tsc && npm run build-cjs && npm run build-mjs", | ||
"prepublishOnly": "npm run build && npm run generate && npm run test", | ||
@@ -29,11 +30,14 @@ "test-coverage": "npm run test --coverage", | ||
"eslint": "eslint .", | ||
"esbuild": "esbuild ./index.ts --bundle --outfile=lib/index.mjs --format=esm --packages=external --keep-names" | ||
"esbuild": "esbuild ./index.ts --bundle --outfile=lib/index.mjs --format=esm --packages=external --keep-names", | ||
"build-mjs": "npm run build-bundle -- --outfile=lib/index.mjs --format=esm", | ||
"build-cjs": "npm run build-bundle -- --outfile=lib/index.cjs --format=cjs", | ||
"build-bundle": "esbuild ./index.ts --bundle --main-fields=module,main --target=esnext --packages=external --keep-names" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "29.5.12", | ||
"@types/node": "20.11.20", | ||
"@types/node": "20.11.24", | ||
"@types/unicode-properties": "1.3.2", | ||
"@typescript-eslint/eslint-plugin": "7.0.2", | ||
"@typescript-eslint/parser": "7.0.2", | ||
"antlr4ng-cli": "1.0.7", | ||
"@typescript-eslint/eslint-plugin": "7.1.0", | ||
"@typescript-eslint/parser": "7.1.0", | ||
"antlr4ng-cli": "2.0.0", | ||
"esbuild": "0.20.1", | ||
@@ -50,4 +54,13 @@ "eslint": "8.57.0", | ||
"dependencies": { | ||
"antlr4ng": "2.0.11" | ||
} | ||
"antlr4ng": "3.0.0" | ||
}, | ||
"exports": { | ||
"types": "./lib/index.d.ts", | ||
"require": "./lib/index.cjs", | ||
"import": "./lib/index.mjs" | ||
}, | ||
"browserslist": [ | ||
"defaults and fully supports es6-module", | ||
"maintained node versions" | ||
] | ||
} |
@@ -224,5 +224,10 @@ [![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/mike-lischke/antlr4-c3/nodejs.yml?style=for-the-badge&color=green&logo=github)](https://github.com/mike-lischke/antlr4-c3/actions/workflows/nodejs.yml) | ||
### 3.4.0 | ||
- Switched to a new major version of the antlr4ng runtime (3.0.0). | ||
- Fixed issue #96 Add .cjs output to package | ||
### 3.3.7 | ||
- Stop bundling 3rd party libraries in the own lib bundle. This is not only unnecessary (these deps are installed with all the other dependencies in a target project), but can cause trouble if a depenent project uses 2 different versions of such a bundled 3rd party lib. | ||
- Stop bundling 3rd party libraries in the own lib bundle. This is not only unnecessary (these deps are installed with all the other dependencies in a target project), but can cause trouble if a dependent project uses 2 different versions of such a bundled 3rd party lib. | ||
@@ -229,0 +234,0 @@ ### 3.3.6 |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173686
27
4345
343
+ Addedantlr4ng@3.0.0(transitive)
+ Addedantlr4ng-cli@2.0.0(transitive)
- Removedantlr4ng@2.0.11(transitive)
- Removedantlr4ng-cli@1.0.7(transitive)
Updatedantlr4ng@3.0.0