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

directory-tree

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-tree - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

1

lib/directory-tree.js

@@ -25,3 +25,2 @@ 'use strict';

.filter(e => !!e);
if (!item.children.length) return null;
item.size = item.children.reduce((prev, cur) => prev + cur.size, 0);

@@ -28,0 +27,0 @@ } catch(ex) {

2

package.json
{
"name": "directory-tree",
"version": "1.1.0",
"version": "1.1.1",
"description": "Convert a directory tree to a JS object.",

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

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