From 848f1ca230fd37a01d9ca13d635c9b95d0334bbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Fri, 28 Aug 2020 08:48:07 +0200 Subject: [PATCH] remove bluebird from devDependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We were using bluebird as a Promise implementation for Node.js versions that did not provide a native Promise (i.e. Node.js 0.10 & 0.12). There is no need for that anymore, since Node.js have been shipping native Promise implementation for years by now. Signed-off-by: Miroslav Bajtoš --- package.json | 1 - test/transaction.promise.test.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/package.json b/package.json index 2f24001..d7158f5 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "strong-globalize": "^6.0.4" }, "devDependencies": { - "bluebird": "~2.9.10", "eslint": "^7.7.0", "eslint-config-loopback": "^13.1.0", "juggler-v3": "file:./deps/juggler-v3", diff --git a/test/transaction.promise.test.js b/test/transaction.promise.test.js index e9bc83e..bf04bed 100644 --- a/test/transaction.promise.test.js +++ b/test/transaction.promise.test.js @@ -4,9 +4,6 @@ // License text available at https://opensource.org/licenses/MIT 'use strict'; -if (typeof Promise === 'undefined') { - global.Promise = require('bluebird'); -} const Transaction = require('loopback-datasource-juggler').Transaction; require('./init.js'); require('should');