Vigia

Memperbarui react-share dari 5.x ke 6.x

Perbandingan API publik react-share 5.3.0 dan 6.0.0, dihitung otomatis dari tipe TypeScript-nya. Tanda tangan yang berubah adalah kemungkinan perubahan tidak kompatibel, bukan kepastian.

Ringkasan

Jalur impor yang dihapus0
Ekspor yang dihapus13
Tanda tangan yang berubah22
Anggota kelas atau antarmuka yang dihapus0
Anggota kelas atau antarmuka yang berubah0
Baru ditandai usang0
Perubahan persyaratan (engines, dependensi peer)1
Ekspor baru53

Ekspor yang dihapus

importexportkindSebelum
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>

Tanda tangan yang berubah

exportSebelumSesudah
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

Anggota kelas atau antarmuka yang dihapus

Tidak ada yang terdeteksi.

Anggota kelas atau antarmuka yang berubah

Tidak ada yang terdeteksi.

Baru ditandai usang

Tidak ada yang terdeteksi.

Perubahan persyaratan (engines, dependensi peer)

SebelumSesudah
peerDependencies.react^17 || ^18 || ^19^18 || ^19
Ekspor baru (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

Berikan fakta ini ke agen AI Anda

Vigia adalah server MCP gratis: agen coding Anda memeriksa versi, perubahan yang merusak kompatibilitas, dan kerentanan sebelum menulis kode. Tanpa pendaftaran, tanpa kunci API.

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

Tambahkan ke CursorTambahkan ke VS Code★ Bintang di GitHub

Klien MCP lainnya
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

Skill agen (SKILL.md): memberi tahu agen kapan memakai Vigia · GitHub Action untuk pull request

Pertanyaan umum

Apa saja perubahan tidak kompatibel saat memperbarui react-share dari 5 ke 6?

Antara react-share 5.3.0 dan 6.0.0, Vigia menemukan 13 ekspor yang dihapus, 22 tanda tangan yang berubah, dan 0 anggota kelas atau antarmuka yang dihapus atau berubah.

Apa yang ditandai usang di react-share 6?

0 ekspor atau anggota baru ditandai usang di react-share 6.0.0.

Untuk agen

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