Skip to content

chore: remove stale brace-expansion override - #785

Merged
jennifer-takagi merged 1 commit into
mainfrom
ktlo/prune-stale-overrides-2026-09
Sep 9, 2026
Merged

jennifer-takagi merged 1 commit into
mainfrom
ktlo/prune-stale-overrides-2026-09

Conversation

@jennifer-takagi

Copy link
Copy Markdown
Collaborator

What

Removes the stale top-level "brace-expansion": "^5.0.9" entry from overrides in package.json. The react-scanner ▸ picomatch override is kept untouched — it remains load-bearing (picomatch@2.3.1 is vulnerable, so it is pinned to ^2.3.2).

Why it's safe (from-scratch proof)

A from-scratch resolve (fresh npm install --package-lock-only in a scratch dir with the override removed) shows the transitive brace-expansion dependencies resolve to patched versions on their own:

  • 1.1.18 (under minimatch@ryansonshine/commitizen ▸ glob) — patched (>= 1.1.12)
  • 2.1.4 (under @typescript-eslint/typescript-estree) — patched (>= 2.0.2)

No brace-expansion advisory appears in npm audit, so the pin is no longer doing anything.

Audit delta

npm audit total: 0 → 0 (no regression; clean before and after).

Lockfile

The only lockfile churn is brace-expansion (and its own deps balanced-match / concat-map) de-hoisting from a single top-level copy into per-consumer nested copies. No version changes on shared keys, and no platform-optional packages pruned.

Gates

  • biome check: pass
  • typecheck (tsc --noEmit): pass
  • build (tsc): pass
  • test (vitest): 3/3 pass

🤖 Generated with Claude Code

Proven stale via from-scratch resolve: with the top-level
"brace-expansion" override removed, the transitive dependencies resolve
to patched versions on their own (1.1.18 under minimatch, 2.1.4 under
@typescript-eslint/typescript-estree). npm audit is unchanged
(0 vulnerabilities before and after). The react-scanner picomatch
override is kept — it is still load-bearing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jennifer-takagi
jennifer-takagi merged commit 8d2c9f5 into main Sep 9, 2026
1 check passed
@jennifer-takagi
jennifer-takagi deleted the ktlo/prune-stale-overrides-2026-09 branch September 9, 2026 15:25
Sign up for free to 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