Vigia

Nâng cấp react-native-uuid từ 2.x lên 3.x

So sánh API công khai của react-native-uuid 2.0.4 và 3.0.0, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.

Tóm tắt

Đường dẫn import bị xóa0
Export bị xóa0
Chữ ký thay đổi2
Thành viên lớp hoặc interface bị xóa0
Thành viên lớp hoặc interface thay đổi0
Mới bị ngừng hỗ trợ0
Thay đổi yêu cầu (engines, phụ thuộc peer)3
Export mới27

Export bị xóa

Không phát hiện.

Chữ ký thay đổi

exportTrướcSau
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

Thành viên lớp hoặc interface bị xóa

Không phát hiện.

Thành viên lớp hoặc interface thay đổi

Không phát hiện.

Mới bị ngừng hỗ trợ

Không phát hiện.

Thay đổi yêu cầu (engines, phụ thuộc peer)

TrướcSau
engines.npm>=9.0.0>=10.0.0
engines.node>=18.0.0>=22.0.0
peerDependencies.react-native—>=0.74.0
Export mới (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

Cung cấp dữ liệu này cho tác tử AI của bạn

Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.

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

Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub

Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request

Câu hỏi thường gặp

Nâng cấp react-native-uuid từ 2 lên 3 có những thay đổi không tương thích nào?

Giữa react-native-uuid 2.0.4 và 3.0.0, Vigia tìm thấy 0 export bị xóa, 2 chữ ký thay đổi và 0 thành viên lớp hoặc interface bị xóa hay thay đổi.

Những gì bị ngừng hỗ trợ trong react-native-uuid 3?

0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong react-native-uuid 3.0.0.

Dành cho tác tử

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