Socket
Socket
Sign inDemoInstall

rc-tree

Package Overview
Dependencies
5
Maintainers
10
Versions
305
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.3.5 to 5.3.6

3

es/util.js

@@ -15,2 +15,3 @@ import _toConsumableArray from "@babel/runtime/helpers/esm/toConsumableArray";

export function arrDel(list, value) {
if (!list) return [];
var clone = list.slice();

@@ -26,3 +27,3 @@ var index = clone.indexOf(value);

export function arrAdd(list, value) {
var clone = list.slice();
var clone = (list || []).slice();

@@ -29,0 +30,0 @@ if (clone.indexOf(value) === -1) {

@@ -37,2 +37,3 @@ "use strict";

function arrDel(list, value) {
if (!list) return [];
var clone = list.slice();

@@ -49,3 +50,3 @@ var index = clone.indexOf(value);

function arrAdd(list, value) {
var clone = list.slice();
var clone = (list || []).slice();

@@ -52,0 +53,0 @@ if (clone.indexOf(value) === -1) {

{
"name": "rc-tree",
"version": "5.3.5",
"version": "5.3.6",
"description": "tree ui component for react",

@@ -5,0 +5,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc