highwayhash
Advanced tools
Comparing version 2.1.1 to 2.2.0
'use strict'; | ||
const HighwayHash = require('./build/Release/highwayhash'); | ||
const HighwayHash = require('./build/Release/highwayhash.node'); | ||
@@ -5,0 +5,0 @@ const assertKey = function (key) { |
{ | ||
"name": "highwayhash", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"author": "Lovell Fuller <npm@lovell.info>", | ||
@@ -8,3 +8,4 @@ "description": "Node.js implementation of HighwayHash, Google's fast and strong hash function", | ||
"scripts": { | ||
"test": "semistandard && cc && node test/unit" | ||
"install": "detect-libc prebuild-install || node-gyp rebuild", | ||
"test": "semistandard && cc && node test/unit && detect-libc prebuild-ci" | ||
}, | ||
@@ -24,3 +25,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"nan": "^2.5.1" | ||
"detect-libc": "^0.2.0", | ||
"nan": "^2.7.0", | ||
"prebuild-install": "^2.2.2" | ||
}, | ||
@@ -30,3 +33,5 @@ "devDependencies": { | ||
"long": "^3.2.0", | ||
"semistandard": "^10.0.0" | ||
"prebuild": "^6.2.1", | ||
"prebuild-ci": "^2.2.3", | ||
"semistandard": "^11.0.0" | ||
}, | ||
@@ -33,0 +38,0 @@ "license": "Apache-2.0", |
@@ -11,4 +11,7 @@ # highwayhash | ||
AVX2 or SSE4.1 instruction sets will be used when available at runtime. | ||
64-bit hash values are platform independent and will not change for a given input. | ||
This is important for applications that write hashes to persistent storage. | ||
SIMD intrinsics (AVX2, SSE4.1) will be used when available at runtime. | ||
Expect up to 8 million operations/second, | ||
@@ -25,7 +28,8 @@ depending on the length of the input and the output type required. | ||
Pre-compiled binaries are provided for the most common platforms. | ||
## Requirements | ||
* x64 CPU (ARM support coming soon) | ||
* x64 CPU | ||
* Node.js v4+ | ||
* [node-gyp](https://github.com/nodejs/node-gyp#installation) and its dependencies | ||
@@ -38,2 +42,6 @@ ## Installation | ||
```sh | ||
yarn add highwayhash | ||
``` | ||
## Usage | ||
@@ -40,0 +48,0 @@ |
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
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
191804
31
171
3
5
+ Addeddetect-libc@^0.2.0
+ Addedprebuild-install@^2.2.2
+ Addedansi-regex@2.1.1(transitive)
+ Addedaproba@1.2.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedbl@1.2.3(transitive)
+ Addedbuffer-alloc@1.2.0(transitive)
+ Addedbuffer-alloc-unsafe@1.1.0(transitive)
+ Addedbuffer-fill@1.0.0(transitive)
+ Addedchownr@1.1.4(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedconsole-control-strings@1.1.0(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddecompress-response@3.3.0(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addeddelegates@1.0.0(transitive)
+ Addeddetect-libc@0.2.01.0.3(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexpand-template@1.1.1(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedgauge@2.7.4(transitive)
+ Addedgithub-from-package@0.0.0(transitive)
+ Addedhas-unicode@2.0.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedmimic-response@1.0.1(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addednode-abi@2.30.1(transitive)
+ Addednoop-logger@0.1.1(transitive)
+ Addednpmlog@4.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedos-homedir@1.0.2(transitive)
+ Addedprebuild-install@2.5.3(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpump@1.0.32.0.1(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsimple-concat@1.0.1(transitive)
+ Addedsimple-get@2.8.2(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtar-fs@1.16.3(transitive)
+ Addedtar-stream@1.6.2(transitive)
+ Addedto-buffer@1.1.1(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwhich-pm-runs@1.1.0(transitive)
+ Addedwide-align@1.1.5(transitive)
+ Addedwrappy@1.0.2(transitive)
+ Addedxtend@4.0.2(transitive)
Updatednan@^2.7.0