Skip to content

fix(security): update minimatch to patched versions#289

Closed
bierlingm wants to merge 1 commit intomain-0.6from
fix/dependabot-minimatch
Closed

fix(security): update minimatch to patched versions#289
bierlingm wants to merge 1 commit intomain-0.6from
fix/dependabot-minimatch

Conversation

@bierlingm
Copy link
Copy Markdown
Collaborator

@bierlingm bierlingm commented Mar 19, 2026

Summary

  • Uses npm update minimatch to patch all instances within their existing semver ranges
  • No override needed — all updates are patch-level within their major versions:
    • minimatch 3.1.2 → 3.1.5 (from eslint, glob, @eslint/eslintrc)
    • minimatch 5.1.6 → 5.1.9 (from readdir-glob)
    • minimatch 9.0.5 → 9.0.9 (from @vue/language-core, unplugin-vue-components)

Previous approach (override to 3.1.3) was wrong — it would have forced all 5.x and 9.x instances to 3.1.3, breaking their consumers.

Dependabot Alerts Resolved (5)

Test plan

  • npm install completes without errors
  • npm audit no longer reports minimatch vulnerabilities
  • All updates are within semver patch ranges — no breaking changes
  • CI passes

🤖 Generated with Claude Code

Uses npm update to patch all minimatch instances within their existing
semver ranges:
- minimatch 3.1.2 → 3.1.5 (from eslint, glob, @eslint/eslintrc)
- minimatch 5.1.6 → 5.1.9 (from readdir-glob)
- minimatch 9.0.5 → 9.0.9 (from @vue/language-core, unplugin-vue-components)

All updates are patch-level within their major version ranges, so no
breaking changes are expected.

Resolves Dependabot alerts:
- #151, #150, #125, #119, #117 (High): ReDoS via matchOne() combinatorial
  backtracking and nested extglobs

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bierlingm bierlingm force-pushed the fix/dependabot-minimatch branch from 6f01833 to 064e331 Compare March 19, 2026 15:44
@bierlingm bierlingm changed the title fix(security): add minimatch override for ReDoS vulnerabilities fix(security): update minimatch to patched versions Mar 19, 2026
@bierlingm
Copy link
Copy Markdown
Collaborator Author

Superseded by #287 — the clean lockfile regeneration patches all minimatch instances within their semver ranges automatically.

@bierlingm bierlingm closed this Mar 19, 2026
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