Upgrading glob 13 to 14
Unknown13.0.6 → 14.0.3
Fetching 4 releases from GitHub…1 / 4
UnknownUpgrade verdict
DepDelta is still reading the notes for 3 of 4 releases, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Installs 7 packages in all (was 6).
API changes
Generated by DepDelta from published .d.ts files. Not mixed with prose notes.
- removed:
property GlobOptions.debug?: boolean - changed:
property Glob.ignore?: string | string[] | IgnoreLike → property Glob.ignore?: string | string[] | IgnoreLike | ReadonlyArray<string> - changed:
property Glob.pattern: string[] → property Glob.pattern: string[] | ReadonlyArray<string> - changed:
property GlobOptions.ignore?: string | string[] | IgnoreLike → readonly property GlobOptions.ignore?: string | string[] | IgnoreLike | ReadonlyArray<string> - added:
property GlobOptions.normalize?: boolean | Form
- changed:
constructor Ignore(ignored: string[], { nobrace, nocase, noext, noglobstar, platform }: GlobWalkerOpts) → constructor Ignore(ignored: string[], { nobrace, nocase, noext, noglobstar, normalize, platform, root, windowsPathsNoEscape, allowWindowsEscape }: GlobWalkerOpts, cwd?: Path) - added:
property Ignore.slashRoot: string
- added:
export { Form } from 'minimatch'
- removed:
method Pattern.isRegExp(): boolean - changed:
type MMPattern = string | RegExp | typeof GLOBSTAR → type MMPattern = ParseReturnFiltered - added:
method Pattern.isMatcher(): boolean - added:
type MMMatcher = Exclude<MMPattern, string | typeof GLOBSTAR>
- removed:
method MatchRecord.entries(): [Path, boolean, boolean][] - removed:
method Processor.testRegExp(e: Path, p: MMRegExp, rest: Pattern | null, absolute: boolean): void - changed:
constructor HasWalkedCache(store?: Map<string, Set<string>>) → constructor HasWalkedCache(parent?: HasWalkedCache) - changed:
method HasWalkedCache.hasWalked(target: Path, pattern: Pattern): boolean | undefined → method HasWalkedCache.hasWalked(target: Path, pattern: Pattern): boolean - changed:
property HasWalkedCache.store: Map<string, Set<string>> → property HasWalkedCache.store?: Map<string, Set<string>> - added:
method Processor.testMatcher(e: Path, p: MMMatcher, rest: Pattern | null, absolute: boolean): void - added:
property HasWalkedCache.parent?: HasWalkedCache - added:
static readonly property MatchRecord.ABSOLUTE = 2 - added:
static readonly property MatchRecord.IF_DIR = 1
- changed:
method GlobUtil.matchCheck(e: Path, ifDir: boolean): Promise<Path | undefined> → method GlobUtil.matchCheck(inPath: Path, ifDir: boolean): Promise<Path | undefined> - changed:
method GlobUtil.matchCheckSync(e: Path, ifDir: boolean): Path | undefined → method GlobUtil.matchCheckSync(inPath: Path, ifDir: boolean): Path | undefined - changed:
method GlobUtil.onResume(fn: () => any): void → method GlobUtil.onResume(fn: () => unknown): void - changed:
method GlobUtil.walkCB(target: Path, patterns: Pattern[], cb: () => any): void → method GlobUtil.walkCB(target: Path, patterns: Pattern[], cb: () => unknown): unknown - changed:
method GlobUtil.walkCB2(target: Path, patterns: Pattern[], processor: Processor, cb: () => any): any → method GlobUtil.walkCB2(target: Path, patterns: Pattern[], processor: Processor, cb: () => unknown): unknown - changed:
method GlobUtil.walkCB2Sync(target: Path, patterns: Pattern[], processor: Processor, cb: () => any): any → method GlobUtil.walkCB2Sync(target: Path, patterns: Pattern[], processor: Processor, cb: () => unknown): unknown - changed:
method GlobUtil.walkCB3(target: Path, entries: Path[], processor: Processor, cb: () => any): void → method GlobUtil.walkCB3(target: Path, entries: Path[], processorx: Processor, cb: () => unknown): void - changed:
method GlobUtil.walkCB3Sync(target: Path, entries: Path[], processor: Processor, cb: () => any): void → method GlobUtil.walkCB3Sync(target: Path, entries: Path[], processor: Processor, cb: () => unknown): void - changed:
method GlobUtil.walkCBSync(target: Path, patterns: Pattern[], cb: () => any): void → method GlobUtil.walkCBSync(target: Path, patterns: Pattern[], cb: () => unknown): unknown - changed:
method GlobWalker.walk(): Promise<Set<Result<O>>> → method GlobWalker.walk(): Promise<Result<O>[]> - changed:
method GlobWalker.walkSync(): Set<Result<O>> → method GlobWalker.walkSync(): Result<O>[] - changed:
property GlobWalker.matches: Set<Result<O>> → property GlobWalker.matches: Result<O>[] - changed:
property GlobWalkerOpts.ignore?: string | string[] | IgnoreLike → property GlobWalkerOpts.ignore?: string | string[] | IgnoreLike | ReadonlyArray<string> - changed:
type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Set<Path> : O extends GWOFileTypesFalse ? Set<string> : O extends GWOFileTypesUnset ? Set<string> : Set<Path | string> → type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Path[] : O extends GWOFileTypesFalse ? string[] : O extends GWOFileTypesUnset ? string[] : (Path | string)[] - added:
property GlobWalkerOpts.normalize?: boolean | Form
- removed:
property GlobOptions.debug?: boolean - changed:
property Glob.ignore?: string | string[] | IgnoreLike → property Glob.ignore?: string | string[] | IgnoreLike | ReadonlyArray<string> - changed:
property Glob.pattern: string[] → property Glob.pattern: string[] | ReadonlyArray<string> - changed:
property GlobOptions.ignore?: string | string[] | IgnoreLike → readonly property GlobOptions.ignore?: string | string[] | IgnoreLike | ReadonlyArray<string> - added:
property GlobOptions.normalize?: boolean | Form
- changed:
constructor Ignore(ignored: string[], { nobrace, nocase, noext, noglobstar, platform }: GlobWalkerOpts) → constructor Ignore(ignored: string[], { nobrace, nocase, noext, noglobstar, normalize, platform, root, windowsPathsNoEscape, allowWindowsEscape }: GlobWalkerOpts, cwd?: Path) - added:
property Ignore.slashRoot: string
- added:
export { Form } from 'minimatch'
- removed:
method Pattern.isRegExp(): boolean - changed:
type MMPattern = string | RegExp | typeof GLOBSTAR → type MMPattern = ParseReturnFiltered - added:
method Pattern.isMatcher(): boolean - added:
type MMMatcher = Exclude<MMPattern, string | typeof GLOBSTAR>
- removed:
method MatchRecord.entries(): [Path, boolean, boolean][] - removed:
method Processor.testRegExp(e: Path, p: MMRegExp, rest: Pattern | null, absolute: boolean): void - changed:
constructor HasWalkedCache(store?: Map<string, Set<string>>) → constructor HasWalkedCache(parent?: HasWalkedCache) - changed:
method HasWalkedCache.hasWalked(target: Path, pattern: Pattern): boolean | undefined → method HasWalkedCache.hasWalked(target: Path, pattern: Pattern): boolean - changed:
property HasWalkedCache.store: Map<string, Set<string>> → property HasWalkedCache.store?: Map<string, Set<string>> - added:
method Processor.testMatcher(e: Path, p: MMMatcher, rest: Pattern | null, absolute: boolean): void - added:
property HasWalkedCache.parent?: HasWalkedCache - added:
static readonly property MatchRecord.ABSOLUTE = 2 - added:
static readonly property MatchRecord.IF_DIR = 1
- changed:
method GlobUtil.matchCheck(e: Path, ifDir: boolean): Promise<Path | undefined> → method GlobUtil.matchCheck(inPath: Path, ifDir: boolean): Promise<Path | undefined> - changed:
method GlobUtil.matchCheckSync(e: Path, ifDir: boolean): Path | undefined → method GlobUtil.matchCheckSync(inPath: Path, ifDir: boolean): Path | undefined - changed:
method GlobUtil.onResume(fn: () => any): void → method GlobUtil.onResume(fn: () => unknown): void - changed:
method GlobUtil.walkCB(target: Path, patterns: Pattern[], cb: () => any): void → method GlobUtil.walkCB(target: Path, patterns: Pattern[], cb: () => unknown): unknown - changed:
method GlobUtil.walkCB2(target: Path, patterns: Pattern[], processor: Processor, cb: () => any): any → method GlobUtil.walkCB2(target: Path, patterns: Pattern[], processor: Processor, cb: () => unknown): unknown - changed:
method GlobUtil.walkCB2Sync(target: Path, patterns: Pattern[], processor: Processor, cb: () => any): any → method GlobUtil.walkCB2Sync(target: Path, patterns: Pattern[], processor: Processor, cb: () => unknown): unknown - changed:
method GlobUtil.walkCB3(target: Path, entries: Path[], processor: Processor, cb: () => any): void → method GlobUtil.walkCB3(target: Path, entries: Path[], processorx: Processor, cb: () => unknown): void - changed:
method GlobUtil.walkCB3Sync(target: Path, entries: Path[], processor: Processor, cb: () => any): void → method GlobUtil.walkCB3Sync(target: Path, entries: Path[], processor: Processor, cb: () => unknown): void - changed:
method GlobUtil.walkCBSync(target: Path, patterns: Pattern[], cb: () => any): void → method GlobUtil.walkCBSync(target: Path, patterns: Pattern[], cb: () => unknown): unknown - changed:
method GlobWalker.walk(): Promise<Set<Result<O>>> → method GlobWalker.walk(): Promise<Result<O>[]> - changed:
method GlobWalker.walkSync(): Set<Result<O>> → method GlobWalker.walkSync(): Result<O>[] - changed:
property GlobWalker.matches: Set<Result<O>> → property GlobWalker.matches: Result<O>[] - changed:
property GlobWalkerOpts.ignore?: string | string[] | IgnoreLike → property GlobWalkerOpts.ignore?: string | string[] | IgnoreLike | ReadonlyArray<string> - changed:
type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Set<Path> : O extends GWOFileTypesFalse ? Set<string> : O extends GWOFileTypesUnset ? Set<string> : Set<Path | string> → type Matches<O extends GlobWalkerOpts> = O extends GWOFileTypesTrue ? Path[] : O extends GWOFileTypesFalse ? string[] : O extends GWOFileTypesUnset ? string[] : (Path | string)[] - added:
property GlobWalkerOpts.normalize?: boolean | Form