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

multihashes

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multihashes - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

package.json
{
"name": "multihashes",
"version": "0.1.1",
"version": "0.1.2",
"description": "multihash implementation",

@@ -22,3 +22,4 @@ "main": "index.js",

"dependencies": {
"invert-hash": "0.0.0"
"invert-hash": "0.0.0",
"buffer-equal": "0.0.1"
},

@@ -25,0 +26,0 @@ "devDependencies": {

@@ -0,1 +1,2 @@

var bufeq = require('buffer-equal')
var multihash = require('./');

@@ -84,3 +85,3 @@ var invert = require('invert-hash');

var m = 'test encoding ' + test[0][1] + ' ' + hex;
t.ok(r >= test[1] && r <= test[1], m);
t.ok(bufeq(r, test[1]), m);
}

@@ -106,3 +107,3 @@ t.end();

t.is(r.length, length, 'length must be ' + length);
t.ok(d1 <= d2 && d1 >= d2, 'digest decoding ' + test[0][0]);
t.ok(bufeq(d1, d2), 'digest decoding ' + test[0][0]);
}

@@ -109,0 +110,0 @@ t.end();

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