@rc-component/select
Advanced tools
@@ -84,3 +84,3 @@ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
| return /*#__PURE__*/React.createElement("div", { | ||
| className: clsx(`${prefixCls}-content`, displayValue && displayValue.label && `${prefixCls}-content-has-value`, mergedSearchValue && `${prefixCls}-content-has-search-value`, hasOptionStyle && `${prefixCls}-content-has-option-style`, classNames?.content), | ||
| className: clsx(`${prefixCls}-content`, displayValue && displayValue.label !== null && displayValue.label !== undefined && displayValue.label !== '' && `${prefixCls}-content-has-value`, mergedSearchValue && `${prefixCls}-content-has-search-value`, hasOptionStyle && `${prefixCls}-content-has-option-style`, classNames?.content), | ||
| style: styles?.content, | ||
@@ -87,0 +87,0 @@ title: hasOptionStyle ? undefined : optionTitle |
@@ -93,3 +93,3 @@ "use strict"; | ||
| return /*#__PURE__*/React.createElement("div", { | ||
| className: (0, _clsx.clsx)(`${prefixCls}-content`, displayValue && displayValue.label && `${prefixCls}-content-has-value`, mergedSearchValue && `${prefixCls}-content-has-search-value`, hasOptionStyle && `${prefixCls}-content-has-option-style`, classNames?.content), | ||
| className: (0, _clsx.clsx)(`${prefixCls}-content`, displayValue && displayValue.label !== null && displayValue.label !== undefined && displayValue.label !== '' && `${prefixCls}-content-has-value`, mergedSearchValue && `${prefixCls}-content-has-search-value`, hasOptionStyle && `${prefixCls}-content-has-option-style`, classNames?.content), | ||
| style: styles?.content, | ||
@@ -96,0 +96,0 @@ title: hasOptionStyle ? undefined : optionTitle |
+1
-1
| { | ||
| "name": "@rc-component/select", | ||
| "version": "1.6.7", | ||
| "version": "1.6.8", | ||
| "description": "React Select", | ||
@@ -5,0 +5,0 @@ "engines": { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
327311
0.05%7908
0.03%