From 77e43e726190ba1f88c2e36ae520086c5fda7bd5 Mon Sep 17 00:00:00 2001 From: uNetworkingAB <110806833+uNetworkingAB@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:47:35 +0200 Subject: [PATCH] Update uws.js --- src/uws.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uws.js b/src/uws.js index ea9b0ed2..fac660b9 100644 --- a/src/uws.js +++ b/src/uws.js @@ -1,5 +1,5 @@ /* - * Authored by Alex Hultman, 2018-2022. + * Authored by Alex Hultman, 2018-2024. * Intellectual property of third-party. * Licensed under the Apache License, Version 2.0 (the "License"); @@ -19,7 +19,7 @@ module.exports = (() => { 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 LTS versions 16, 18 and 20 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()); + throw new Error('This version of uWS.js supports only Node.js versions 18, 20, 21 and 22 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()); } })();