Socket
Socket
Sign inDemoInstall

rc-tree

Package Overview
Dependencies
Maintainers
2
Versions
305
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.24.0 to 0.24.1

2

lib/Tree.js

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

expandedPosArr.forEach(function (p) {
if (pos.split('-').length < p.split('-').length && p.indexOf(pos) === 0 && filterExpandedKeys.indexOf(newKey) === -1) {
if ((pos.split('-').length < p.split('-').length && p.indexOf(pos) === 0 || pos === p) && filterExpandedKeys.indexOf(newKey) === -1) {
filterExpandedKeys.push(newKey);

@@ -351,0 +351,0 @@ }

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc