Comparing version 1.0.0 to 1.1.0
@@ -83,3 +83,4 @@ /*jslint node: true */ | ||
} | ||
throw new Error('Expected a String or Buffer for input'); | ||
} | ||
}; |
{ | ||
"name": "farmhash", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"author": "Lovell Fuller <npm@lovell.info>", | ||
@@ -26,5 +26,5 @@ "contributors": [ | ||
"dependencies": { | ||
"nan": "^1.7.0" | ||
"nan": "^2.0.5" | ||
}, | ||
"license": "Apache 2.0", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
@@ -31,0 +31,0 @@ "node": ">=0.10" |
# farmhash | ||
Node.js implementation of Google's [FarmHash](https://code.google.com/p/farmhash/) family of very fast hash functions. | ||
Node.js implementation of Google's [FarmHash](https://github.com/google/farmhash) family of very fast hash functions. | ||
FarmHash is the successor to CityHash. Functions in the FarmHash family are not suitable for cryptography. | ||
FarmHash is the successor to CityHash. | ||
Functions in the FarmHash family are not suitable for cryptography. | ||
As the V8 JavaScript engine only natively supports 32-bit unsigned integers, the 64-bit methods return String objects instead of Numbers and the 128-bit methods are not implemented. | ||
As the V8 JavaScript engine only natively supports 32-bit unsigned integers, | ||
the 64-bit methods return String objects instead of Numbers | ||
and the 128-bit methods are not implemented. | ||
This module uses FarmHash v1.1.0 (2015-03-01). | ||
It has been tested with Node.js v0.10, v0.12 and io.js v1.x | ||
It has been tested with Node.js v0.10, v0.12 and io.js v2.x, v3.x | ||
on Linux, OS X and Windows. | ||
@@ -15,3 +18,3 @@ | ||
``` | ||
```sh | ||
npm install farmhash | ||
@@ -110,3 +113,5 @@ ``` | ||
``` | ||
[![Build status](https://ci.appveyor.com/api/projects/status/es9kgsucfhmg8j0l)](https://ci.appveyor.com/project/lovell/farmhash) | ||
```sh | ||
npm test | ||
@@ -113,0 +118,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
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 4 instances in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
760388
21
152
80
6
+ Addednan@2.22.0(transitive)
- Removednan@1.9.0(transitive)
Updatednan@^2.0.5