Comparing version 0.4.0 to 0.4.1
@@ -1,2 +0,2 @@ | ||
var bindings = require("bindings")("argon2_lib"), | ||
var bindings = require("bindings")("argon2"), | ||
crypto = require("crypto"); | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "argon2", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "An Argon2 library for Node", | ||
"main": "index.js", | ||
"scripts": { | ||
"build": "npm run configure && node-gyp build", | ||
"clean": "node-gyp clean && rm -f index-cov.js", | ||
"configure": "node-gyp configure", | ||
"preinstall": "node-gyp rebuild && git submodule update --init", | ||
"test": "npm run build && nodeunit test.spec.js" | ||
"build": "node-gyp configure rebuild", | ||
"clean": "node-gyp clean", | ||
"preinstall": "git submodule update --init && make -C argon2", | ||
"postinstall": "npm run build", | ||
"test": "nodeunit test.spec.js" | ||
}, | ||
@@ -13,0 +13,0 @@ "repository": { |
@@ -1,5 +0,9 @@ | ||
# node-argon2 [![NPM package][npm-image]][npm-url] [![Build status][travis-image]][travis-url] [![Coverage status][coverage-image]][codeclimate-url] [![Code Climate][codeclimate-image]][codeclimate-url] [![Dependencies][david-dm-image]][david-dm-url] | ||
# node-argon2 [![NPM package][npm-image]][npm-url] [![Build status][codeship-image]][codeship-url] [![Coverage status][coverage-image]][coverage-url] [![Code Climate][codeclimate-image]][codeclimate-url] [![Dependencies][david-dm-image]][david-dm-url] | ||
Bindings to the reference [Argon2](https://github.com/P-H-C/phc-winner-argon2) | ||
implementation. | ||
### Before installing | ||
You **MUST** have a C++ compiler and **node-gyp** (globally) installed before | ||
proceeding with the package install. | ||
### Usage | ||
@@ -125,5 +129,6 @@ It's possible to hash a password using both Argon2i (default) and Argon2d, sync | ||
[npm-url]: https://www.npmjs.com/package/argon2 | ||
[travis-image]: https://img.shields.io/travis/ranisalt/node-argon2.svg?style=flat-square | ||
[travis-url]: https://travis-ci.org/ranisalt/node-argon2 | ||
[coverage-image]: https://img.shields.io/codeclimate/coverage/github/ranisalt/node-argon2.svg?style=flat-square | ||
[codeship-image]: https://img.shields.io/codeship/eb7243d0-f615-0132-1cce-020cea137f51/master.svg?style=flat-square | ||
[codeship-url]: https://codeship.com/projects/85936 | ||
[coverage-image]: https://img.shields.io/coveralls/ranisalt/node-argon2/master.svg?style=flat-square | ||
[coverage-url]: https://coveralls.io/github/ranisalt/node-argon2 | ||
[codeclimate-image]: https://img.shields.io/codeclimate/github/ranisalt/node-argon2.svg?style=flat-square | ||
@@ -130,0 +135,0 @@ [codeclimate-url]: https://codeclimate.com/github/ranisalt/node-argon2 |
@@ -1,2 +0,2 @@ | ||
var argon2 = process.env.ARGON2_COVERAGE | ||
var argon2 = process.env.COVERAGE | ||
? require('./index-cov') | ||
@@ -3,0 +3,0 @@ : require('./index'); |
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
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 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
137
1463272
45
460
2