Upgrading react-native-uuid from 2.x to 3.x
Comparison of the public API of react-native-uuid 2.0.4 and 3.0.0, computed automatically from their TypeScript types. A changed signature is a candidate for a breaking change, not a certainty.
Summary
| Removed import paths | 0 |
|---|---|
| Removed exports | 0 |
| Changed signatures | 2 |
| Removed class or interface members | 0 |
| Changed class or interface members | 0 |
| Newly deprecated | 0 |
| Requirement changes (engines, peer dependencies) | 3 |
| New exports | 27 |
Removed exports
None detected.
Changed signatures
| export | Before | After |
|---|---|---|
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 |
Removed class or interface members
None detected.
Changed class or interface members
None detected.
Newly deprecated
None detected.
Requirement changes (engines, peer dependencies)
| Before | After | |
|---|---|---|
engines.npm | >=9.0.0 | >=10.0.0 |
engines.node | >=18.0.0 | >=22.0.0 |
peerDependencies.react-native | — | >=0.74.0 |
New exports (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 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What are the breaking changes when upgrading react-native-uuid from 2 to 3?
Between react-native-uuid 2.0.4 and 3.0.0, Vigia found 0 removed exports, 2 changed signatures and 0 removed or changed class or interface members.
What became deprecated in react-native-uuid 3?
0 exports or members are newly marked as deprecated in react-native-uuid 3.0.0.
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-native-uuid/upgrade?from=2.0.4&to=3.0.0