chore(deps): Remove redundant yarn resolutions#20877
Merged
Merged
Conversation
Drop four resolution overrides whose parent packages already constrain the transitive dep to the same (CJS) version yarn would naturally pick: - gauge/strip-ansi (gauge pins ^6.0.1) - wide-align/string-width (wide-align constrains to <=4) - cliui/wrap-ansi (cliui pins ^7.0.0) - **/express/path-to-regexp (express 4.22.1 pins ~0.1.12) Verified by running yarn install: lockfile is unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
size-limit report 📦
|
chargome
approved these changes
May 13, 2026
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.
Summary
Drops four
resolutionsoverrides in the rootpackage.jsonthat no longer change anything. For each, the parent package's own dependency range already restricts the transitive dep to the same (CJS) version that yarn would naturally select. Also drops the now-orphaned//_resolutions_comment(its three target packages — strip-ansi, string-width, wrap-ansi — are all removed here).Removed:
gauge/strip-ansi: 6.0.1— gauge@4.0.4 already pinsstrip-ansi: ^6.0.1wide-align/string-width: 4.2.3— wide-align@1.1.5 already constrains to^1.0.2 || 2 || 3 || 4cliui/wrap-ansi: 7.0.0— cliui@7.0.4 already pinswrap-ansi: ^7.0.0**/express/path-to-regexp: 0.1.12— express@4.22.1 already pins~0.1.12Kept:
sucrasefork — intentional, used for ES2020 polyfill control**/nitropack/rollup-plugin-visualizer— kept for nowVerified:
yarn installafter the change reportsAlready up-to-date— lockfile is unchanged.🤖 Generated with Claude Code