ترقية find-up من 7.x إلى 8.x
مقارنة الواجهة العامة لـ find-up بين 7.0.0 و8.0.0، محسوبة تلقائيًا من أنواع TypeScript. التوقيع المعدّل تغيير محتمل غير متوافق، وليس أمرًا مؤكدًا.
الملخص
| مسارات الاستيراد المحذوفة | 0 |
|---|---|
| الصادرات المحذوفة | 2 |
| التوقيعات المعدّلة | 5 |
| أعضاء الأصناف أو الواجهات المحذوفة | 0 |
| أعضاء الأصناف أو الواجهات المعدّلة | 0 |
| موقوفة حديثًا | 0 |
| تغييرات المتطلبات (engines واعتماديات peer) | 1 |
| صادرات جديدة | 3 |
الصادرات المحذوفة
| import | export | kind | قبل |
|---|---|---|---|
find-up | pathExists | function | (path: string): Promise<boolean> |
find-up | pathExistsSync | function | (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 · Options | any | { 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)
| import | export | kind |
|---|---|---|
find-up | findDown | function |
find-up | findDownSync | function |
find-up | FindDownOptions | type |
الأسئلة الشائعة
ما التغييرات غير المتوافقة عند ترقية find-up من 7 إلى 8؟
بين find-up 7.0.0 و8.0.0 وجد Vigia عدد 2 من الصادرات المحذوفة، و5 من التوقيعات المعدّلة، و0 من أعضاء الأصناف أو الواجهات المحذوفة أو المعدّلة.
ما الذي أصبح موقوفًا في find-up 8؟
عُلِّم 0 من الصادرات أو الأعضاء حديثًا على أنها موقوفة في find-up 8.0.0.
للوكلاء
GET https://vigia.coredls.cloud/v1/packages/npm/find-up/upgrade?from=7.0.0&to=8.0.0