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.6 to 2.0.0

6

dist/directory-tree.js

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

var fs = require('fs-promise');
var fs = require('fs-extra');
var nPath = require('path');

@@ -48,3 +48,3 @@

var directoryTree = function () {
var _ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {
var _ref = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee2() {
var path = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : __dirname;

@@ -97,3 +97,3 @@ var onEachFile = arguments[1];

return new _promise2.default(function () {
var _ref2 = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee(res, rej) {
var _ref2 = (0, _asyncToGenerator3.default)( /*#__PURE__*/_regenerator2.default.mark(function _callee(res, rej) {
var i;

@@ -100,0 +100,0 @@ return _regenerator2.default.wrap(function _callee$(_context) {

@@ -1,2 +0,2 @@

const fs = require('fs-promise')
const fs = require('fs-extra')
const nPath = require('path')

@@ -75,2 +75,2 @@

module.exports = directoryTree
module.exports = directoryTree
{
"name": "directory-tree-promise",
"version": "1.0.6",
"version": "2.0.0",
"description": "Asynchronously return a directory tree as a JS object",

@@ -40,7 +40,7 @@ "license": "MIT",

"chai": "^3.5.0",
"mocha": "^3.2.0"
"mocha": "^3.5.3"
},
"dependencies": {
"fs-promise": "^2.0.0"
"fs-extra": "^6.0.1"
}
}

Sorry, the diff of this file is not supported yet

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