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

rc-select

Package Overview
Dependencies
Maintainers
9
Versions
469
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-select - npm Package Compare versions

Comparing version 14.4.2 to 14.4.3-0

11

es/Selector/SingleSelector.js

@@ -91,7 +91,14 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";

maxLength: combobox ? maxLength : undefined
})), !combobox && item && !hasTextInput && /*#__PURE__*/React.createElement("span", {
})), !combobox && item ? /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-selection-item"),
title: selectionTitle
}, item.label), renderPlaceholder());
// 当 Select 已经选中选项时,还需 selection 隐藏但留在原地占位
// https://github.com/ant-design/ant-design/issues/27688
// https://github.com/ant-design/ant-design/issues/41530
,
style: hasTextInput ? {
visibility: 'hidden'
} : undefined
}, item.label) : null, renderPlaceholder());
};
export default SingleSelector;

@@ -101,8 +101,15 @@ "use strict";

maxLength: combobox ? maxLength : undefined
})), !combobox && item && !hasTextInput && /*#__PURE__*/React.createElement("span", {
})), !combobox && item ? /*#__PURE__*/React.createElement("span", {
className: "".concat(prefixCls, "-selection-item"),
title: selectionTitle
}, item.label), renderPlaceholder());
// 当 Select 已经选中选项时,还需 selection 隐藏但留在原地占位
// https://github.com/ant-design/ant-design/issues/27688
// https://github.com/ant-design/ant-design/issues/41530
,
style: hasTextInput ? {
visibility: 'hidden'
} : undefined
}, item.label) : null, renderPlaceholder());
};
var _default = SingleSelector;
exports.default = _default;

2

package.json
{
"name": "rc-select",
"version": "14.4.2",
"version": "14.4.3-0",
"description": "React Select",

@@ -5,0 +5,0 @@ "engines": {

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