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

rc-checkbox

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

5

es/index.js

@@ -7,6 +7,6 @@ import _extends from "@babel/runtime/helpers/esm/extends";

var _excluded = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "onChange"];
import classNames from 'classnames';
import useMergedState from "rc-util/es/hooks/useMergedState";
import * as React from 'react';
import { forwardRef, useImperativeHandle, useRef } from 'react';
import useMergedState from "rc-util/es/hooks/useMergedState";
import classNames from 'classnames';
export var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {

@@ -56,2 +56,3 @@ var _classNames;

target: _objectSpread(_objectSpread({}, props), {}, {
type: type,
checked: e.target.checked

@@ -58,0 +59,0 @@ }),

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

var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
var _classnames = _interopRequireDefault(require("classnames"));
var _useMergedState3 = _interopRequireDefault(require("rc-util/lib/hooks/useMergedState"));
var React = _interopRequireWildcard(require("react"));
var _useMergedState3 = _interopRequireDefault(require("rc-util/lib/hooks/useMergedState"));
var _classnames = _interopRequireDefault(require("classnames"));
var _excluded = ["prefixCls", "className", "style", "checked", "disabled", "defaultChecked", "type", "onChange"];

@@ -65,2 +65,3 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }

target: (0, _objectSpread2.default)((0, _objectSpread2.default)({}, props), {}, {
type: type,
checked: e.target.checked

@@ -67,0 +68,0 @@ }),

4

package.json
{
"name": "rc-checkbox",
"version": "3.0.0",
"version": "3.0.1",
"description": "checkbox ui component for react",

@@ -33,3 +33,3 @@ "keywords": [

"gh-pages": "npm run build && father doc deploy -d .docs",
"lint": "eslint . --ext='jsx'",
"lint": "eslint src/ --ext .tsx,.ts",
"prepare": "husky install && dumi setup",

@@ -36,0 +36,0 @@ "prepublishOnly": "npm run compile && np --yolo --no-publish",

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