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 |
हटाए गए एक्सपोर्ट
| import | export | kind | पहले |
|---|---|---|---|
react-share | PocketIcon | function | (props: IconProps): JSX.Element |
react-share | TwitterIcon | function | (props: IconProps): JSX.Element |
react-share | OKShareCount | variable | (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-share | VKShareCount | variable | (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-share | WorkplaceIcon | function | (props: IconProps): JSX.Element |
react-share | HatenaShareCount | variable | (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-share | RedditShareCount | variable | (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-share | TumblrShareCount | variable | (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-share | PocketShareButton | variable | ForwardRefExoticComponent<any> |
react-share | FacebookShareCount | variable | (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-share | TwitterShareButton | variable | ForwardRefExoticComponent<any> |
react-share | PinterestShareCount | variable | (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-share | WorkplaceShareButton | variable | ForwardRefExoticComponent<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)
| import | export | kind |
|---|---|---|
react-share | XLegacyIcon | function |
react-share | shareNative | function |
react-share | OKLegacyIcon | function |
react-share | VKLegacyIcon | function |
react-share | GabLegacyIcon | function |
react-share | LineLegacyIcon | function |
react-share | WindowPosition | type |
react-share | buildXShareUrl | variable |
react-share | canNativeShare | function |
react-share | EmailLegacyIcon | function |
react-share | NativeShareData | type |
react-share | NativeShareIcon | function |
react-share | ViberLegacyIcon | function |
react-share | WeiboLegacyIcon | function |
react-share | buildOKShareUrl | variable |
react-share | buildVKShareUrl | variable |
react-share | openShareWindow | function |
react-share | HatenaLegacyIcon | function |
react-share | MailruLegacyIcon | function |
react-share | RedditLegacyIcon | function |
react-share | TumblrLegacyIcon | function |
react-share | buildGabShareUrl | variable |
react-share | BlueskyLegacyIcon | function |
react-share | NativeShareButton | variable |
react-share | ThreadsLegacyIcon | function |
react-share | buildLineShareUrl | variable |
react-share | FacebookLegacyIcon | function |
react-share | LinkedinLegacyIcon | function |
react-share | ShareWindowOptions | type |
react-share | TelegramLegacyIcon | function |
react-share | WhatsappLegacyIcon | function |
react-share | buildEmailShareUrl | variable |
react-share | buildViberShareUrl | variable |
react-share | buildWeiboShareUrl | variable |
react-share | PinterestLegacyIcon | function |
react-share | buildHatenaShareUrl | variable |
react-share | buildMailruShareUrl | variable |
react-share | buildRedditShareUrl | variable |
react-share | buildTumblrShareUrl | variable |
react-share | InstapaperLegacyIcon | function |
react-share | buildBlueskyShareUrl | variable |
react-share | buildThreadsShareUrl | variable |
react-share | LivejournalLegacyIcon | function |
react-share | NativeShareLegacyIcon | function |
react-share | buildFacebookShareUrl | variable |
react-share | buildLinkedinShareUrl | variable |
react-share | buildTelegramShareUrl | variable |
react-share | buildWhatsappShareUrl | variable |
react-share | buildPinterestShareUrl | variable |
react-share | buildInstapaperShareUrl | variable |
react-share | buildLivejournalShareUrl | variable |
react-share | FacebookMessengerLegacyIcon | function |
react-share | buildFacebookMessengerShareUrl | variable |
अपने 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