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

@uiw/react-radio

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-radio - npm Package Compare versions

Comparing version 4.6.9 to 4.6.10

8

lib/cjs/RadioAbstract.js

@@ -16,4 +16,2 @@ "use strict";

var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));

@@ -25,4 +23,2 @@

var _classnames2 = _interopRequireDefault(require("classnames"));
function Abstract() {

@@ -73,5 +69,3 @@ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

}, [prevChecked]);
var cls = (0, _classnames2.default)(prefixCls, className, (0, _defineProperty2.default)({
disabled: disabled
}, "".concat(prefixCls, "-").concat(size), size));
var cls = [prefixCls, className, disabled ? 'disabled' : null, size ? "".concat(prefixCls, "-").concat(size) : null].filter(Boolean).join(' ').trim();
(0, _react.useMemo)(function () {

@@ -78,0 +72,0 @@ if (checked !== props.checked) {

4

lib/cjs/RadioGroup.js

@@ -18,4 +18,2 @@ "use strict";

var _classnames = _interopRequireDefault(require("classnames"));
var _default = function _default() {

@@ -32,3 +30,3 @@ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, other, {
className: (0, _classnames.default)(prefixCls, className)
className: [prefixCls, className].filter(Boolean).join(' ').trim()
}), _react.default.Children.toArray(children).map(function (child) {

@@ -35,0 +33,0 @@ if (!child) return;

import _extends from "@babel/runtime/helpers/esm/extends";
import _objectSpread from "@babel/runtime/helpers/esm/objectSpread2";
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React, { useState, useImperativeHandle, useMemo } from 'react';
import classnames from 'classnames';

@@ -54,5 +52,3 @@ function Abstract() {

}, [prevChecked]);
var cls = classnames(prefixCls, className, _defineProperty({
disabled: disabled
}, "".concat(prefixCls, "-").concat(size), size));
var cls = [prefixCls, className, disabled ? 'disabled' : null, size ? "".concat(prefixCls, "-").concat(size) : null].filter(Boolean).join(' ').trim();
useMemo(function () {

@@ -59,0 +55,0 @@ if (checked !== props.checked) {

@@ -5,3 +5,2 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import React from 'react';
import classnames from 'classnames';
import "./style/group.css";

@@ -21,3 +20,3 @@ export default (function () {

return /*#__PURE__*/React.createElement("div", _extends({}, other, {
className: classnames(prefixCls, className)
className: [prefixCls, className].filter(Boolean).join(' ').trim()
}), React.Children.toArray(children).map(function (child) {

@@ -24,0 +23,0 @@ if (!child) return;

{
"name": "@uiw/react-radio",
"version": "4.6.9",
"version": "4.6.10",
"description": "Radio component",

@@ -45,8 +45,6 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/utils": "^4.6.9",
"classnames": "2.2.6"
"@uiw/utils": "^4.6.10"
},
"devDependencies": {
"@babel/runtime": "7.10.4",
"@types/classnames": "2.2.10",
"@types/jest": "25.2.1",

@@ -60,3 +58,3 @@ "@types/react": "16.9.41",

},
"gitHead": "aff63672294a768b0730a6eaed73463c3b5b3ace"
"gitHead": "dd796bd87132b68aee9dfe1faeb73eccc378bc60"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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