chore(deps): bump minimatch from 10.2.6 to 11.0.1
Merged
DE
13d ago+15+15+01234567890123456789-2-2-0123456789
Bumps minimatch from 10.2.6 to 11.0.1.
Changelog
Sourced from minimatch's changelog.
change log
11.0
- Match each path portion with
Matcherfrom@isaacs/nonrecursive-glob-match, in place of aRegExp. Items inMinimatch.setare now strings,Matcherobjects, orGLOBSTAR.- Remove
makeRe(),Minimatch#regexp, and theMMRegExptype.- Remove the
ASTclass.- Remove the
maxExtglobRecursionoption.- An empty path portion, such as the last one in
a/b/, only matches an empty pattern portion. Soa/b/no longer matchesa/b/?(x)ora/b/*(x), the same asa/b/*.- Add the
normalizeoption, to normalize unicode in the pattern and in each portion of the tested path.- Remove the
debugoption and thedebug()method.- Remove the
matchOne(),slashSplit(), andlevelTwoFileOptimize()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
partialmatching 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.partialmatching 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. SoC:/a/../../xno longer matchesxor/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:/...andc:/....- At optimization level 2, stop splitting
**/..portions once there arebraceExpandMaxpatterns, and do not dedupe sets of more than 1000 patterns. Before, a short pattern could take minutes to compile.minimatch()keeps the 256Minimatchobjects 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 theMatchers for the rows that are merged are not made.10.2
... (truncated)
Commits
47afe8811.0.177a0f5climit **/.. optimization pass to avoid quadratic explosion6f9f13111.0.002dcbe4update oxlint47b5d1ahandle //?/UNC/host/share long UNC forms05bce27do not optimize out the windows rootba01806document that a / takes priority over extglob sectionse5c04b4correct 'partial' mode matching of multiple-** patternscff11d8compare UNC host/share case-insensitivelyc86670ebenchmark scripts- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Summary by cubic
Bumps minimatch in packages/mcp-server from 10.2.6 to 11.0.1, a major release with breaking changes.
Migration
- Confirm
mcp-servercode doesn't use removed APIs:makeRe(),Minimatch#regexp, theMMRegExptype,AST, or thedebugoption. - Check that empty path portions (like
a/b/) no longer matching extglob patterns is acceptable. - The lockfile was trimmed to only the minimatch change, dropping unrelated re-resolved packages.