remove bluebird from devDependencies

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š <mbajtoss@gmail.com>
This commit is contained in:
Miroslav Bajtoš 2020-08-28 08:48:07 +02:00
parent 7ce66b5b81
commit 848f1ca230
No known key found for this signature in database
GPG Key ID: 6F2304BA9361C7E3
2 changed files with 0 additions and 4 deletions

View File

@ -28,7 +28,6 @@
"strong-globalize": "^6.0.4" "strong-globalize": "^6.0.4"
}, },
"devDependencies": { "devDependencies": {
"bluebird": "~2.9.10",
"eslint": "^7.7.0", "eslint": "^7.7.0",
"eslint-config-loopback": "^13.1.0", "eslint-config-loopback": "^13.1.0",
"juggler-v3": "file:./deps/juggler-v3", "juggler-v3": "file:./deps/juggler-v3",

View File

@ -4,9 +4,6 @@
// License text available at https://opensource.org/licenses/MIT // License text available at https://opensource.org/licenses/MIT
'use strict'; 'use strict';
if (typeof Promise === 'undefined') {
global.Promise = require('bluebird');
}
const Transaction = require('loopback-datasource-juggler').Transaction; const Transaction = require('loopback-datasource-juggler').Transaction;
require('./init.js'); require('./init.js');
require('should'); require('should');