Skip to content

fix(deps): force minimatch >= 11.0.9 to resolve security alert - #943

Closed
davidhu2000 wants to merge 1 commit into
mainfrom
fix/minimatch-alert
Closed

davidhu2000 wants to merge 1 commit into
mainfrom
fix/minimatch-alert

Conversation

@davidhu2000

Copy link
Copy Markdown
Owner

Why

Dependabot alert #274 flags minimatch >= 7.0.0, < 11.0.1 (DoS via globparts amplification). Dependabot can't open a fix PR for it: no patched 9.x or 10.x release exists, and the parents still declare old ranges even at their latest versions:

  • glob@13.0.x (jest, react-docgen-typescript plugin) → minimatch@^10.2.2
  • test-exclude@7.0.2 (babel-plugin-istanbul) → glob@^10 → minimatch@^9.0.4, and test-exclude@8.0.0 still needs minimatch@^10.2.2
  • @typescript-eslint/typescript-estree@8.69.0 (eslint-plugin-storybook, eslint-plugin-testing-library) → minimatch@^10.2.2

This adds yarn resolutions that move minimatch@^9.0.4 and minimatch@^10.2.2 to ^11.0.9. The lockfile is now left with only 11.0.9 and 3.1.5 (from eslint-plugin-react, outside the vulnerable range). All of these packages are dev-only.

Proof

Local run with the overridden minimatch:

  • yarn run lint --max-warnings=0: passed
  • yarn run test --coverage: 116/116 tests passed, coverage collected (this runs the test-exclude/glob path)
  • yarn run build, yarn run build:demo, yarn run build-storybook: all succeeded

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davidhu2000

Copy link
Copy Markdown
Owner Author

Closing: not using resolutions. Waiting for jest / test-exclude to move to minimatch 11. Alert is dev-only.

@davidhu2000
davidhu2000 deleted the fix/minimatch-alert branch November 20, 2026 18:56
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