Comparing version
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"repository": { | ||
@@ -22,3 +22,3 @@ "type": "git", | ||
"main": "sha1.js", | ||
"script": { | ||
"scripts": { | ||
"test": "mocha" | ||
@@ -30,4 +30,4 @@ }, | ||
"dependencies": { | ||
"charenc": ">= 0.0.0", | ||
"crypt": ">= 0.0.0" | ||
"charenc": ">= 0.0.1", | ||
"crypt": ">= 0.0.1" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
@@ -11,2 +11,4 @@ (function() { | ||
message = utf8.stringToBytes(message); | ||
else if (!Array.isArray(message)) | ||
message = message.toString(); | ||
// otherwise assume byte array | ||
@@ -13,0 +15,0 @@ |
Sorry, the diff of this file is not supported yet
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
7325
10.85%7
16.67%81
26.56%0
-100%Updated
Updated