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

rc-tree

Package Overview
Dependencies
Maintainers
2
Versions
308
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tree - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

12

lib/Tree.js

@@ -513,6 +513,8 @@ 'use strict';

children: _react.PropTypes.any,
checkable: _react.PropTypes.oneOfType([_react.PropTypes.bool, _react.PropTypes.node]),
multiple: _react.PropTypes.bool,
showLine: _react.PropTypes.bool,
showIcon: _react.PropTypes.bool,
selectable: _react.PropTypes.bool,
multiple: _react.PropTypes.bool,
checkable: _react.PropTypes.oneOfType([_react.PropTypes.bool, _react.PropTypes.node]),
draggable: _react.PropTypes.bool,
autoExpandParent: _react.PropTypes.bool,

@@ -545,8 +547,8 @@ defaultExpandAll: _react.PropTypes.bool,

prefixCls: 'rc-tree',
showLine: false,
showIcon: true,
selectable: true,
multiple: false,
checkable: false,
draggable: false,
showLine: false,
showIcon: true,
selectable: true,
autoExpandParent: true,

@@ -553,0 +555,0 @@ defaultExpandAll: false,

@@ -290,2 +290,6 @@ 'use strict';

}
// 如果默认不展开,不渲染进dom,在大量数据下,能使性能有很大提升!
if (!props.expanded) {
newChildren = null;
}

@@ -292,0 +296,0 @@ var selectHandle = function selectHandle() {

{
"name": "rc-tree",
"version": "1.1.0",
"version": "1.1.1",
"description": "tree 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