Skip to content

Commit

Permalink
use any-promise
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanong committed Feb 28, 2016
1 parent 7e6b4fb commit 5c9872a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

var Promise = require('any-promise')
var bcrypt = require('bcrypt')
var Promise = require('native-or-bluebird')

exports.hash = function (password, salt) {
salt = salt || 10
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "MIT",
"repository": "thenables/bcrypt-then",
"dependencies": {
"bcrypt": "^0.8.0",
"native-or-bluebird": "^1.1.1"
"any-promise": "^1.1.0",
"bcrypt": "^0.8.0"
},
"devDependencies": {
"bluebird": "^3.1.1",
Expand Down

0 comments on commit 5c9872a

Please sign in to comment.