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
265
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.24.4 to 5.24.5

7

es/OptionList.js

@@ -252,4 +252,4 @@ import _extends from "@babel/runtime/helpers/esm/extends";

});
var loadDataFun = useMemo(function () {
return searchValue ? null : loadData;
var hasLoadDataFn = useMemo(function () {
return searchValue ? false : true;
}, [searchValue, treeExpandedKeys || expandedKeys], function (_ref2, _ref3) {

@@ -263,2 +263,3 @@ var _ref4 = _slicedToArray(_ref2, 1),

});
var syncLoadData = hasLoadDataFn ? loadData : null;

@@ -301,3 +302,3 @@ // ========================== Render ==========================

showLine: treeLine,
loadData: loadDataFun,
loadData: syncLoadData,
motion: treeMotion,

@@ -304,0 +305,0 @@ activeKey: activeKey

@@ -260,4 +260,4 @@ "use strict";

});
var loadDataFun = (0, _useMemo.default)(function () {
return searchValue ? null : loadData;
var hasLoadDataFn = (0, _useMemo.default)(function () {
return searchValue ? false : true;
}, [searchValue, treeExpandedKeys || expandedKeys], function (_ref2, _ref3) {

@@ -271,2 +271,3 @@ var _ref4 = (0, _slicedToArray2.default)(_ref2, 1),

});
var syncLoadData = hasLoadDataFn ? loadData : null;

@@ -309,3 +310,3 @@ // ========================== Render ==========================

showLine: treeLine,
loadData: loadDataFun,
loadData: syncLoadData,
motion: treeMotion,

@@ -312,0 +313,0 @@ activeKey: activeKey

{
"name": "rc-tree-select",
"version": "5.24.4",
"version": "5.24.5",
"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