diff --git a/build.c b/build.c index a7b5296a..f378896c 100644 --- a/build.c +++ b/build.c @@ -36,9 +36,9 @@ struct node_version { char *name; char *abi; } versions[] = { - {"v14.0.0", "83"}, {"v16.0.0", "93"}, - {"v18.0.0", "108"} + {"v18.0.0", "108"}, + {"v19.0.0", "111"} }; /* Downloads headers, creates folders */ diff --git a/src/uws.js b/src/uws.js index a8f01bdb..1423c9bb 100644 --- a/src/uws.js +++ b/src/uws.js @@ -16,12 +16,9 @@ */ module.exports = (() => { - if (process.versions.modules == 83) { - throw new Error("Your version of Node.js is blacklisted due to gigantic performance regressions. uWS.js will not load."); - } try { return require('./uws_' + process.platform + '_' + process.arch + '_' + process.versions.modules + '.node'); } catch (e) { throw new Error('This version of uWS.js supports only Node.js 14, 16 and 18 on (glibc) Linux, macOS and Windows, on Tier 1 platforms (https://github.com/nodejs/node/blob/master/BUILDING.md#platform-list).\n\n' + e.toString()); } -})(); +})(); \ No newline at end of file