Skip to content

chore(deps): Remove redundant yarn resolutions - #20877

Merged
mydea merged 1 commit into
developfrom
fn/clean-up-resolutions
May 15, 2026
Merged

chore(deps): Remove redundant yarn resolutions#20877
mydea merged 1 commit into
developfrom
fn/clean-up-resolutions

Conversation

@mydea

Copy link
Copy Markdown
Member

Summary

Drops four resolutions overrides in the root package.json that 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 pins strip-ansi: ^6.0.1
  • wide-align/string-width: 4.2.3 — wide-align@1.1.5 already constrains to ^1.0.2 || 2 || 3 || 4
  • cliui/wrap-ansi: 7.0.0 — cliui@7.0.4 already pins wrap-ansi: ^7.0.0
  • **/express/path-to-regexp: 0.1.12 — express@4.22.1 already pins ~0.1.12

Kept:

  • 3× minimatch overrides — each actively pins a patched version (security fix; the parent requests a vulnerable version)
  • sucrase fork — intentional, used for ES2020 polyfill control
  • **/nitropack/rollup-plugin-visualizer — kept for now

Verified: yarn install after the change reports Already up-to-date — lockfile is unchanged.

🤖 Generated with Claude Code

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>
@mydea
mydea requested review from chargome and s1gr1dMay 13, 2026 15:30
@mydeamydea self-assigned this May 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser26.89 kB--
@sentry/browser - with treeshaking flags25.33 kB--
@sentry/browser (incl. Tracing)44.79 kB--
@sentry/browser (incl. Tracing + Span Streaming)46.8 kB--
@sentry/browser (incl. Tracing, Profiling)49.78 kB--
@sentry/browser (incl. Tracing, Replay)84.43 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags73.86 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)89.13 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)101.77 kB--
@sentry/browser (incl. Feedback)44.08 kB--
@sentry/browser (incl. sendFeedback)31.7 kB--
@sentry/browser (incl. FeedbackAsync)36.81 kB--
@sentry/browser (incl. Metrics)27.98 kB--
@sentry/browser (incl. Logs)28.13 kB--
@sentry/browser (incl. Metrics & Logs)28.8 kB--
@sentry/react28.64 kB--
@sentry/react (incl. Tracing)47.06 kB--
@sentry/vue31.82 kB--
@sentry/vue (incl. Tracing)46.67 kB--
@sentry/svelte26.91 kB--
CDN Bundle29.28 kB--
CDN Bundle (incl. Tracing)47.2 kB--
CDN Bundle (incl. Logs, Metrics)30.65 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)48.34 kB--
CDN Bundle (incl. Replay, Logs, Metrics)69.98 kB--
CDN Bundle (incl. Tracing, Replay)84.6 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)85.66 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)90.41 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)91.5 kB--
CDN Bundle - uncompressed86.14 kB--
CDN Bundle (incl. Tracing) - uncompressed141.7 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed90.33 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed145.16 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed215.16 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed260.41 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed263.85 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed274.11 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed277.54 kB--
@sentry/nextjs (client)49.57 kB--
@sentry/sveltekit (client)45.28 kB--
@sentry/node-core60.89 kB+0.02%+8 B 🔺
@sentry/node166.03 kB+0.01%+6 B 🔺
@sentry/node - without tracing74.02 kB+0.02%+13 B 🔺
@sentry/aws-serverless108.12 kB+0.01%+5 B 🔺
@sentry/cloudflare (withSentry) - minified170.88 kB--
@sentry/cloudflare (withSentry)431.1 kB--

View base workflow run

@mydea
mydea merged commit 1b85ea3 into developMay 15, 2026
269 checks passed
@mydea
mydea deleted the fn/clean-up-resolutions branch May 15, 2026 06:34
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@mydea@chargome