Socket
Socket
Sign inDemoInstall

rc-select

Package Overview
Dependencies
Maintainers
9
Versions
465
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.5.1 to 14.5.2

2

es/Select.d.ts

@@ -92,3 +92,3 @@ /**

virtual?: boolean;
direction?: "ltr" | "rtl";
direction?: 'ltr' | 'rtl';
listHeight?: number;

@@ -95,0 +95,0 @@ listItemHeight?: number;

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

var optionLabel = option === null || option === void 0 ? void 0 : option[mergedFieldNames.label];
if (optionLabel !== undefined && optionLabel !== rawLabel) {
if (optionLabel !== undefined && ! /*#__PURE__*/React.isValidElement(optionLabel) && ! /*#__PURE__*/React.isValidElement(rawLabel) && optionLabel !== rawLabel) {
warning(false, '`label` of `value` is not same as `label` in Select options.');

@@ -168,0 +168,0 @@ }

@@ -92,3 +92,3 @@ /**

virtual?: boolean;
direction?: "ltr" | "rtl";
direction?: 'ltr' | 'rtl';
listHeight?: number;

@@ -95,0 +95,0 @@ listItemHeight?: number;

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

var optionLabel = option === null || option === void 0 ? void 0 : option[mergedFieldNames.label];
if (optionLabel !== undefined && optionLabel !== rawLabel) {
if (optionLabel !== undefined && ! /*#__PURE__*/React.isValidElement(optionLabel) && ! /*#__PURE__*/React.isValidElement(rawLabel) && optionLabel !== rawLabel) {
(0, _warning.default)(false, '`label` of `value` is not same as `label` in Select options.');

@@ -147,0 +147,0 @@ }

{
"name": "rc-select",
"version": "14.5.1",
"version": "14.5.2",
"description": "React Select",

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

@@ -10,4 +10,5 @@ # rc-select

[![build status][github-actions-image]][github-actions-url]
[![Test coverage][codecov-image]][codecov-url]
[![Codecov][codecov-image]][codecov-url]
[![bundle size][bundlephobia-image]][bundlephobia-url]
[![dumi][dumi-image]][dumi-url]

@@ -30,2 +31,4 @@ [npm-image]: http://img.shields.io/npm/v/rc-select.svg?style=flat-square

[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-select
[dumi-url]: https://github.com/umijs/dumi
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square

@@ -32,0 +35,0 @@ ## Screenshots

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