mirror of https://github.com/nodejs/node.git
1.1 KiB
1.1 KiB
Maintaining acorn
The acorn dependency is a JavaScript parser. acorn-walk is an abstract syntax tree walker for the ESTree format.
Updating acorn
The tools/dep_updaters/update-acorn.sh
script automates the update of the
acorn source files.
Check that Node.js still builds and tests.
Committing acorn
- Add acorn:
$ git add deps/acorn
- Commit the changes:
git commit
. - Add a message like:
deps: update acorn to <version> Updated as described in doc/contributing/maintaining-acorn.md.
Updating acorn-walk
The tools/dep_updaters/update-acorn-walk.sh
script automates the update of the
acorn-walk source files.
Check that Node.js still builds and tests.
Committing acorn-walk
- Add acorn-walk:
$ git add deps/acorn-walk
- Commit the changes:
git commit
. - Add a message like:
deps: update acorn-walk to <version> Updated as described in doc/contributing/maintaining-acorn.md.