Skip to content

Fix vulnerable minimatch under Jest glob - #28

Merged
tidy-dev merged 1 commit into
mainfrom
tidy-dev-fix-minimatch-security
Nov 4, 2026
Merged

tidy-dev merged 1 commit into
mainfrom
tidy-dev-fix-minimatch-security

Conversation

@tidy-dev

@tidy-dev tidy-dev commented Nov 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Override minimatch only for glob@10, resolving the Jest dependency path to minimatch@11.0.2.
  • Keep unrelated minimatch@3.1.5 copies unchanged.

Validation

  • npm ci --ignore-scripts
  • npm test -- --runInBand (42 tests passed)

Keep Jest's glob dependency on a fixed minimatch release without changing the unrelated minimatch 3 copies.\n\nCo-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@tidy-dev
tidy-dev requested a review from a team as a code owner November 4, 2026 18:33
Copilot AI dynamic review requested due to automatic review settings November 4, 2026 18:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The review records no active issues, with the dependency override and lockfile updates scoped to the intended Jest/glob path while unrelated minimatch dependencies remain unchanged.

No open issues 🎉

What changed in this PR

Updates npm dependency resolution so Jest’s glob@10 uses the non-vulnerable minimatch@11.0.2, while preserving unrelated minimatch@3.1.5 dependencies.

Changes:

  • Adds a scoped glob@^10 override for minimatch 11.x.
  • Regenerates the lockfile with minimatch@11.0.2 and its transitive dependencies.
  • Leaves older glob@7 and minimatch@3.1.5 dependency paths unchanged.
File Description
package.json Adds the scoped glob@^10 minimatch override.
package-lock.json Records the resolved minimatch@11.0.2 dependency tree while preserving unrelated versions.

Review effort: Lite (auto)

@tidy-dev
tidy-dev merged commit 1e8b881 into main Nov 4, 2026
6 of 7 checks passed
@tidy-dev
tidy-dev deleted the tidy-dev-fix-minimatch-security branch November 4, 2026 19:02
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.

3 participants