From 9e320bf59e2de1d9e673caa424a2fbb177e25f9a Mon Sep 17 00:00:00 2001 From: magicalunicorn Date: Sun, 15 Sep 2019 22:40:49 +0200 Subject: [PATCH] Adding Bluebird but in the latest version --- SMLoadr.js | 1 + package.json | 3 ++- yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/SMLoadr.js b/SMLoadr.js index 7383452..3c92a3a 100644 --- a/SMLoadr.js +++ b/SMLoadr.js @@ -11,6 +11,7 @@ * DASH: XmHzFcygcwtqabgfEtJyq9cen1G5EnvuGR */ +const Promise = require('bluebird'); const chalk = require('chalk'); const ora = require('ora'); const sanitize = require('sanitize-filename'); diff --git a/package.json b/package.json index 44c591f..a2a870e 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "url": "https://git.fuwafuwa.moe/SMLoadrDev/SMLoadr.git" }, "engines": { - "node": ">=8.0.0" + "node": "^12.0.0" }, "dependencies": { "cache-manager": "^2.10.0", @@ -24,6 +24,7 @@ "jsonfile": "^5.0.0", "openurl": "^1.1.1", "ora": "^3.4.0", + "bluebird": "^3.5.5", "request": "^2.88.0", "request-plus": "^2.0.0", "sanitize-filename": "^1.6.3", diff --git a/yarn.lock b/yarn.lock index 062f7b8..1452cd9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -211,6 +211,11 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" +bluebird@^3.5.5: + version "3.5.5" + resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.5.tgz#a8d0afd73251effbbd5fe384a77d73003c17a71f" + integrity sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w== + brace-expansion@^1.1.7: version "1.1.11" resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"