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