Vigia

find-up を 7.x から 8.x へアップグレード

find-up 7.0.0 と 8.0.0 の公開 API を、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