Socket
Socket
Sign inDemoInstall

rc-tree

Package Overview
Dependencies
Maintainers
2
Versions
306
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 0.26.0 to 0.26.1

6

HISTORY.md

@@ -8,9 +8,9 @@ # History

## 0.23.x / 2015-12-31
- change onDataLoaded api to loadData
- change `onDataLoaded` api to `loadData`
## 0.22.x / 2015-12-30
- add expandedKeys/onExpand/filterTreeNode API
- add `expandedKeys`/`onExpand`/`filterTreeNode` api
## 0.21.x / 2015-12-25
- add onMouseEnter/onMouseLeave API
- add `onMouseEnter`/`onMouseLeave` api

@@ -17,0 +17,0 @@ ## 0.20.0 / 2015-12-01

@@ -98,8 +98,2 @@ 'use strict';

});
try {
// ie throw error
e.dataTransfer.setData('text/plain', 'firefox-need-it');
} finally {
// empty
}
}

@@ -164,13 +158,12 @@ }, {

var key = treeNode.props.eventKey;
this.setState({
dragOverNodeKey: '',
dropNodeKey: key
});
if (this.dragNodesKeys.indexOf(key) > -1) {
if (console.warn) {
console.warn('can not drop to dragNode and its children');
console.warn('can not drop to dragNode(include it\'s children node)');
}
return;
return false;
}
var st = {
dragOverNodeKey: '',
dropNodeKey: key
};
this.setState(st);

@@ -177,0 +170,0 @@ var posArr = treeNode.props.pos.split('-');

@@ -102,2 +102,8 @@ 'use strict';

this.props.root.onDragStart(e, this);
try {
// ie throw error
e.dataTransfer.setData('text/plain', 'firefox-need-it');
} finally {
// empty
}
}

@@ -104,0 +110,0 @@ }, {

{
"name": "rc-tree",
"version": "0.26.0",
"version": "0.26.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