Atualizar react-native-uuid de 2.x para 3.x
Comparação da API pública de react-native-uuid 2.0.4 e 3.0.0, calculada automaticamente a partir dos tipos TypeScript. Uma assinatura alterada é uma possível mudança incompatível, não uma certeza.
Resumo
| Caminhos de importação removidos | 0 |
|---|---|
| Exports removidos | 0 |
| Assinaturas alteradas | 2 |
| Membros de classes ou interfaces removidos | 0 |
| Membros de classes ou interfaces alterados | 0 |
| Novas descontinuações | 0 |
| Mudanças de requisitos (engines, dependências peer) | 3 |
| Novos exports | 27 |
Exports removidos
Nenhuma detectada.
Assinaturas alteradas
| export | Antes | Depois |
|---|---|---|
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 |
Membros de classes ou interfaces removidos
Nenhuma detectada.
Membros de classes ou interfaces alterados
Nenhuma detectada.
Novas descontinuações
Nenhuma detectada.
Mudanças de requisitos (engines, dependências peer)
| Antes | Depois | |
|---|---|---|
engines.npm | >=9.0.0 | >=10.0.0 |
engines.node | >=18.0.0 | >=22.0.0 |
peerDependencies.react-native | — | >=0.74.0 |
Novos 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 |
Dê estes dados ao seu agente de IA
Vigia é um servidor MCP gratuito: seu agente de programação verifica versões, mudanças incompatíveis e vulnerabilidades antes de escrever código. Sem cadastro, sem chave de API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Adicionar ao CursorAdicionar ao VS Code★ Estrela no GitHub
Qualquer outro cliente MCP
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Skill para agentes (SKILL.md): diz ao agente quando usar o Vigia · GitHub Action para pull requests
Perguntas frequentes
Quais são as mudanças incompatíveis ao atualizar react-native-uuid de 2 para 3?
Entre react-native-uuid 2.0.4 e 3.0.0, o Vigia encontrou 0 exports removidos, 2 assinaturas alteradas e 0 membros de classes ou interfaces removidos ou alterados.
O que foi descontinuado em react-native-uuid 3?
0 exports ou membros foram marcados como descontinuados em react-native-uuid 3.0.0.
Para agentes
GET https://vigia.coredls.cloud/v1/packages/npm/react-native-uuid/upgrade?from=2.0.4&to=3.0.0