[JavaScript] Document Node.JS v16 requirement #4355
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current
antlr4
JavaScript package requires Node.JS v16, since 2c75e64 (aka ANTLR 4.12.0).The important line changed is:
antlr4/runtime/JavaScript/package.json
Line 49 in ce7f5e7
By the way, can an admin modify the release notes for https://github.com/antlr/antlr4/releases/tag/4.12.0 and stick somewhere that the javascript target now requires Node v16? It's currently missing from the release notes.
By the way, I've also added some badges to the
runtime/JavaScript/README.md
file that automatically load data listed in thepackage.json
file, which look like:These shields are pretty common in the Python and JavaScript/NPM eco-system1
Footnotes
GitHub even hosts their own badges for GitHub Actions, like is
![antlr4](https://github.com/antlr/antlr4/actions/workflows/hosted.yml/badge.svg)
↩