Vigia

Memperbarui react-native-uuid dari 2.x ke 3.x

Perbandingan API publik react-native-uuid 2.0.4 dan 3.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.

Ringkasan

Jalur impor yang dihapus0
Ekspor yang dihapus0
Tanda tangan yang berubah2
Anggota kelas atau antarmuka yang dihapus0
Anggota kelas atau antarmuka yang berubah0
Baru ditandai usang0
Perubahan persyaratan (engines, dependensi peer)3
Ekspor baru27

Ekspor yang dihapus

Tidak ada yang terdeteksi.

Tanda tangan yang berubah

exportSebelumSesudah
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

Anggota kelas atau antarmuka yang dihapus

Tidak ada yang terdeteksi.

Anggota kelas atau antarmuka yang berubah

Tidak ada yang terdeteksi.

Baru ditandai usang

Tidak ada yang terdeteksi.

Perubahan persyaratan (engines, dependensi peer)

SebelumSesudah
engines.npm>=9.0.0>=10.0.0
engines.node>=18.0.0>=22.0.0
peerDependencies.react-native—>=0.74.0
Ekspor baru (27)
importexportkind
react-native-uuidv1function
react-native-uuidv3variable
react-native-uuidv4function
react-native-uuidv5variable
react-native-uuidv6function
react-native-uuidv7function
react-native-uuidDNSvariable
react-native-uuidMAXvariable
react-native-uuidNILvariable
react-native-uuidOIDvariable
react-native-uuidURLvariable
react-native-uuidrngvariable
react-native-uuidX500variable
react-native-uuiduuidvariable
react-native-uuidparsevariable
react-native-uuidv1ToV6function
react-native-uuidv6ToV1function
react-native-uuidunparsevariable
react-native-uuidversionvariable
react-native-uuidvalidatevariable
react-native-uuidV1Optionstype
react-native-uuidV4Optionstype
react-native-uuidV6Optionstype
react-native-uuidV7Optionstype
react-native-uuidstringifyvariable
react-native-uuidUUIDBuffertype
react-native-uuidrandomSourcevariable

Berikan fakta ini ke agen AI Anda

Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub

Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request

Pertanyaan umum

Apa saja perubahan tidak kompatibel saat memperbarui react-native-uuid dari 2 ke 3?

Antara react-native-uuid 2.0.4 dan 3.0.0, Vigia menemukan 0 ekspor yang dihapus, 2 tanda tangan yang berubah, dan 0 anggota kelas atau antarmuka yang dihapus atau berubah.

Apa yang ditandai usang di react-native-uuid 3?

0 ekspor atau anggota baru ditandai usang di react-native-uuid 3.0.0.

Untuk agen

GET https://vigia.coredls.cloud/v1/packages/npm/react-native-uuid/upgrade?from=2.0.4&to=3.0.0