Aktualizacja minimatch z 10.x do 11.x
Porównanie publicznego API minimatch 10.2.6 i 11.0.8, obliczone automatycznie na podstawie typów TypeScript. Zmieniona sygnatura to możliwa zmiana niekompatybilna, a nie pewność.
Podsumowanie
| Usunięte ścieżki importu | 0 |
|---|---|
| Usunięte eksporty | 3 |
| Zmienione sygnatury | 3 |
| Usunięte składowe klas lub interfejsów | 9 |
| Zmienione składowe klas lub interfejsów | 2 |
| Nowo wycofane | 0 |
| Zmiany wymagań (engines, zależności peer) | 1 |
| Nowe eksporty | 5 |
Usunięte eksporty
| import | export | kind | Przed |
|---|---|---|---|
minimatch | AST | class | class |
minimatch | makeRe | variable | (pattern: string, options?: MinimatchOptions | undefined): false | MMRegExp |
minimatch | MMRegExp | type | RegExp & { _src?: string | undefined; _glob?: string | undefined; } |
Zmienione sygnatury
| export | Przed | Po |
|---|---|---|
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 |
Usunięte składowe klas lub interfejsów
| member | import | Przed |
|---|---|---|
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 |
Zmienione składowe klas lub interfejsów
| member | Przed | Po |
|---|---|---|
Minimatch.set | ParseReturnFiltered[][] | any[][] |
Minimatch.parse | (pattern: string): ParseReturn | (pattern: string): any |
Nowo wycofane
Nie wykryto.
Zmiany wymagań (engines, zależności peer)
| Przed | Po | |
|---|---|---|
engines.node | 18 || 20 || >=22 | — |
Nowe eksporty (5)
| import | export | kind |
|---|---|---|
minimatch | Form | variable |
minimatch | PathSeps | type |
minimatch | RowShape | type |
minimatch | SplitPath | type |
minimatch | GlobstarParts | type |
Przekaż te dane swojemu agentowi AI
Vigia to darmowy serwer MCP: Twój agent programistyczny sprawdza wersje, zmiany łamiące zgodność i podatności, zanim napisze kod. Bez rejestracji i klucza API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Dodaj do CursorDodaj do VS Code★ Gwiazdka na GitHubie
Dowolny inny klient MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill dla agentów (SKILL.md): mówi agentowi, kiedy używać Vigii · GitHub Action dla pull requestów
Najczęściej zadawane pytania
Jakie są zmiany niekompatybilne przy aktualizacji minimatch z 10 do 11?
Między minimatch 10.2.6 a 11.0.8 Vigia znalazła 3 usuniętych eksportów, 3 zmienionych sygnatur i 11 usuniętych lub zmienionych składowych klas lub interfejsów.
Co zostało wycofane w minimatch 11?
0 eksportów lub składowych oznaczono w minimatch 11.0.8 jako wycofane.
Dla agentów
GET https://vigia.coredls.cloud/v1/packages/npm/minimatch/upgrade?from=10.2.6&to=11.0.8