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

multiblob

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiblob - npm Package Compare versions

Comparing version 1.4.0 to 1.4.1

2

package.json
{
"name": "multiblob",
"description": "",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "https://github.com/dominictarr/multiblob",

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

@@ -44,2 +44,11 @@

tape('hasher exposes size', function (t) {
var hasher = util.createHash()
pull(pull.values(random1), hasher, pull.drain())
t.equal(hasher.digest, hash1)
t.equal(hasher.size, 1024*100)
t.end()
})
tape('size of missing hash is null', function (t) {

@@ -46,0 +55,0 @@ blobs.size(hasher([]), function (_, size) {

@@ -20,3 +20,3 @@ var Blake2s = require('blake2s')

data = isBuffer(data) ? data : new Buffer(data)
hasher.byteLength += data.length
hasher.size += data.length
hash.update(data)

@@ -29,3 +29,3 @@ }, function () {

hasher.len = 0
hasher.size = 0

@@ -32,0 +32,0 @@ return hasher

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