Vigia

react-share を 5.x から 6.x へアップグレード

react-share 5.3.0 と 6.0.0 の公開 API を、TypeScript の型から自動的に比較したものです。シグネチャの変更は破壊的変更の候補であり、確定ではありません。

概要

削除されたインポートパス0
削除されたエクスポート13
変更されたシグネチャ22
削除されたクラス/インターフェースのメンバー0
変更されたクラス/インターフェースのメンバー0
新たに非推奨0
要件の変更(engines、peer 依存関係)1
新しいエクスポート53

削除されたエクスポート

importexportkind変更前
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>

変更されたシグネチャ

export変更前変更後
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

削除されたクラス/インターフェースのメンバー

検出されませんでした。

変更されたクラス/インターフェースのメンバー

検出されませんでした。

新たに非推奨

検出されませんでした。

要件の変更(engines、peer 依存関係)

変更前変更後
peerDependencies.react^17 || ^18 || ^19^18 || ^19
新しいエクスポート (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

このデータを 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-share を 5 から 6 にアップグレードする際の破壊的変更は?

react-share 5.3.0 と 6.0.0 の間で、Vigia は削除されたエクスポートを 13 件、変更されたシグネチャを 22 件、削除または変更されたクラス/インターフェースのメンバーを 0 件検出しました。

react-share 6 で非推奨になったものは?

react-share 6.0.0 では 0 件のエクスポートまたはメンバーが新たに非推奨になりました。

エージェント向け

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