Repository navigation
console: require Node 22.22.2, 24.15.0 or 26 - #40650
Merged
Merged
Conversation
engines.node still allowed Node 20.12.2, which 60 installed packages reject, among them msw 3's interceptors, @rolldown/plugin-babel, lint-staged 17 and npm's node-gyp 13. The new range is the intersection of every installed package's engines.node, and matches what Volta, the Dockerfile and CI already run (Node 26).
def-
approved these changes
Nov 11, 2026
leedqin
enabled auto-merge (squash)
November 11, 2026 21:05
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
console/package.jsondeclares"node": ">=20.12.2", but the installed dependency tree no longer runs there. Checking every installed package'sengines.nodeagainst candidate versions:engines.noderejects it@mswjs/interceptors0.45,@rolldown/plugin-babel,@testing-library/jest-dom7,eslint-plugin-unicorn79, …)@eslint/*needs 22.13, …)node-gyp13,which7,abbrev5,nopt10,lint-staged17,undici8.12, …)node-gyp13 and its helpers)msw 3 (#39684) and kysely 0.29 (#40550) both deferred this change to #39683, which is still open.
Description
engines.nodebecomes^22.22.2 || ^24.15.0 || >=26.0.0, the intersection of every installed package's range. Volta (26.10.0),console/Dockerfileand CI already run Node 26. It is the same range as #39683, so that PR merges cleanly on this line.🤖 Generated with Claude Code