From 75191c45afebca2e633eeb94ab95ccfdd7cfae76 Mon Sep 17 00:00:00 2001 From: Rafael Gonzaga Date: Tue, 27 Oct 2026 15:01:42 -0300 Subject: [PATCH] deps: patch npm engines to accept alpha versions npm 12.1.0 declares `engines.node` as `^22.22.2 || ^24.15.0 || >=26.0.0`, which does not match the Alpha versions of the 27 release line (`27.0.0-alpha.x.y.z`). npm prints an unsupported version warning on every invocation, and `test-release-npm` fails on release builds. Adds `>=27.0.0-alpha` to the range until a new npm release includes it. Signed-off-by: RafaelGSS PR-URL: https://github.com/nodejs/node/pull/67063 Refs: https://github.com/nodejs/node/pull/67062 Refs: https://github.com/npm/cli/issues/10169 Reviewed-By: Antoine du Hamel Reviewed-By: Ruy Adorno --- deps/npm/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/npm/package.json b/deps/npm/package.json index c6631a7bf45..2d30f3b6237 100644 --- a/deps/npm/package.json +++ b/deps/npm/package.json @@ -262,6 +262,6 @@ }, "license": "Artistic-2.0", "engines": { - "node": "^22.22.2 || ^24.15.0 || >=26.0.0" + "node": "^22.22.2 || ^24.15.0 || >=26.0.0 || >=27.0.0-alpha" } }