rc-checkbox
Advanced tools
Comparing version 3.0.0 to 3.0.1
@@ -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 @@ }), |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20594
349
1