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 |
हटाए गए एक्सपोर्ट
| 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 में क्या डिप्रिकेट हुआ?
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