Skip to content

Commit 36e0e8f

Browse files
committed
Change to use bluebird
1 parent c5bf1fa commit 36e0e8f

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

lib/postgresql.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ var util = require('util');
1616
var debug = require('debug')('loopback:connector:postgresql');
1717

1818
// Add support for node 0.10.x
19-
if (typeof Promise == 'undefined') {
20-
global.Promise = require('promise-polyfill');
21-
}
19+
var Promise = require('bluebird');
2220

2321
/**
2422
*

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@
1818
},
1919
"dependencies": {
2020
"async": "^0.9.0",
21+
"bluebird": "^3.4.6",
2122
"debug": "^2.1.1",
2223
"loopback-connector": "^2.1.0",
2324
"pg": "^6.0.0",
24-
"promise-polyfill": "^6.0.2",
2525
"strong-globalize": "^2.6.2"
2626
},
2727
"devDependencies": {
28-
"bluebird": "^2.9.12",
2928
"eslint": "^2.13.1",
3029
"eslint-config-loopback": "^4.0.0",
3130
"loopback-datasource-juggler": "^3.0.0-alpha.7",

0 commit comments

Comments
 (0)