Comparing version
{ | ||
"author": "Paul Vorbach <paul@vorb.de> (http://vorb.de)", | ||
"name": "sha1", | ||
"description": "function for hashing messages with SHA-1", | ||
"tags": [ "sha1", "hash", "encryption" ], | ||
"version": "0.0.1", | ||
"description": "native js function for hashing messages with SHA-1", | ||
"tags": [ | ||
"sha1", | ||
"hash", | ||
"encryption", | ||
"native", | ||
"secure hashing algorithm" | ||
], | ||
"version": "1.0.0", | ||
"repository": { | ||
@@ -15,2 +21,5 @@ "type": "git", | ||
"main": "sha1.js", | ||
"script": { | ||
"test": "mocha" | ||
}, | ||
"engines": { | ||
@@ -20,5 +29,9 @@ "node": "*" | ||
"dependencies": { | ||
"charenc": ">=0.0.0", | ||
"crypt": ">=0.0.0" | ||
} | ||
"charenc": ">= 0.0.0", | ||
"crypt": ">= 0.0.0" | ||
}, | ||
"devDependencies": { | ||
"mocha": "~ 1.4.2" | ||
}, | ||
"optionalDependencies": {} | ||
} |
@@ -7,3 +7,3 @@ (function() { | ||
// The core | ||
sha1 = function(message) { | ||
sha1 = function (message) { | ||
// Convert to byte array | ||
@@ -15,3 +15,3 @@ if (message.constructor == String) | ||
var m = crypt.bytesToWords(message), | ||
l = message.length * 8; | ||
l = message.length * 8, | ||
w = [], | ||
@@ -18,0 +18,0 @@ H0 = 1732584193, |
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 2 instances in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6608
59.15%6
20%1
-50%89
456.25%0
-100%1
Infinity%Updated
Updated