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

tree-dump

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tree-dump - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

lib/printTree.js

@@ -6,5 +6,7 @@ "use strict";

let str = '';
const length = children.length;
const last = length - 1;
for (let i = 0; i < length; i++) {
let last = children.length - 1;
for (; last >= 0; last--)
if (children[last])
break;
for (let i = 0; i <= last; i++) {
const fn = children[i];

@@ -11,0 +13,0 @@ if (!fn)

@@ -7,3 +7,3 @@ {

},
"version": "1.0.0",
"version": "1.0.1",
"description": "High-performance (binary) tree and sorted map implementation (AVL, Splay, Radix, Red-Black)",

@@ -10,0 +10,0 @@ "author": {

@@ -31,2 +31,3 @@ # `tree-dump`

// ├── line 1
// │
// ├── line 2

@@ -33,0 +34,0 @@ // │ ├── line 2.1

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