react-native-uuid को 2.x से 3.x पर अपग्रेड करना
react-native-uuid 2.0.4 और 3.0.0 के सार्वजनिक API की तुलना, उनके TypeScript टाइप से अपने-आप निकाली गई। बदला हुआ सिग्नेचर संभावित असंगत बदलाव है, निश्चितता नहीं।
सारांश
| हटाए गए इम्पोर्ट पाथ | 0 |
|---|---|
| हटाए गए एक्सपोर्ट | 0 |
| बदले गए सिग्नेचर | 2 |
| क्लास या इंटरफ़ेस के हटाए गए सदस्य | 0 |
| क्लास या इंटरफ़ेस के बदले गए सदस्य | 0 |
| नए डिप्रिकेटेड | 0 |
| आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ) | 3 |
| नए एक्सपोर्ट | 27 |
हटाए गए एक्सपोर्ट
कुछ नहीं मिला।
बदले गए सिग्नेचर
| export | पहले | बाद में |
|---|---|---|
react-native-uuid · default | { parse: (s: string, buf?: number[] | undefined, offset?: number | undefined) => number[]; unparse: (buf: number[], offset?: number | undefined) => string; validate: (uuid: string) => boolean; version: (uuid: string) => number; v1: (options?: { node: number[]; clockseq: number; msecs: number; nsecs: number; random: number[]; rng: () => number[]; } | undefined, buf?: Uint8Array<ArrayBufferLike> | undefined, offset?: number | undefined) => string | Uint8Array<ArrayBufferLike>; v3: GenerateUUID; v4: { (options?: string | V4Options | undefined, buf?: undefined, offset?: number | undefined): string… | { parse: <T extends number[] | Uint8Array = number[]>(uuid: string, buf?: T | undefined, offset?: number | undefined) => T; stringify: (arr: ArrayLike<number>, offset?: number | undefined) => string; unparse: (buf: ArrayLike<number>, offset?: number | undefined) => string; validate: (uuid: unknown) => uuid is string; version: (uuid: string) => number; rng: () => Uint8Array<ArrayBufferLike>; randomSource: () => "crypto" | "native" | "Math.random"; v1: { (options?: V1Options | undefined, buf?: undefined, offset?: number | undefined): string; <T extends UUIDBuffer>(options: V1Options | undefined,… |
react-native-uuid · GenerateUUID | (value: string | Uint8Array<ArrayBufferLike>, namespace: string | number[], buf?: number[] | undefined, offset?: number | undefined) => string | number[] | interface |
क्लास या इंटरफ़ेस के हटाए गए सदस्य
कुछ नहीं मिला।
क्लास या इंटरफ़ेस के बदले गए सदस्य
कुछ नहीं मिला।
नए डिप्रिकेटेड
कुछ नहीं मिला।
आवश्यकताओं में बदलाव (engines, peer निर्भरताएँ)
| पहले | बाद में | |
|---|---|---|
engines.npm | >=9.0.0 | >=10.0.0 |
engines.node | >=18.0.0 | >=22.0.0 |
peerDependencies.react-native | — | >=0.74.0 |
नए एक्सपोर्ट (27)
| import | export | kind |
|---|---|---|
react-native-uuid | v1 | function |
react-native-uuid | v3 | variable |
react-native-uuid | v4 | function |
react-native-uuid | v5 | variable |
react-native-uuid | v6 | function |
react-native-uuid | v7 | function |
react-native-uuid | DNS | variable |
react-native-uuid | MAX | variable |
react-native-uuid | NIL | variable |
react-native-uuid | OID | variable |
react-native-uuid | URL | variable |
react-native-uuid | rng | variable |
react-native-uuid | X500 | variable |
react-native-uuid | uuid | variable |
react-native-uuid | parse | variable |
react-native-uuid | v1ToV6 | function |
react-native-uuid | v6ToV1 | function |
react-native-uuid | unparse | variable |
react-native-uuid | version | variable |
react-native-uuid | validate | variable |
react-native-uuid | V1Options | type |
react-native-uuid | V4Options | type |
react-native-uuid | V6Options | type |
react-native-uuid | V7Options | type |
react-native-uuid | stringify | variable |
react-native-uuid | UUIDBuffer | type |
react-native-uuid | randomSource | variable |
अपने AI एजेंट को ये तथ्य दें
Vigia एक मुफ़्त MCP सर्वर है: आपका कोडिंग एजेंट कोड लिखने से पहले वर्ज़न, ब्रेकिंग बदलाव और कमज़ोरियाँ जाँचता है। न साइनअप, न API कुंजी।
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Cursor में जोड़ेंVS Code में जोड़ें★ GitHub पर स्टार दें
कोई भी दूसरा MCP क्लाइंट
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }एजेंट स्किल (SKILL.md): एजेंट को बताती है कि Vigia कब इस्तेमाल करना है · पुल रिक्वेस्ट के लिए GitHub Action
अक्सर पूछे जाने वाले प्रश्न
react-native-uuid को 2 से 3 पर अपग्रेड करने पर कौन-से असंगत बदलाव हैं?
react-native-uuid 2.0.4 और 3.0.0 के बीच Vigia को 0 हटाए गए एक्सपोर्ट, 2 बदले गए सिग्नेचर और 0 हटाए या बदले गए क्लास/इंटरफ़ेस सदस्य मिले।
react-native-uuid 3 में क्या डिप्रिकेट हुआ?
react-native-uuid 3.0.0 में 0 एक्सपोर्ट या सदस्य नए रूप से डिप्रिकेटेड चिह्नित हैं।
एजेंटों के लिए
GET https://vigia.coredls.cloud/v1/packages/npm/react-native-uuid/upgrade?from=2.0.4&to=3.0.0