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

@s-ui/react-atom-checkbox

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-atom-checkbox - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="1.4.0"></a>
# 1.4.0 (2019-10-31)
### Features
* styles disabled ([d6bcbef](https://github.com/SUI-Components/sui-components/commit/d6bcbef))
<a name="1.3.0"></a>

@@ -7,0 +17,0 @@ # 1.3.0 (2019-10-15)

10

lib/hoc/withCheckedValue.js

@@ -1,3 +0,2 @@

import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React, { useState } from 'react';

@@ -13,8 +12,7 @@ import PropTypes from 'prop-types';

onChangeFromProps = _ref.onChange,
props = _objectWithoutProperties(_ref, ["checked", "onChange"]);
props = _objectWithoutPropertiesLoose(_ref, ["checked", "onChange"]);
var _useState = useState(checkedFromProps),
_useState2 = _slicedToArray(_useState, 2),
checked = _useState2[0],
setChecked = _useState2[1];
checked = _useState[0],
setChecked = _useState[1];

@@ -21,0 +19,0 @@ var handleChangeValue = function handleChangeValue(ev, _ref2) {

4

lib/index.js

@@ -1,2 +0,2 @@

import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
import React from 'react';

@@ -25,3 +25,3 @@ import PropTypes from 'prop-types';

errorState = _ref.errorState,
props = _objectWithoutProperties(_ref, ["id", "name", "disabled", "checked", "onChange", "errorState"]);
props = _objectWithoutPropertiesLoose(_ref, ["id", "name", "disabled", "checked", "onChange", "errorState"]);

@@ -28,0 +28,0 @@ var handleChange = function handleChange(ev) {

{
"name": "@s-ui/react-atom-checkbox",
"version": "1.3.0",
"version": "1.4.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is not supported yet

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