New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

sha1

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sha1 - npm Package Compare versions

Comparing version

to
1.0.1

test.js

8

package.json

@@ -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