Upgrading minimatch from 10.x to 11.x
Comparison of the public API of minimatch 10.2.6 and 11.0.8, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 3 |
| Changed signatures | 3 |
| Removed class or interface members | 9 |
| Changed class or interface members | 2 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 5 |
Removed exports
| import | export | kind | Before |
|---|---|---|---|
minimatch | AST | class | class |
minimatch | makeRe | variable | (pattern: string, options?: MinimatchOptions | undefined): false | MMRegExp |
minimatch | MMRegExp | type | RegExp & { _src?: string | undefined; _glob?: string | undefined; } |
Changed signatures
| export | Before | After |
|---|---|---|
minimatch · defaults | (def: MinimatchOptions): { (p: string, pattern: string, options?: MinimatchOptions | undefined): boolean; sep: Sep; GLOBSTAR: typeof GLOBSTAR; filter: (pattern: string, options?: MinimatchOptions | undefined) => (p: string) => boolean; defaults: (def: MinimatchOptions) => any; braceExpand: (pattern: string, options?: MinimatchOptions | undefined) => string[]; makeRe: (pattern: string, options?: MinimatchOptions | undefined) => false | MMRegExp; match: (list: string[], pattern: string, options?: MinimatchOptions | undefined) => string[]; AST: typeof AST; Minimatch: typeof Minimatch; escape: (s:… | (def: MinimatchOptions): { (p: string, pattern: string, options?: MinimatchOptions | undefined): boolean; sep: Sep; GLOBSTAR: typeof GLOBSTAR; filter: (pattern: string, options?: MinimatchOptions | undefined) => (p: string) => boolean; defaults: (def: MinimatchOptions) => any; braceExpand: (pattern: string, options?: MinimatchOptions | undefined) => string[]; match: (list: string[], pattern: string, options?: MinimatchOptions | undefined) => string[]; Minimatch: typeof Minimatch; escape: (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "mag… |
minimatch · ParseReturn | false | ParseReturnFiltered | any |
minimatch · ParseReturnFiltered | string | typeof GLOBSTAR | MMRegExp | any |
Removed class or interface members
| member | import | Before |
|---|---|---|
Minimatch.debug | minimatch | (..._: unknown[]): void |
Minimatch.makeRe | minimatch | (): false | MMRegExp |
Minimatch.regexp | minimatch | false | MMRegExp | null |
Minimatch.matchOne | minimatch | (file: string[], pattern: ParseReturn[], partial?: boolean | undefined): boolean |
Minimatch.partsMatch | minimatch | (a: string[], b: string[], emptyGSMatch?: boolean | undefined): false | string[] |
Minimatch.slashSplit | minimatch | (p: string): string[] |
Minimatch.levelTwoFileOptimize | minimatch | (parts: string | string[]): string[] |
MinimatchOptions.debug | minimatch | boolean | undefined |
MinimatchOptions.maxExtglobRecursion | minimatch | number | undefined |
Changed class or interface members
| member | Before | After |
|---|---|---|
Minimatch.set | ParseReturnFiltered[][] | any[][] |
Minimatch.parse | (pattern: string): ParseReturn | (pattern: string): any |
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | 18 || 20 || >=22 | — |
New exports (5)
| import | export | kind |
|---|---|---|
minimatch | Form | variable |
minimatch | PathSeps | type |
minimatch | RowShape | type |
minimatch | SplitPath | type |
minimatch | GlobstarParts | type |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading minimatch from 10 to 11?
Between minimatch 10.2.6 and 11.0.8, Vigia found 3 removed exports, 3 changed signatures and 11 removed or changed class or interface members.
What became deprecated in minimatch 11?
0 exports or members are newly marked as deprecated in minimatch 11.0.8.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/minimatch/upgrade?from=10.2.6&to=11.0.8