Passer de react-native-keychain 10.x à 11.x
Comparaison de l’API publique de react-native-keychain 10.0.0 et 11.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és | 0 |
|---|---|
| Exports supprimés | 0 |
| Signatures modifiées | 7 |
| Membres de classes ou d’interfaces supprimés | 0 |
| Membres de classes ou d’interfaces modifiés | 0 |
| Nouvelles dépréciations | 0 |
| Changements d’exigences (engines, dépendances peer) | 3 |
| Nouveaux exports | 4 |
Exports supprimés
Aucun détecté.
Signatures modifiées
| export | Avant | Après |
|---|---|---|
react-native-keychain · Result | { service: string; storage: STORAGE_TYPE; } | { service: string; storage: STORAGE_TYPE | "keychain"; } |
react-native-keychain · default | { SECURITY_LEVEL: typeof SECURITY_LEVEL; ACCESSIBLE: typeof ACCESSIBLE; ACCESS_CONTROL: typeof ACCESS_CONTROL; AUTHENTICATION_TYPE: typeof AUTHENTICATION_TYPE; BIOMETRY_TYPE: typeof BIOMETRY_TYPE; STORAGE_TYPE: typeof STORAGE_TYPE; getSecurityLevel: (options?: AccessControlOption | undefined) => Promise<SECURITY_LEVEL | null>; canImplyAuthentication: (options?: AuthenticationTypeOption | undefined) => Promise<boolean>; getSupportedBiometryType: () => Promise<BIOMETRY_TYPE | null>; setInternetCredentials: (server: string, username: string, password: string, options?: SetOptions | undefined) => … | { SECURITY_LEVEL: typeof SECURITY_LEVEL; ACCESSIBLE: typeof ACCESSIBLE; ACCESS_CONTROL: typeof ACCESS_CONTROL; AUTHENTICATION_TYPE: typeof AUTHENTICATION_TYPE; BIOMETRY_TYPE: typeof BIOMETRY_TYPE; STORAGE_TYPE: typeof STORAGE_TYPE; ERROR_CODE: typeof ERROR_CODE; getSecurityLevel: (options?: AccessControlOption | undefined) => Promise<SECURITY_LEVEL | null>; canImplyAuthentication: (options?: AuthenticationTypeOption | undefined) => Promise<boolean>; getSupportedBiometryType: () => Promise<BIOMETRY_TYPE | null>; setInternetCredentials: (server: string, username: string, password: string, option… |
react-native-keychain · SharedWebCredentials | { server: string; } & { username: string; password: string; } & Result | { server: string; } & Omit<UserCredentials, "service"> |
react-native-keychain · getInternetCredentials | (server: string, options?: GetOptions | undefined): Promise<false | UserCredentials> | (server: string, options?: GetOptions | undefined): Promise<false | InternetCredentials> |
react-native-keychain · hasInternetCredentials | (options: string | BaseOptions): Promise<boolean> | (options: BaseOptions): Promise<boolean> |
react-native-keychain · setSharedWebCredentials | (server: string, username: string, password?: string | undefined): Promise<void> | (server: string, username: string, password?: string | undefined): Promise<boolean> |
react-native-keychain · resetInternetCredentials | (options: BaseOptions): Promise<void> | (options: BaseOptions): Promise<boolean> |
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)
| Avant | Après | |
|---|---|---|
engines.node | >=16 | >=20.19.4 |
peerDependencies.react | — | >=19.1.1 |
peerDependencies.react-native | — | >=0.82.0 |
Nouveaux exports (4)
| import | export | kind |
|---|---|---|
react-native-keychain | ERROR_CODE | enum |
react-native-keychain | InternetCredentials | type |
react-native-keychain | getAllInternetCredentialServers | function |
react-native-keychain | GetAllInternetCredentialServersOptions | type |
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-keychain 10 à 11 ?
Entre react-native-keychain 10.0.0 et 11.0.0, Vigia a trouvé 0 exports supprimés, 7 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-keychain 11 ?
0 exports ou membres sont désormais marqués comme dépréciés dans react-native-keychain 11.0.0.
Pour les agents
GET https://vigia.coredls.cloud/v1/packages/npm/react-native-keychain/upgrade?from=10.0.0&to=11.0.0