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

rc-cascader

Package Overview
Dependencies
Maintainers
5
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-cascader - npm Package Compare versions

Comparing version 3.21.0 to 3.21.2

4

es/OptionList/useActive.js

@@ -11,2 +11,3 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray";

values = _React$useContext.values;
var firstValueCells = values[0];

@@ -21,7 +22,6 @@ // Record current dropdown active options

if (open && !multiple) {
var firstValueCells = values[0];
setActiveValueCells(firstValueCells || []);
}
}, /* eslint-disable react-hooks/exhaustive-deps */
[open]
[open, firstValueCells]
/* eslint-enable react-hooks/exhaustive-deps */);

@@ -28,0 +28,0 @@

@@ -20,2 +20,3 @@ "use strict";

values = _React$useContext.values;
var firstValueCells = values[0];

@@ -30,7 +31,6 @@ // Record current dropdown active options

if (open && !multiple) {
var firstValueCells = values[0];
setActiveValueCells(firstValueCells || []);
}
}, /* eslint-disable react-hooks/exhaustive-deps */
[open]
[open, firstValueCells]
/* eslint-enable react-hooks/exhaustive-deps */);

@@ -37,0 +37,0 @@

{
"name": "rc-cascader",
"version": "3.21.0",
"version": "3.21.2",
"description": "cascade select ui component for react",

@@ -35,3 +35,3 @@ "keywords": [

"build": "dumi build",
"deploy": "UMI_ENV=gh npm run build && gh-pages -d .doc",
"deploy": "UMI_ENV=gh npm run build && gh-pages -d dist",
"compile": "father build",

@@ -54,3 +54,3 @@ "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish",

"@types/warning": "^3.0.0",
"@umijs/fabric": "^2.14.1",
"@umijs/fabric": "^4.0.0",
"cross-env": "^7.0.0",

@@ -68,3 +68,3 @@ "dumi": "^2.1.10",

"less": "^4.2.0",
"np": "^7.6.0",
"np": "^9.2.0",
"prettier": "^3.1.0",

@@ -81,3 +81,3 @@ "rc-form": "^2.4.0",

"classnames": "^2.3.1",
"rc-select": "~14.11.0-0",
"rc-select": "~14.11.0",
"rc-tree": "~5.8.1",

@@ -84,0 +84,0 @@ "rc-util": "^5.37.0"

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