Bump minimum nodejs version supported to match documented value

version-check
Nick O'Leary 2023-03-02 17:46:00 +00:00
parent 010c8eccc8
commit a95be2aa43
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ if (NODE_MAJOR_VERSION > 14) {
function checkVersion(userSettings) {
var semver = require('semver');
if (!semver.satisfies(process.version,">=12.0.0")) {
if (!semver.satisfies(process.version,">=14.0.0")) {
// TODO: in the future, make this a hard error.
// var e = new Error("Unsupported version of Node.js");
// e.code = "unsupported_version";