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 2.2.0 to 2.2.1

2

lib/directory-tree.js

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

item.children = dirData
.map(child => directoryTree(PATH.join(path, child), options, onEachFile))
.map(child => directoryTree(PATH.join(path, child), options, onEachFile, onEachDirectory))
.filter(e => !!e);

@@ -102,0 +102,0 @@ item.size = item.children.reduce((prev, cur) => prev + cur.size, 0);

{
"name": "directory-tree",
"version": "2.1.0",
"version": "2.2.1",
"lockfileVersion": 1,

@@ -5,0 +5,0 @@ "requires": true,

{
"name": "directory-tree",
"version": "2.2.0",
"version": "2.2.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