fix(web-components): allow Node.js 26 in engines - #36481
Draft
AKnassa wants to merge 1 commit into
Draft
Conversation
Installing @fluentui/web-components on Node.js 26+ prints an npm EBADENGINE warning because the engines range (^22.0.0 || ^24.0.0, set before Node 26 existed) excludes it. Add ^26.0.0, keeping the even-LTS-majors pinning style. Verified with semver: 22.x/24.x/26.x satisfy the new range; odd majors (23/25/27) remain excluded as before. Fixes microsoft#36466
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.
Previous Behavior
Installing
@fluentui/web-componentson Node.js 26 prints a scaryEBADENGINEwarning, because the package says it only supports Node 22 and 24. That list was written before Node 26 existed.New Behavior
Installing on Node 26 is quiet and clean. The package now lists Node 22, 24, and 26 as supported — keeping the same "even LTS versions only" style the repo already uses, so odd versions (23, 25, 27) are still excluded on purpose.
What changed
packages/web-components/package.json: the supported-Node list gains^26.0.0.How to verify
Run
npm install @fluentui/web-componentson Node 26 — no more warning. We also checked the version range directly with semver: 22.x/24.x/26.x pass, 23/25/27 still don't.Related Issue(s)