Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Upgrade node-pre-gyp to fix broken binary downloads
  • Loading branch information
recrsn committed Apr 20, 2018
1 parent ab026b2 commit a8ec17b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
# UNRELEASED

* Update `node-pre-gyp` to allow downloading prebuilt modules
# 2.0.0 (2018-04-07)

* Make `2b` the default bcrypt version
Expand Down
2 changes: 1 addition & 1 deletion bcrypt.js
Expand Up @@ -7,7 +7,7 @@ var bindings = require(binding_path);

var crypto = require('crypto');

var promises = require('./lib/promises');
var promises = require('./promises');

/// generate a salt (sync)
/// @param {Number} [rounds] number of rounds (default 10)
Expand Down
7 changes: 5 additions & 2 deletions package.json
Expand Up @@ -30,11 +30,14 @@
},
"dependencies": {
"nan": "2.10.0",
"node-pre-gyp": "0.9.0"
"node-pre-gyp": "0.9.1"
},
"devDependencies": {
"nodeunit": "~0.11.1"
},
"bundledDependencies": [
"node-pre-gyp"
],
"contributors": [
"Antonio Salazar Cardozo <savedfastcool@gmail.com> (https://github.com/Shadowfiend)",
"Van Nguyen <the.gol.effect@gmail.com> (https://github.com/thegoleffect)",
Expand All @@ -59,4 +62,4 @@
"remote_path": "/kelektiv/node.bcrypt.js/releases/download/v{version}/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz"
}
}
}
File renamed without changes.
2 changes: 1 addition & 1 deletion test/promise.js
@@ -1,5 +1,5 @@
var bcrypt = require('../bcrypt');
var promises = require('../lib/promises');
var promises = require('../promises');

var fail = function(assert, error) {
assert.ok(false, error);
Expand Down

0 comments on commit a8ec17b

Please sign in to comment.