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

rc-checkbox

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-checkbox - npm Package Compare versions

Comparing version 1.3.5 to 1.3.6

7

lib/Checkbox.js

@@ -117,6 +117,7 @@ 'use strict';

this.handleChange = function (e) {
var checked = e.target.checked;
var checked = _this2.state.checked;
if (!('checked' in _this2.props)) {
_this2.setState({
checked: checked ? 1 : 0
checked: !checked
});

@@ -126,3 +127,3 @@ }

target: _extends({}, _this2.props, {
checked: checked
checked: !checked
}),

@@ -129,0 +130,0 @@ stopPropagation: function stopPropagation() {

{
"name": "rc-checkbox",
"version": "1.3.5",
"version": "1.3.6",
"description": "checkbox 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