Skip to content

Commit

Permalink
allow any LTS version
Browse files Browse the repository at this point in the history
The '^' prefix makes this meaingless, there's
no reason to refuse to run less than 16.16.0
if it's still some 16.x.
  • Loading branch information
bewest committed Oct 1, 2022
1 parent 9f622c2 commit 64d93e6
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 161 deletions.
2 changes: 1 addition & 1 deletion lib/server/bootevent.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function boot (env, language) {

const isLTS = process.release.lts ? true : false;

if (isLTS && (semver.satisfies(nodeVersion, '^16.16.0') || semver.satisfies(nodeVersion, '^14.20.0'))) {
if (isLTS && (semver.satisfies(nodeVersion, '^16.0.0') || semver.satisfies(nodeVersion, '^14.0.0'))) {
//Latest Node 14 LTS and Node 16 LTS are recommended and supported.
//Require at least Node 14 without known security issues
console.debug('Node LTS version ' + nodeVersion + ' is supported');
Expand Down
Loading

0 comments on commit 64d93e6

Please sign in to comment.