Vigia

Passer de react-share 5.x à 6.x

Comparaison de l’API publique de react-share 5.3.0 et 6.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és13
Signatures modifiées22
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)1
Nouveaux exports53

Exports supprimés

importexportkindAvant
react-sharePocketIconfunction(props: IconProps): JSX.Element
react-shareTwitterIconfunction(props: IconProps): JSX.Element
react-shareOKShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareVKShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareWorkplaceIconfunction(props: IconProps): JSX.Element
react-shareHatenaShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareRedditShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareTumblrShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-sharePocketShareButtonvariableForwardRefExoticComponent<any>
react-shareFacebookShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareTwitterShareButtonvariableForwardRefExoticComponent<any>
react-sharePinterestShareCountvariable(props: { suppressHydrationWarning?: boolean | undefined; className?: string | undefined; color?: string | undefined; id?: string | undefined; lang?: string | undefined; nonce?: string | undefined; part?: string | undefined; slot?: string | undefined; style?: any; role?: any; tabIndex?: number | undefined; "aria-activedescendant"?: string | undefined; "aria-atomic"?: boolean | "true" | "false" | undefined; "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined; "aria-braillelabel"?: string | undefined; "aria-brailleroledescription"?: string | undefined; "aria-busy"?: boolean | "…
react-shareWorkplaceShareButtonvariableForwardRefExoticComponent<any>

Signatures modifiées

exportAvantAprès
react-share · XIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · OKIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · VKIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · GabIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · LineIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · EmailIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · ViberIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · WeiboIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · HatenaIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · MailruIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · RedditIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · TumblrIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · BlueskyIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · ThreadsIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · FacebookIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · LinkedinIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · TelegramIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · WhatsappIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · PinterestIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · InstapaperIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · LivejournalIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element
react-share · FacebookMessengerIcon(props: IconProps): JSX.Element(props: RawIconProps): JSX.Element

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
peerDependencies.react^17 || ^18 || ^19^18 || ^19
Nouveaux exports (53)
importexportkind
react-shareXLegacyIconfunction
react-shareshareNativefunction
react-shareOKLegacyIconfunction
react-shareVKLegacyIconfunction
react-shareGabLegacyIconfunction
react-shareLineLegacyIconfunction
react-shareWindowPositiontype
react-sharebuildXShareUrlvariable
react-sharecanNativeSharefunction
react-shareEmailLegacyIconfunction
react-shareNativeShareDatatype
react-shareNativeShareIconfunction
react-shareViberLegacyIconfunction
react-shareWeiboLegacyIconfunction
react-sharebuildOKShareUrlvariable
react-sharebuildVKShareUrlvariable
react-shareopenShareWindowfunction
react-shareHatenaLegacyIconfunction
react-shareMailruLegacyIconfunction
react-shareRedditLegacyIconfunction
react-shareTumblrLegacyIconfunction
react-sharebuildGabShareUrlvariable
react-shareBlueskyLegacyIconfunction
react-shareNativeShareButtonvariable
react-shareThreadsLegacyIconfunction
react-sharebuildLineShareUrlvariable
react-shareFacebookLegacyIconfunction
react-shareLinkedinLegacyIconfunction
react-shareShareWindowOptionstype
react-shareTelegramLegacyIconfunction
react-shareWhatsappLegacyIconfunction
react-sharebuildEmailShareUrlvariable
react-sharebuildViberShareUrlvariable
react-sharebuildWeiboShareUrlvariable
react-sharePinterestLegacyIconfunction
react-sharebuildHatenaShareUrlvariable
react-sharebuildMailruShareUrlvariable
react-sharebuildRedditShareUrlvariable
react-sharebuildTumblrShareUrlvariable
react-shareInstapaperLegacyIconfunction
react-sharebuildBlueskyShareUrlvariable
react-sharebuildThreadsShareUrlvariable
react-shareLivejournalLegacyIconfunction
react-shareNativeShareLegacyIconfunction
react-sharebuildFacebookShareUrlvariable
react-sharebuildLinkedinShareUrlvariable
react-sharebuildTelegramShareUrlvariable
react-sharebuildWhatsappShareUrlvariable
react-sharebuildPinterestShareUrlvariable
react-sharebuildInstapaperShareUrlvariable
react-sharebuildLivejournalShareUrlvariable
react-shareFacebookMessengerLegacyIconfunction
react-sharebuildFacebookMessengerShareUrlvariable

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-share 5 à 6 ?

Entre react-share 5.3.0 et 6.0.0, Vigia a trouvé 13 exports supprimés, 22 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-share 6 ?

0 exports ou membres sont désormais marqués comme dépréciés dans react-share 6.0.0.

Pour les agents

GET https://vigia.coredls.cloud/v1/packages/npm/react-share/upgrade?from=5.3.0&to=6.0.0