From 3893eb43063b35a3e0ecbcd8343cca4920daacc7 Mon Sep 17 00:00:00 2001 From: Ben West Date: Thu, 12 Oct 2023 08:33:40 -0700 Subject: [PATCH] allow running any version of LTS Given node 18 and 20, allow running on any LTS version of node. We can block out bad versions if needed. --- lib/server/bootevent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/server/bootevent.js b/lib/server/bootevent.js index 4837a8702c4..14325b6260c 100644 --- a/lib/server/bootevent.js +++ b/lib/server/bootevent.js @@ -39,7 +39,7 @@ function boot (env, language) { const isLTS = process.release.lts ? true : false; - if (isLTS && (semver.satisfies(nodeVersion, '^16.0.0') || semver.satisfies(nodeVersion, '^14.0.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');