diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-12-04 01:29:18 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-12-04 01:29:18 +0800 |
commit | 625260412b3217bce438f6c2e7eaae7bccb20cf0 (patch) | |
tree | ab1d9c788a0283730af3b2d9939c0f5f09d095d2 | |
parent | Mk/bsd.default-versions.mk: Update nodejs comment (diff) |
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
-rw-r--r-- | Mk/Uses/nodejs.mk | 4 |
1 files 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*} |