Upgrading minimatch from 9.x to 10.x
Comparison of the public API of minimatch 9.0.9 and 10.2.6, 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 | 0 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 2 |
| Newly deprecated | 1 |
| Requirement changes (engines, peer dependencies) | 1 |
| New exports | 2 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
minimatch · escape | (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape"> | undefined): string | (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "magicalBraces"> | undefined): string |
minimatch · unescape | (s: string, { windowsPathsNoEscape, }?: Pick<MinimatchOptions, "windowsPathsNoEscape"> | undefined): string | (s: string, { windowsPathsNoEscape, magicalBraces, }?: Pick<MinimatchOptions, "windowsPathsNoEscape" | "magicalBraces"> | undefined): string |
Removed class or interface members
None detected.
Changed class or interface members
| member | Before | After |
|---|---|---|
AST.toJSON | (): any[] | (): unknown[] |
Minimatch.debug | (..._: any[]): void | (..._: unknown[]): void |
Newly deprecated
| export | @deprecated |
|---|---|
minimatch · MinimatchOptions.allowWindowsEscape | — |
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.node | >=16 || 14 >=14.17 | 18 || 20 || >=22 |
New exports (2)
| import | export | kind |
|---|---|---|
minimatch | Sep | type |
minimatch | Platform | type |
Frequently asked questions
What are the breaking changes when upgrading minimatch from 9 to 10?
Between minimatch 9.0.9 and 10.2.6, Vigia found 0 removed exports, 2 changed signatures and 2 removed or changed class or interface members.
What became deprecated in minimatch 10?
1 exports or members are newly marked as deprecated in minimatch 10.2.6.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/minimatch/upgrade?from=9.0.9&to=10.2.6