Socket
Socket
Sign inDemoInstall

sha1

Package Overview
Dependencies
2
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc