Vigia

Passer de minimatch 10.x à 11.x

Comparaison de l’API publique de minimatch 10.2.6 et 11.0.8, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.

Résumé

Chemins d’importation supprimés0
Exports supprimés3
Signatures modifiées3
Membres de classes ou d’interfaces supprimés9
Membres de classes ou d’interfaces modifiés2
Nouvelles dépréciations0
Changements d’exigences (engines, dépendances peer)1
Nouveaux exports5

Exports supprimés

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

Signatures modifiées

exportAvantAprès
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

Membres de classes ou d’interfaces supprimés

memberimportAvant
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

Membres de classes ou d’interfaces modifiés

memberAvantAprès
Minimatch.setParseReturnFiltered[][]any[][]
Minimatch.parse(pattern: string): ParseReturn(pattern: string): any

Nouvelles dépréciations

Aucun détecté.

Changements d’exigences (engines, dépendances peer)

AvantAprès
engines.node18 || 20 || >=22—
Nouveaux exports (5)
importexportkind
minimatchFormvariable
minimatchPathSepstype
minimatchRowShapetype
minimatchSplitPathtype
minimatchGlobstarPartstype

Donnez ces données à votre agent IA

Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub

Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests

Questions fréquentes

Quels sont les changements incompatibles en passant de minimatch 10 à 11 ?

Entre minimatch 10.2.6 et 11.0.8, Vigia a trouvé 3 exports supprimés, 3 signatures modifiées et 11 membres de classes ou d’interfaces supprimés ou modifiés.

Qu’est-ce qui a été déprécié dans minimatch 11 ?

0 exports ou membres sont désormais marqués comme dépréciés dans minimatch 11.0.8.

Pour les agents

GET https://vigia.coredls.cloud/v1/packages/npm/minimatch/upgrade?from=10.2.6&to=11.0.8