Vigia

Passer de find-up 7.x à 8.x

Comparaison de l’API publique de find-up 7.0.0 et 8.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.

Résumé

Chemins d’importation supprimés0
Exports supprimés2
Signatures modifiées5
Membres de classes ou d’interfaces supprimés0
Membres de classes ou d’interfaces modifiés0
Nouvelles dépréciations0
Changements d’exigences (engines, dépendances peer)1
Nouveaux exports3

Exports supprimés

importexportkindAvant
find-uppathExistsfunction(path: string): Promise<boolean>
find-uppathExistsSyncfunction(path: string): boolean

Signatures modifiées

exportAvantAprès
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[]

Membres de classes ou d’interfaces supprimés

Aucun détecté.

Membres de classes ou d’interfaces modifiés

Aucun détecté.

Nouvelles dépréciations

Aucun détecté.

Changements d’exigences (engines, dépendances peer)

AvantAprès
engines.node>=18>=20
Nouveaux exports (3)
importexportkind
find-upfindDownfunction
find-upfindDownSyncfunction
find-upFindDownOptionstype

Questions fréquentes

Quels sont les changements incompatibles en passant de find-up 7 à 8 ?

Entre find-up 7.0.0 et 8.0.0, Vigia a trouvé 2 exports supprimés, 5 signatures modifiées et 0 membres de classes ou d’interfaces supprimés ou modifiés.

Qu’est-ce qui a été déprécié dans find-up 8 ?

0 exports ou membres sont désormais marqués comme dépréciés dans find-up 8.0.0.

Pour les agents

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