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.12.0 to 14.12.1

2

es/BaseSelect.js

@@ -195,3 +195,3 @@ import _typeof from "@babel/runtime/helpers/esm/typeof";

var onInternalSearch = function onInternalSearch(searchText, fromTyping, isCompositing) {
if (isValidCount(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) {
if (multiple && isValidCount(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) {
return;

@@ -198,0 +198,0 @@ }

@@ -64,3 +64,3 @@ /**

export interface DefaultOptionType extends BaseOptionType {
label: React.ReactNode;
label?: React.ReactNode;
value?: string | number | null;

@@ -67,0 +67,0 @@ children?: Omit<DefaultOptionType, 'children'>[];

@@ -205,3 +205,3 @@ "use strict";

var onInternalSearch = function onInternalSearch(searchText, fromTyping, isCompositing) {
if ((0, _valueUtil.isValidCount)(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) {
if (multiple && (0, _valueUtil.isValidCount)(maxCount) && (rawValues === null || rawValues === void 0 ? void 0 : rawValues.size) >= maxCount) {
return;

@@ -208,0 +208,0 @@ }

@@ -64,3 +64,3 @@ /**

export interface DefaultOptionType extends BaseOptionType {
label: React.ReactNode;
label?: React.ReactNode;
value?: string | number | null;

@@ -67,0 +67,0 @@ children?: Omit<DefaultOptionType, 'children'>[];

{
"name": "rc-select",
"version": "14.12.0",
"version": "14.12.1",
"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