New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

directory-tree-promise

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-tree-promise - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

lib/directory-tree.js

@@ -9,3 +9,7 @@ const fs = require('fs-promise')

return 'dir'
if (stat.isDirectory()) {
return 'dir'
}
return ''
}

@@ -12,0 +16,0 @@

2

package.json
{
"name": "directory-tree-promise",
"version": "1.0.2",
"version": "1.0.3",
"description": "Asynchronously return a directory tree as a JS object",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -8,3 +8,3 @@ const path = require('path')

it('should always return an object', async () => {
const tree = await directoryTree('./example')
const tree = await directoryTree(testDir)
expect(tree).to.be.an('object')

@@ -11,0 +11,0 @@ })

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