Comparing version 0.5.0 to 0.6.0
@@ -6,3 +6,3 @@ { | ||
"main": "./bcrypt", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"author": "Nick Campbell (http://github.com/ncb000gt)", | ||
@@ -23,3 +23,2 @@ "engines": { "node": ">= 0.6.0" }, | ||
"scripts": { | ||
"install": "make build", | ||
"test": "make test" | ||
@@ -26,0 +25,0 @@ }, |
@@ -12,2 +12,18 @@ node.bcrypt.js | ||
Version Compatability | ||
============= | ||
<table> | ||
<tr> | ||
<td>Node Ver</td><td>Bcrypt Version</td> | ||
</tr> | ||
<tr> | ||
<td><= 0.4.x</td><td><= 0.4.x</td> | ||
</tr> | ||
<tr> | ||
<td>>= 0.6.x</td><td>>= 0.5.x</td> | ||
</tr> | ||
</table> | ||
Security Issues/Concerns | ||
@@ -26,3 +42,3 @@ ============= | ||
* NodeJS | ||
* OpenSSL | ||
* OpenSSL (Development Libraries (header files) for compilation) | ||
@@ -38,8 +54,11 @@ From NPM | ||
Assuming you've already built node, you can run the waf script: | ||
Assuming you've already built node, you can compile the module with `node-gyp`: | ||
node-waf configure | ||
node-waf build | ||
npm link | ||
git clone git://github.com/ncb000gt/node.bcrypt.js.git | ||
cd node.bcrypt.js | ||
node-gyp configure | ||
node-gyp build | ||
Note: if you do not have node-gyp installed, install it using: `npm install -g node-gyp` | ||
Usage - Sync | ||
@@ -52,3 +71,3 @@ ============ | ||
var salt = bcrypt.genSaltSync(10); | ||
var hash = bcrypt.encryptSync("B4c0/\/", salt); | ||
var hash = bcrypt.hashSync("B4c0/\/", salt); | ||
// Store hash in your password DB. | ||
@@ -182,1 +201,2 @@ | ||
[vadimg]:https://github.com/vadimg | ||
[bnoordhuis]:https://github.com/bnoordhuis |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
83286
20
198
0
1