Skip to content

Commit

Permalink
fix: bump minimum node version to 16 (#582)
Browse files Browse the repository at this point in the history
This commit modifies the validator's startup script
(packages/validator/src/cli-validator/index.js) so that
it requires node 16 as the minimum version of the runtime.
We had previously updated the package.json to cover the
install-related steps.

Signed-off-by: Phil Adams <[email protected]>
  • Loading branch information
padamstx authored Apr 13, 2023
1 parent 820168e commit 7849314
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions packages/validator/src/cli-validator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

// this module enforces that the user is running a supported version
// of Node by exiting the process if the version is less than
// the passed in argument (currently 14.0.0)
require('./utils/check-version')('14.0.0');
// the passed in argument (currently 16.0.0)
require('./utils/check-version')('16.0.0');

const runValidator = require('./run-validator');
runValidator(process.argv)
Expand Down

0 comments on commit 7849314

Please sign in to comment.