Socket
Socket
Sign inDemoInstall

rc-tree

Package Overview
Dependencies
Maintainers
11
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 5.6.4 to 5.6.5

8

es/Tree.js

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

var expanded = treeNode.expanded,
key = treeNode.key;
key = treeNode.key,
isLeaf = treeNode.isLeaf;
if (isLeaf || e.shiftKey || e.metaKey || e.ctrlKey) {
return;
}
var node = flattenNodes.filter(function (nodeItem) {

@@ -387,0 +393,0 @@ return nodeItem.key === key;

@@ -417,3 +417,9 @@ "use strict";

var expanded = treeNode.expanded,
key = treeNode.key;
key = treeNode.key,
isLeaf = treeNode.isLeaf;
if (isLeaf || e.shiftKey || e.metaKey || e.ctrlKey) {
return;
}
var node = flattenNodes.filter(function (nodeItem) {

@@ -420,0 +426,0 @@ return nodeItem.key === key;

4

package.json
{
"name": "rc-tree",
"version": "5.6.4",
"version": "5.6.5",
"description": "tree ui component for react",

@@ -40,3 +40,3 @@ "engines": {

"compile": "father build && lessc assets/index.less assets/index.css",
"prepublishOnly": "npm run compile && np --yolo --no-publish --any-branch",
"prepublishOnly": "npm run compile && np --yolo --no-publish",
"postpublish": "npm run gh-pages",

@@ -43,0 +43,0 @@ "lint": "eslint src/ --ext .tsx,.ts,.jsx,.js",

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