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.3.0 to 1.4.0

2

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

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

@@ -5,2 +5,4 @@ var Blake2s = require('blake2s')

var isBuffer = Buffer.isBuffer
exports.toPath = function (dir, hash) {

@@ -18,2 +20,4 @@ var i = hash.indexOf('.')

var hasher = pull.through(function (data) {
data = isBuffer(data) ? data : new Buffer(data)
hasher.byteLength += data.length
hash.update(data)

@@ -26,2 +30,4 @@ }, function () {

hasher.len = 0
return hasher

@@ -28,0 +34,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