Update dependencies to latest versions (including lezer/generator from 1.0.0 to 1.7.1) #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The instructions at https://codemirror.net/examples/lang-package/ on how to create your own language package for CodeMirror refer to this repo (https://github.com/codemirror/lang-example.)
I cloned the repo and began working through the instructions at https://lezer.codemirror.net/docs/guide/#writing-a-grammar and quickly hit the error:
which led me to https://discuss.codemirror.net/t/generator-throws-error-on-docs-example/5008, in which @marijnh comments:
...and sure enough, lang-example still depends on @lezer/generator 1.0.0.
Looks like it hasn't been updated in a few years, so this PR bumps the various dependencies to their latest versions:
dependencies:
devDependencies:
What were you using to install these dependencies? Both yarn and npm should automatically install the highest available version that matches the range given in the dependency declaration when you initially install.
You're right. Whatever the problem was, it wasn't that. Sorry for wasting your time.
Pull request closed