Skip to content

build(deps): bump minimatch from 10.2.5 to 11.0.1 - #495

Merged
MarshallOfSound merged 1 commit into
mainfrom
dependabot/npm_and_yarn/minimatch-11.0.1
Nov 1, 2026
Merged

MarshallOfSound merged 1 commit into
mainfrom
dependabot/npm_and_yarn/minimatch-11.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026

Copy link
Copy Markdown
Contributor

Bumps minimatch from 10.2.5 to 11.0.1.

Changelog

Sourced from minimatch's changelog.

change log

11.0

  • Match each path portion with Matcher from @isaacs/nonrecursive-glob-match, in place of a RegExp. Items in Minimatch.set are now strings, Matcher objects, or GLOBSTAR.
  • Remove makeRe(), Minimatch#regexp, and the MMRegExp type.
  • Remove the AST class.
  • Remove the maxExtglobRecursion option.
  • An empty path portion, such as the last one in a/b/, only matches an empty pattern portion. So a/b/ no longer matches a/b/?(x) or a/b/*(x), the same as a/b/*.
  • Add the normalize option, to normalize unicode in the pattern and in each portion of the tested path.
  • Remove the debug option and the debug() method.
  • Remove the matchOne(), slashSplit(), and levelTwoFileOptimize() methods. They are internal now.
  • Fix patterns with more than one ** and sections of different lengths between them, such as **/a/b/c/**/d/**, which failed to match some paths since 10.2.3.
  • Fix partial matching of patterns with **, which since 10.2.3 matched some paths under a dot portion that ** can not walk, and did not match some paths that end in the pattern's last portion.
  • partial matching of patterns with many ** no longer takes exponential time.
  • On Windows, a .. no longer removes the drive letter, or the host and share of a UNC path, at the start of a pattern or (at optimization level 2) a path. So C:/a/../../x no longer matches x or /x.
  • On Windows, compare the host and share of UNC paths like //host/share/... case-insensitively, the same as drive letters.
  • On Windows, long UNC paths like //?/UNC/host/share/... match //host/share/... and vice versa, the same as //?/c:/... and c:/....
  • At optimization level 2, stop splitting **/.. portions once there are braceExpandMax patterns, and do not dedupe sets of more than 1000 patterns. Before, a short pattern could take minutes to compile.
  • minimatch() keeps the 256 Minimatch objects that it used most recently, so it does not compile the same pattern again.
  • Faster to compile brace patterns that make rows that are merged, such as **/*.{png,jpg,gif}, because the Matchers for the rows that are merged are not made.

10.2

... (truncated)

Commits
  • 47afe88 11.0.1
  • 77a0f5c limit **/.. optimization pass to avoid quadratic explosion
  • 6f9f131 11.0.0
  • 02dcbe4 update oxlint
  • 47b5d1a handle //?/UNC/host/share long UNC forms
  • 05bce27 do not optimize out the windows root
  • ba01806 document that a / takes priority over extglob sections
  • e5c04b4 correct 'partial' mode matching of multiple-** patterns
  • cff11d8 compare UNC host/share case-insensitively
  • c86670e benchmark scripts
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.5 to 11.0.1.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v10.2.5...v11.0.1)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 11.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 1, 2026 09:26
@dependabot dependabot Bot added the javascript Pull requests that update Javascript code label Nov 1, 2026
@socket-security

socket-security Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedminimatch@​11.0.110010010088100

View full report

@socket-security

socket-security Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • @isaacs/nonrecursive-glob-match@1.0.3
  • minimatch@11.0.1

View full report

@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) November 1, 2026 09:26
@MarshallOfSound

Copy link
Copy Markdown
Member

@SocketSecurity ignore-all

@MarshallOfSound
MarshallOfSound merged commit b99ff6b into main Nov 1, 2026
10 checks passed
@MarshallOfSound
MarshallOfSound deleted the dependabot/npm_and_yarn/minimatch-11.0.1 branch November 1, 2026 09:27

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I reviewed this PR and didn't find any bugs. Because it's a major-version bump of a runtime dependency that rewrites how matching works and adds a new transitive package, a maintainer should still take a look.

What was reviewed:

  • The minimatch call sites in src/asar.ts (lines 2, 28, 159) and benchmark/profile-pack.ts. They use the named minimatch import and the matchBase option. The v11 changelog removes neither, and the code doesn't use any of the removed APIs (makeRe, regexp, AST, debug, matchOne).
  • The v11 behavior changes that could still affect the --unpack / --unpack-dir globs: matching now uses Matcher objects instead of RegExp, a/b/ no longer matches ?(x)/*(x), and Windows UNC and .. handling changed.
  • yarn.lock: the new @ isaacs/nonrecursive-glob-match@ 1.0.3 entry and the merged brace-expansion 5.0.12 range. minimatch 10.2.5 stays in the lockfile for glob.
Extended reasoning...

The change bumps the runtime dependency minimatch from ^10.0.1 to ^11.0.1 in package.json and updates yarn.lock to match. No source files change. Through the new minimatch, the lockfile adds @ isaacs/nonrecursive-glob-match@ 1.0.3, a package new to this repository, which is a supply-chain surface worth a human check. I didn't approve for three reasons: v11 replaces the matching engine behind asar's unpack globs, the repo's CODEOWNERS file assigns every path to a code-owner team, and node_modules isn't installed in this checkout, so I couldn't run the tests against v11.

claude Bot pushed a commit that referenced this pull request Nov 1, 2026
Resolve conflicts after dependabot's minimatch 11.0.1 bump (#495):
keep glob ^14.0.3 on top of main's minimatch ^11.0.1, and regenerate
yarn.lock from main's version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WB5GaFQJxRHH5bzvuTCziJ
@claude claude Bot mentioned this pull request Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant