Actualizar minimatch de 10.x a 11.x
Comparación de la API pública de minimatch 10.2.6 y 11.0.8, calculada automáticamente a partir de sus tipos TypeScript. Una firma modificada es un posible cambio incompatible, no una certeza.
Resumen
| Rutas de importación eliminadas | 0 |
|---|---|
| Exports eliminados | 3 |
| Firmas modificadas | 3 |
| Miembros de clases o interfaces eliminados | 9 |
| Miembros de clases o interfaces modificados | 2 |
| Nuevas deprecaciones | 0 |
| Cambios de requisitos (engines, dependencias peer) | 1 |
| Exports nuevos | 5 |
Exports eliminados
| import | export | kind | Antes |
|---|---|---|---|
minimatch | AST | class | class |
minimatch | makeRe | variable | (pattern: string, options?: MinimatchOptions | undefined): false | MMRegExp |
minimatch | MMRegExp | type | RegExp & { _src?: string | undefined; _glob?: string | undefined; } |
Firmas modificadas
| export | Antes | Despué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 · ParseReturn | false | ParseReturnFiltered | any |
minimatch · ParseReturnFiltered | string | typeof GLOBSTAR | MMRegExp | any |
Miembros de clases o interfaces eliminados
| member | import | Antes |
|---|---|---|
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 |
Miembros de clases o interfaces modificados
| member | Antes | Después |
|---|---|---|
Minimatch.set | ParseReturnFiltered[][] | any[][] |
Minimatch.parse | (pattern: string): ParseReturn | (pattern: string): any |
Nuevas deprecaciones
No se detectaron.
Cambios de requisitos (engines, dependencias peer)
| Antes | Después | |
|---|---|---|
engines.node | 18 || 20 || >=22 | — |
Exports nuevos (5)
| import | export | kind |
|---|---|---|
minimatch | Form | variable |
minimatch | PathSeps | type |
minimatch | RowShape | type |
minimatch | SplitPath | type |
minimatch | GlobstarParts | type |
Dale estos datos a tu agente de IA
Vigia es un servidor MCP gratuito: tu agente de programación verifica versiones, cambios incompatibles y vulnerabilidades antes de escribir código. Sin registro ni clave de API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Agregar a CursorAgregar a VS Code★ Estrella en GitHub
Cualquier otro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill para agentes (SKILL.md): le indica al agente cuándo usar Vigia · GitHub Action para pull requests
Preguntas frecuentes
¿Cuáles son los cambios incompatibles al actualizar minimatch de 10 a 11?
Entre minimatch 10.2.6 y 11.0.8, Vigia encontró 3 exports eliminados, 3 firmas modificadas y 11 miembros de clases o interfaces eliminados o modificados.
¿Qué quedó deprecado en minimatch 11?
0 exports o miembros quedaron marcados como deprecados en minimatch 11.0.8.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/minimatch/upgrade?from=10.2.6&to=11.0.8