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.2.2 to 1.2.3-beta

2

lib/Tree.js

@@ -233,3 +233,3 @@ 'use strict';

}
var key = treeNode.key || treeNode.props.eventKey;
var key = treeNode.props.eventKey;
var checkedKeys = [].concat(_toConsumableArray(this.state.checkedKeys));

@@ -236,0 +236,0 @@ var index = checkedKeys.indexOf(key);

@@ -65,2 +65,10 @@ 'use strict';

_createClass(TreeNode, [{
key: 'componentDidMount',
value: function componentDidMount() {
if (!this.props.root._treeNodeInstances) {
this.props.root._treeNodeInstances = [];
}
this.props.root._treeNodeInstances.push(this);
}
}, {
key: 'onCheck',

@@ -67,0 +75,0 @@ value: function onCheck() {

{
"name": "rc-tree",
"version": "1.2.2",
"version": "1.2.3-beta",
"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