Skip to content

fix(deps): override minimatch for typescript-estree to ^11.0.1 - #240

Merged
indigo423 merged 1 commit into
mainfrom
fix/minimatch-ghsa-g3hv
Nov 6, 2026
Merged

indigo423 merged 1 commit into
mainfrom
fix/minimatch-ghsa-g3hv

Conversation

@indigo423

Copy link
Copy Markdown
Collaborator

Fixes the failing Dependabot security update run https://github.com/no42-org/CoolModFiles/actions/runs/41845781370.

GHSA-g3hv-75wg-m249 (moderate) affects minimatch >=7.0.0 <11.0.1. The only affected copy is minimatch@10.2.5 under @typescript-eslint/typescript-estree. That package pins ^10.2.2, even in its latest release (8.72.1). Dependabot cannot find an update path, so the job errors.

This adds a scoped npm override @typescript-eslint/typescript-estree > minimatch: ^11.0.1 (resolves 11.0.5). typescript-estree only uses the named minimatch export, which 11.x keeps. The minimatch@3.1.5 copies used by eslint are outside the advisory range and are unchanged.

Dev-only dependency. No runtime impact.

Verification:

  • npm audit: found 0 vulnerabilities (was 8 moderate)
  • make verify: lint, typecheck, unit tests, audit and build pass

Drop the override once typescript-estree depends on minimatch 11.

🤖 Generated with Claude Code

https://claude.ai/code/session_0197CGJEYJkMGQVfxFvFmSup

GHSA-g3hv-75wg-m249 (moderate, ReDoS via globparts amplification)
affects minimatch >=7.0.0 <11.0.1. The only affected copy is
minimatch@10.2.5 under @typescript-eslint/typescript-estree, which
pins ^10.2.2 even in its latest release. Dependabot's security update
fails because no update path resolves a patched version.

Scope the override to typescript-estree. It only uses the named
minimatch export, which 11.x keeps. The minimatch@3.1.5 copies used
by eslint are outside the advisory range and stay untouched.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ronny Trommer <ronny@no42.org>
@indigo423
indigo423 merged commit 4576c2a into main Nov 6, 2026
4 checks passed
@indigo423
indigo423 deleted the fix/minimatch-ghsa-g3hv branch November 6, 2026 22:48
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.

1 participant