From 625260412b3217bce438f6c2e7eaae7bccb20cf0 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 4 Dec 2024 01:29:18 +0800 Subject: Mk/Uses/nodejs.mk: Update lts Node.js 22 is the new LTS with active LTS support since October 29, 2024. Reference: https://github.com/nodejs/Release/blob/main/README.md#release-schedule https://github.com/nodejs/Release/commit/60a6dfbf8677fc0acac91699c5a3c55093792ee3 --- Mk/Uses/nodejs.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mk/Uses/nodejs.mk b/Mk/Uses/nodejs.mk index 004b6ccf03fd..89a528ddc43e 100644 --- a/Mk/Uses/nodejs.mk +++ b/Mk/Uses/nodejs.mk @@ -12,7 +12,7 @@ # Note: # - The supported versions follow upstream release schedule # https://github.com/nodejs/Release/blob/main/README.md#release-schedule -# - lts is 20 now +# - lts is 22 now # - current is 23 now # - USES=nodejs means USES=nodejs:build,run # - If you define a version, you must provide run and/or build @@ -47,7 +47,7 @@ _NODEJS_VER= ${version} _NODEJS_VER= ${NODEJS_DEFAULT} . endif -NODEJS_VERSION= ${_NODEJS_VER:S|current|23|:S|lts|20|} +NODEJS_VERSION= ${_NODEJS_VER:S|current|23|:S|lts|22|} NODEJS_SUFFIX= -node${NODEJS_VERSION} . if ${nodejs_ARGS:M*build*} -- cgit v1.2.3