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

rc-switch

Package Overview
Dependencies
Maintainers
5
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 3.0.0 to 3.0.1

4

es/index.js

@@ -43,5 +43,5 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

if (autoFocus && !disabled) {
focus();
mergedRef.current.focus();
}
}, [props.autoFocus, props.disabled]);
}, [props.autoFocus]);
React.useEffect(function () {

@@ -48,0 +48,0 @@ if ('checked' in props) {

@@ -60,5 +60,5 @@ "use strict";

if (autoFocus && !disabled) {
focus();
mergedRef.current.focus();
}
}, [props.autoFocus, props.disabled]);
}, [props.autoFocus]);
React.useEffect(function () {

@@ -65,0 +65,0 @@ if ('checked' in props) {

{
"name": "rc-switch",
"version": "3.0.0",
"version": "3.0.1",
"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