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