New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-switch

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-switch - npm Package Versions

123

1.2.0

Diff

Changelog

Source

[1.2.0 - 2017-09-29]

Fixed

  • Removed react and react-dom from dependencies.
  • Css-file replaced with inline styles to avoid webpack style-loader dependence.

Changed

  • Cursor style of handle changed to pointer instead of grabbing.
yogaboll
published 1.1.0 •

Changelog

Source

[1.1.0] - 2017-09-26

Fixed

  • Pressing the spacebar while the switch is focused no longer causes the page to scroll.
  • Disabling the switch now sets opacity to 0.5 as it should.
  • Fixed glitch where the left property of the switch-handle would be off by one if checked was initially set to true.

Deprecated

  • The 'name' and 'value' properties will be removed in the next major version since I don't believe they serve any purpose in a controlled component.
yogaboll
published 1.0.0 •

romainberger
published 0.1.0 •

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