Vigia

Passer de react-native-uuid 2.x à 3.x

Comparaison de l’API publique de react-native-uuid 2.0.4 et 3.0.0, calculée automatiquement à partir de leurs types TypeScript. Une signature modifiée est un changement incompatible possible, pas une certitude.

Résumé

Chemins d’importation supprimés0
Exports supprimés0
Signatures modifiées2
Membres de classes ou d’interfaces supprimés0
Membres de classes ou d’interfaces modifiés0
Nouvelles dépréciations0
Changements d’exigences (engines, dépendances peer)3
Nouveaux exports27

Exports supprimés

Aucun détecté.

Signatures modifiées

exportAvantAprès
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

Membres de classes ou d’interfaces supprimés

Aucun détecté.

Membres de classes ou d’interfaces modifiés

Aucun détecté.

Nouvelles dépréciations

Aucun détecté.

Changements d’exigences (engines, dépendances peer)

AvantAprès
engines.npm>=9.0.0>=10.0.0
engines.node>=18.0.0>=22.0.0
peerDependencies.react-native—>=0.74.0
Nouveaux exports (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

Donnez ces données à votre agent IA

Vigia est un serveur MCP gratuit : votre agent de code vérifie les versions, les changements incompatibles et les vulnérabilités avant d'écrire du code. Sans inscription ni clé d'API.

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

Ajouter à CursorAjouter à VS Code★ Étoile sur GitHub

Tout autre client MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill pour agents (SKILL.md) : indique à l'agent quand utiliser Vigia · GitHub Action pour les pull requests

Questions fréquentes

Quels sont les changements incompatibles en passant de react-native-uuid 2 à 3 ?

Entre react-native-uuid 2.0.4 et 3.0.0, Vigia a trouvé 0 exports supprimés, 2 signatures modifiées et 0 membres de classes ou d’interfaces supprimés ou modifiés.

Qu’est-ce qui a été déprécié dans react-native-uuid 3 ?

0 exports ou membres sont désormais marqués comme dépréciés dans react-native-uuid 3.0.0.

Pour les agents

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