Skip to content

Bumping minimatch *10* to *10.1.2* to avoid dependencies with critical vulnerabilities#450

Merged
JounQin merged 2 commits intoun-ts:masterfrom
andrewgaun:patch-1
Feb 26, 2026
Merged

Bumping minimatch *10* to *10.1.2* to avoid dependencies with critical vulnerabilities#450
JounQin merged 2 commits intoun-ts:masterfrom
andrewgaun:patch-1

Conversation

@andrewgaun
Copy link
Copy Markdown
Contributor

@andrewgaun andrewgaun commented Feb 4, 2026

Updating the minimum minimatch 10 version to 10.1.2 which updates a dependency with a critical vulnerabilities.

PS Sorry about recreating this PR three times 😞

┌─────────────────────┬────────────────────────────────────────────────────────┐
│ high                │ @isaacs/brace-expansion has Uncontrolled Resource      │
│                     │ Consumption                                            │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Package             │ @isaacs/brace-expansion                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Vulnerable versions │ <=5.0.0                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Patched versions    │ >=5.0.1                                                │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ Paths               │ .>neostandard>eslint-plugin-import-                    │
│                     │ x>minimatch>@isaacs/brace-expansion                    │
├─────────────────────┼────────────────────────────────────────────────────────┤
│ More info           │ https://github.com/advisories/GHSA-7h2j-956f-4vf2      │
└─────────────────────┴────────────────────────────────────────────────────────┘

Important

Update minimatch to ^10.1.2 in package.json to fix a critical vulnerability in @isaacs/brace-expansion.

  • Dependencies:
    • Update minimatch version in package.json from ^10.0.1 to ^10.1.2 to address a critical vulnerability in @isaacs/brace-expansion.
  • Changeset:
    • Add .changeset/clever-terms-retire.md to document the dependency update and its purpose.

This description was created by Ellipsis for ad34071. You can customize this summary. It will automatically update as commits are pushed.

Summary by CodeRabbit

  • Bug Fixes
    • Addressed a critical security vulnerability by updating the minimatch dependency to version 10.1.2. This patch release resolves a known issue in an underlying package, strengthening application security, reducing exposure to potential exploits, and improving overall safety for users. No public APIs or exported interfaces were changed.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 4, 2026

🦋 Changeset detected

Latest commit: 61d2d12

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-import-x Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Copy Markdown

@ellipsis-dev ellipsis-dev Bot left a comment

Choose a reason for hiding this comment

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

Important

Looks good to me! 👍

Reviewed everything up to ad34071 in 9 seconds. Click for details.
  • Reviewed 26 lines of code in 2 files
  • Skipped 1 files when reviewing.
  • Skipped posting 0 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.

Workflow ID: wflow_QuoV5jFYXNwTemsu

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Feb 4, 2026

📝 Walkthrough

Walkthrough

A changeset entry and a package.json dependency update that bumps minimatch to ^10.1.2 to address a vulnerability in the @isaacs/brace-expansion dependency (GHSA-7h2j-956f-4vf2).

Changes

Cohort / File(s) Summary
Changeset & Manifest
/.changeset/clever-terms-retire.md, package.json
Adds a changeset and updates the minimatch dependency constraint from `^9.0.3

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • JounQin

Poem

🐰 A tiny hop to patch the seam,
Minimatch patched, secure the stream,
Brace-expansion tucked away,
This rabbit cheers for safer day,
🍃🔧✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly and clearly summarizes the main change: bumping minimatch version 10 to 10.1.2 to address a critical vulnerability, which aligns with the changeset and package.json modifications.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

No actionable comments were generated in the recent review. 🎉


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@package.json`:
- Line 84: The package.json dependency for "minimatch" incorrectly references a
non-existent version and may pull a vulnerable `@isaacs/brace-expansion`; update
the "minimatch" version constraint to a published release that transitively
depends on `@isaacs/brace-expansion` >= 5.0.1 (e.g., change the constraint to the
latest 10.0.3 or a safe range) or add a package-manager specific override/patch
(npm overrides, yarn resolutions, or pnpm overrides) to force
`@isaacs/brace-expansion`@>=5.0.1; modify the entry for "minimatch" and add the
override/resolution block in package.json so the dependency tree no longer
includes `@isaacs/brace-expansion`@5.0.0.

Comment thread package.json
Copy link
Copy Markdown
Collaborator

@SukkaW SukkaW left a comment

Choose a reason for hiding this comment

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

I have approved the workflow to run. If all tests passed, then it should be OK to merge.

Copy link
Copy Markdown
Collaborator

@SukkaW SukkaW left a comment

Choose a reason for hiding this comment

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

Since the CI failed, I am blocking the PR.

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Feb 9, 2026

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@andrewgaun andrewgaun requested a review from SukkaW February 9, 2026 16:20
@andrewgaun
Copy link
Copy Markdown
Contributor Author

First time using yarn 😅

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Feb 12, 2026

Open in StackBlitz

npm i https://pkg.pr.new/eslint-plugin-import-x@450

commit: 61d2d12

@50bbx
Copy link
Copy Markdown

50bbx commented Feb 19, 2026

The update should go to version 10.2.1 because of CVE-2026-26996

@andrewgaun
Copy link
Copy Markdown
Contributor Author

@SukkaW sorry about the back and forth. Never used yarn before and forgot to update the lock file before the original request 😅

@JounQin JounQin enabled auto-merge (squash) February 26, 2026 09:54
@JounQin JounQin disabled auto-merge February 26, 2026 09:55
@JounQin JounQin merged commit a51be0f into un-ts:master Feb 26, 2026
46 checks passed
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.

4 participants