Socket
Socket
Sign inDemoInstall

react-share

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-share - npm Package Versions

13
8

4.3.0

Diff

Changelog

Source

4.3.0 (Aug 06, 2020)

  • Added: HatenaShareButton and HatenaShareCount
nyde
published 4.2.1 •

Changelog

Source

4.2.1 (Jul 09, 2020)

  • Fix: added internal assert utility to get rid of Node.js assert dependency (MINOR BREAKING CHANGE: the error thrown is slightly different)
nyde
published 4.2.0 •

Changelog

Source

4.2.0 (Jun 07, 2020)

  • Added: FacebookMessengerShareButton docs are now included in the readme
  • Fix: Prevent VKShareCount from colliding with an existing window.VK object
  • Fix: Default separator in ViberShareButton is now ' '
  • Fix: WhatsappIcon green color to match with WhatsApp brand
  • Fix: Allow ShareButton beforeOnClick to return void
  • Fix: Guard against unexpected behaviour with OKShareCount for the returned index parameter by adding a sensible fallback
nyde
published 4.1.0 •

Changelog

Source

4.1.0 (Mar 14, 2020)

  • Fix: TwitterShareButton won't have hashtags as empty string (#284, #293)
  • Fix: OKShareCount now supports multiple different share counts per page (#289)
  • Fix: share buttons won't pass link options as props (#286)
  • Fix: EmailShareButton now has default separator correctly as `` #287)
  • Fix: WhatsappShareButton now has default separator correctly as ``
  • Fix: TumblrShareButton now has default posttype correctly as link
  • Feature: TwitterShareButton now supports "related" array (#281)
nyde
published 4.0.1 •

nyde
published 4.0.0 •

Changelog

Source

4.0.0 (January 4, 2020)

  • React 16.3.0 or newer is now required
  • Refactored to TypeScript, type definitions are now included
  • Added: FacebookMessengerShareButton and FacebookMessengerShareCount
  • Added: WeiboIcon
  • Fixed: VKShareButton
  • Fixed: LinkedinShareButton
  • Fixed: MailruShareButton
  • Fixed: TumblrShareCount
  • Fixed: FacebookShareCount
  • Breaking changes:
    • default classNames have been changed
    • all { ...rest } props are spread to the root element for share buttons and share counts
    • share counts are now rendered in span element instead of div
    • icons have svg as root element instead of div
    • icon props were renamed: iconBgStyle -> bgStyle, logoFillColor -> iconFillColor
nyde
published 4.0.0-rc.1 •

nyde
published 4.0.0-rc.0 •

nyde
published 3.0.1 •

Changelog

Source

3.0.1 (August 26, 2019)

  • Forward ref on to the share buttons
  • use componentDidUpdate instead of componentWillUpdate
nyde
published 3.0.0 •

Changelog

Source

3.0.0 (March 24, 2019)

  • Added <PocketShareButton>
  • Added <InstapaperShareButton>
  • Added borderRadius prop for icons
  • A default aria-label is generated for the share buttons. It is based on the network name. Use additionalProps to override.
  • Removed support for Google+.
  • Removed support for <LinkedInShareCount/>. LinkedIn no longer provides an API to fetch share counts.
  • Removed title and description from <LinkedInShareButtons/>.
  • Fix: <EmailShareButton/> includes body before url.
  • Fix: <EmailShareButton/> and <ViberShareButton/> allow customization of separator.
  • Fix: <WeiboShareButton/> no longer requires image prop
  • Fix: <WeiboShareButton/> includes url correctly when shared
  • Fix: <WeiboShareButton/> and <OKShareButton/> open in screen center to prevent window from jumping after opening
  • Thanks @finppp, @madkoding, @andrewl913, @jwrubel, @sinchang and @sergioribeiro!
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc