Vigia

Оновлення find-up з 7.x до 8.x

Порівняння публічного API find-up 7.0.0 і 8.0.0, обчислене автоматично за їхніми типами TypeScript. Змінена сигнатура — можлива несумісна зміна, а не гарантія.

Підсумок

Видалені шляхи імпорту0
Видалені експорти2
Змінені сигнатури5
Видалені члени класів або інтерфейсів0
Змінені члени класів або інтерфейсів0
Нові застарівання0
Зміни вимог (engines, peer-залежності)1
Нові експорти3

Видалені експорти

importexportkindБуло
find-uppathExistsfunction(path: string): Promise<boolean>
find-uppathExistsSyncfunction(path: string): boolean

Змінені сигнатури

exportБулоСтало
find-up · findUp(name: string | readonly string[], options?: any): Promise<string | undefined> | (matcher: (directory: string) => Match | Promise<Match>, options?: any): Promise<string | undefined>(name: string | readonly string[], options?: Options | undefined): Promise<string | undefined> | (matcher: (directory: string) => Match | Promise<Match>, options?: Options | undefined): Promise<string | undefined>
find-up · Optionsany{ readonly stopAt?: string | undefined; readonly type?: "file" | "directory" | "both" | undefined; readonly limit?: number | undefined; } & Omit<LocatePathOptions, "type">
find-up · findUpSync(name: string | readonly string[], options?: any): string | undefined | (matcher: (directory: string) => Match, options?: any): string | undefined(name: string | readonly string[], options?: Options | undefined): string | undefined | (matcher: (directory: string) => Match, options?: Options | undefined): string | undefined
find-up · findUpMultiple(name: string | readonly string[], options?: any): Promise<string[]> | (matcher: (directory: string) => Match | Promise<Match>, options?: any): Promise<string[]>(name: string | readonly string[], options?: Options | undefined): Promise<string[]> | (matcher: (directory: string) => Match | Promise<Match>, options?: Options | undefined): Promise<string[]>
find-up · findUpMultipleSync(name: string | readonly string[], options?: any): string[] | (matcher: (directory: string) => Match, options?: any): string[](name: string | readonly string[], options?: Options | undefined): string[] | (matcher: (directory: string) => Match, options?: Options | undefined): string[]

Видалені члени класів або інтерфейсів

Не виявлено.

Змінені члени класів або інтерфейсів

Не виявлено.

Нові застарівання

Не виявлено.

Зміни вимог (engines, peer-залежності)

БулоСтало
engines.node>=18>=20
Нові експорти (3)
importexportkind
find-upfindDownfunction
find-upfindDownSyncfunction
find-upFindDownOptionstype

Поширені запитання

Які несумісні зміни під час оновлення find-up з 7 до 8?

Між find-up 7.0.0 і 8.0.0 Vigia знайшла видалених експортів: 2, змінених сигнатур: 5, видалених або змінених членів класів та інтерфейсів: 0.

Що застаріло в find-up 8?

У find-up 8.0.0 новими застарілими позначено експортів або членів: 0.

Для агентів

GET https://vigia.coredls.cloud/v1/packages/npm/find-up/upgrade?from=7.0.0&to=8.0.0