es6-promise -> bluebird

This commit is contained in:
AJ ONeal 2016-06-21 17:18:27 +08:00
parent 177c34f9da
commit 4abb1df2a8
2 changed files with 2 additions and 2 deletions

View File

@ -181,7 +181,7 @@ function dumpCerts(certs, filename, pemsDir) {
} }
function run(filename) { function run(filename) {
var PromiseA = require('es6-promise').Promise; var PromiseA = require('bluebird').Promise;
return new PromiseA(function (resolve, reject) { return new PromiseA(function (resolve, reject) {
if (!filename) { if (!filename) {

View File

@ -28,7 +28,7 @@
}, },
"homepage": "https://github.com/coolaj86/node-ssl-root-cas", "homepage": "https://github.com/coolaj86/node-ssl-root-cas",
"dependencies": { "dependencies": {
"es6-promise": "^3.2.1", "bluebird": "^3.4.1",
"request": "^2.47.0" "request": "^2.47.0"
} }
} }