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

@atlaskit/tree

Package Overview
Dependencies
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tree - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

3

CHANGELOG.md
# @atlaskit/tree
## 3.0.3
- [patch] Collapsing parent automatically when last child moved out [f4992db](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f4992db)
## 3.0.2

@@ -4,0 +7,0 @@ - [patch] Fixing issue of not calling onDragStart when drag&drop starts [d7be874](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7be874)

4

dist/cjs/utils/tree.js

@@ -130,3 +130,5 @@ 'use strict';

var newTree = mutateTree(tree, position.parentId, {
children: newSourceChildren
children: newSourceChildren,
hasChildren: newSourceChildren.length > 0,
isExpanded: newSourceChildren.length > 0 && sourceParent.isExpanded
});

@@ -133,0 +135,0 @@ return {

@@ -111,3 +111,5 @@ import _getIterator from 'babel-runtime/core-js/get-iterator';

var newTree = mutateTree(tree, position.parentId, {
children: newSourceChildren
children: newSourceChildren,
hasChildren: newSourceChildren.length > 0,
isExpanded: newSourceChildren.length > 0 && sourceParent.isExpanded
});

@@ -114,0 +116,0 @@ return {

{
"name": "@atlaskit/tree",
"version": "3.0.2",
"version": "3.0.3",
"sideEffects": false
}
{
"name": "@atlaskit/tree",
"version": "3.0.2",
"version": "3.0.3",
"description": "A React Component for displaying expandable and sortable tree hierarchies",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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