Vigia

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 paths0
Removed exports3
Changed signatures3
Removed class or interface members9
Changed class or interface members2
Newly deprecated0
Requirement changes (engines, peer dependencies)1
New exports5

Removed exports

importexportkindBefore
minimatchASTclassclass
minimatchmakeRevariable(pattern: string, options?: MinimatchOptions | undefined): false | MMRegExp
minimatchMMRegExptypeRegExp & { _src?: string | undefined; _glob?: string | undefined; }

Changed signatures

exportBeforeAfter
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 · ParseReturnfalse | ParseReturnFilteredany
minimatch · ParseReturnFilteredstring | typeof GLOBSTAR | MMRegExpany

Removed class or interface members

memberimportBefore
Minimatch.debugminimatch(..._: unknown[]): void
Minimatch.makeReminimatch(): false | MMRegExp
Minimatch.regexpminimatchfalse | MMRegExp | null
Minimatch.matchOneminimatch(file: string[], pattern: ParseReturn[], partial?: boolean | undefined): boolean
Minimatch.partsMatchminimatch(a: string[], b: string[], emptyGSMatch?: boolean | undefined): false | string[]
Minimatch.slashSplitminimatch(p: string): string[]
Minimatch.levelTwoFileOptimizeminimatch(parts: string | string[]): string[]
MinimatchOptions.debugminimatchboolean | undefined
MinimatchOptions.maxExtglobRecursionminimatchnumber | undefined

Changed class or interface members

memberBeforeAfter
Minimatch.setParseReturnFiltered[][]any[][]
Minimatch.parse(pattern: string): ParseReturn(pattern: string): any

Newly deprecated

None detected.

Requirement changes (engines, peer dependencies)

BeforeAfter
engines.node18 || 20 || >=22—
New exports (5)
importexportkind
minimatchFormvariable
minimatchPathSepstype
minimatchRowShapetype
minimatchSplitPathtype
minimatchGlobstarPartstype

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