Skip to content

Commit 848f1ca

Browse files
committed
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>
1 parent 7ce66b5 commit 848f1ca

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"strong-globalize": "^6.0.4"
2929
},
3030
"devDependencies": {
31-
"bluebird": "~2.9.10",
3231
"eslint": "^7.7.0",
3332
"eslint-config-loopback": "^13.1.0",
3433
"juggler-v3": "file:./deps/juggler-v3",

test/transaction.promise.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
// License text available at https://opensource.org/licenses/MIT
55

66
'use strict';
7-
if (typeof Promise === 'undefined') {
8-
global.Promise = require('bluebird');
9-
}
107
const Transaction = require('loopback-datasource-juggler').Transaction;
118
require('./init.js');
129
require('should');

0 commit comments

Comments
 (0)