From 6cba2ca0f2b264ff144cbf259fd1acc4aa4b95f6 Mon Sep 17 00:00:00 2001 From: "karl.hudgell" Date: Sun, 26 Apr 2020 10:15:58 +0100 Subject: [PATCH] remove some deps --- lib/files.js | 3 --- package-lock.json | 15 --------------- package.json | 6 ------ 3 files changed, 24 deletions(-) diff --git a/lib/files.js b/lib/files.js index 8834bce..f0e2520 100644 --- a/lib/files.js +++ b/lib/files.js @@ -1,8 +1,5 @@ const fs = require('fs'); const path = require('path'); -const dl = require('download-file-with-progressbar'); -var download = require('download-file') - module.exports = { getCurrentDirectoryBase: () => { diff --git a/package-lock.json b/package-lock.json index 98c16b0..a7b5d15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -511,11 +511,6 @@ "to-regex-range": "^5.0.1" } }, - "foreachasync": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/foreachasync/-/foreachasync-5.1.3.tgz", - "integrity": "sha512-q3/l5D2pyZG8aYe9xZQDAnS/KyP7QJakLUNrU/qGkd4bQUTzCUmvVFjagRggoxxjtb1ZrJB+jQeG4ojOLWkztw==" - }, "forever-agent": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", @@ -540,11 +535,6 @@ "readable-stream": "^2.0.0" } }, - "fs": { - "version": "0.0.1-security", - "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", - "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" - }, "fs-extra": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", @@ -920,11 +910,6 @@ "util": "^0.10.3" } }, - "path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" - }, "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", diff --git a/package.json b/package.json index e5315aa..e644ce2 100644 --- a/package.json +++ b/package.json @@ -19,15 +19,9 @@ "download-file": "^0.1.5", "download-file-with-progressbar": "^1.2.3", "figlet": "^1.3.0", - "foreachasync": "^5.1.3", - "fs": "0.0.1-security", "get-files-in": "^1.2.0", "inquirer": "^7.1.0", - "lodash": "^4.17.15", - "minimist": "^1.2.5", "node-downloader-helper": "^1.0.12", - "path": "^0.12.7", - "path-exists": "^4.0.0", "pkg": "^4.4.7", "request-promise-native": "^1.0.8", "shell-exec": "^1.0.2"