Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sha.js

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sha.js - npm Package Compare versions

Comparing version 2.1.1 to 2.1.3

6

hexpp.js

@@ -39,7 +39,1 @@

if(!module.parent) {
var b = new Buffer (64)
console.log(hexpp(b))
console.log(hexpp(b, {bigendian: true}))
}

2

package.json
{
"name": "sha.js",
"description": "streaming sha1 hash in pure javascript",
"version": "2.1.1",
"version": "2.1.3",
"homepage": "https://github.com/dominictarr/sha.js",

@@ -6,0 +6,0 @@ "repository": {

@@ -13,3 +13,2 @@

var LE = true
var hexpp = require('./hexpp')
var u = require('./util')

@@ -16,0 +15,0 @@

@@ -23,3 +23,6 @@

t.equal(createHash(alg).update(buf).digest('hex'), v[alg])
t.end()
setTimeout(function () {
//avoid "too much recursion" errors in tape in firefox
t.end()
})
})

@@ -26,0 +29,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc