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

rc-tree-select

Package Overview
Dependencies
Maintainers
7
Versions
264
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tree-select - npm Package Compare versions

Comparing version 5.12.0 to 5.12.1

27

es/OptionList.js

@@ -64,2 +64,9 @@ import _extends from "@babel/runtime/helpers/esm/extends";

// ========================== Active ==========================
var _React$useState = React.useState(null),
_React$useState2 = _slicedToArray(_React$useState, 2),
activeKey = _React$useState2[0],
setActiveKey = _React$useState2[1];
var activeEntity = keyEntities[activeKey];
// ========================== Values ==========================

@@ -84,2 +91,3 @@ var mergedCheckedKeys = React.useMemo(function () {

});
setActiveKey(checkedKeys[0]);
}

@@ -98,10 +106,10 @@ }, [open]);

// =========================== Keys ===========================
var _React$useState = React.useState(treeDefaultExpandedKeys),
_React$useState2 = _slicedToArray(_React$useState, 2),
expandedKeys = _React$useState2[0],
setExpandedKeys = _React$useState2[1];
var _React$useState3 = React.useState(null),
var _React$useState3 = React.useState(treeDefaultExpandedKeys),
_React$useState4 = _slicedToArray(_React$useState3, 2),
searchExpandedKeys = _React$useState4[0],
setSearchExpandedKeys = _React$useState4[1];
expandedKeys = _React$useState4[0],
setExpandedKeys = _React$useState4[1];
var _React$useState5 = React.useState(null),
_React$useState6 = _slicedToArray(_React$useState5, 2),
searchExpandedKeys = _React$useState6[0],
setSearchExpandedKeys = _React$useState6[1];
var mergedExpandedKeys = React.useMemo(function () {

@@ -144,7 +152,2 @@ if (treeExpandedKeys) {

// ========================= Keyboard =========================
var _React$useState5 = React.useState(null),
_React$useState6 = _slicedToArray(_React$useState5, 2),
activeKey = _React$useState6[0],
setActiveKey = _React$useState6[1];
var activeEntity = keyEntities[activeKey];
React.useImperativeHandle(ref, function () {

@@ -151,0 +154,0 @@ var _treeRef$current2;

@@ -74,2 +74,9 @@ "use strict";

// ========================== Active ==========================
var _React$useState = React.useState(null),
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
activeKey = _React$useState2[0],
setActiveKey = _React$useState2[1];
var activeEntity = keyEntities[activeKey];
// ========================== Values ==========================

@@ -94,2 +101,3 @@ var mergedCheckedKeys = React.useMemo(function () {

});
setActiveKey(checkedKeys[0]);
}

@@ -108,10 +116,10 @@ }, [open]);

// =========================== Keys ===========================
var _React$useState = React.useState(treeDefaultExpandedKeys),
_React$useState2 = (0, _slicedToArray2.default)(_React$useState, 2),
expandedKeys = _React$useState2[0],
setExpandedKeys = _React$useState2[1];
var _React$useState3 = React.useState(null),
var _React$useState3 = React.useState(treeDefaultExpandedKeys),
_React$useState4 = (0, _slicedToArray2.default)(_React$useState3, 2),
searchExpandedKeys = _React$useState4[0],
setSearchExpandedKeys = _React$useState4[1];
expandedKeys = _React$useState4[0],
setExpandedKeys = _React$useState4[1];
var _React$useState5 = React.useState(null),
_React$useState6 = (0, _slicedToArray2.default)(_React$useState5, 2),
searchExpandedKeys = _React$useState6[0],
setSearchExpandedKeys = _React$useState6[1];
var mergedExpandedKeys = React.useMemo(function () {

@@ -154,7 +162,2 @@ if (treeExpandedKeys) {

// ========================= Keyboard =========================
var _React$useState5 = React.useState(null),
_React$useState6 = (0, _slicedToArray2.default)(_React$useState5, 2),
activeKey = _React$useState6[0],
setActiveKey = _React$useState6[1];
var activeEntity = keyEntities[activeKey];
React.useImperativeHandle(ref, function () {

@@ -161,0 +164,0 @@ var _treeRef$current2;

{
"name": "rc-tree-select",
"version": "5.12.0",
"version": "5.12.1",
"description": "tree-select ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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