Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rc-switch

Package Overview
Dependencies
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-switch - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

8

lib/Switch.js

@@ -54,5 +54,7 @@ 'use strict';

var checked = !this.state.checked;
this.setState({
checked: checked
});
if (!('checked' in this.props)) {
this.setState({
checked: checked
});
}
this.props.onChange(checked);

@@ -59,0 +61,0 @@ },

{
"name": "rc-switch",
"version": "1.3.2",
"version": "1.3.3",
"description": "switch ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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