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

k-bucket

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

k-bucket - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

4

index.js

@@ -37,3 +37,3 @@ /*

var events = require('events');
var util = require('util');
var inherits = require('inherits');

@@ -90,3 +90,3 @@ /*

util.inherits(KBucket, events.EventEmitter);
inherits(KBucket, events.EventEmitter);

@@ -93,0 +93,0 @@ KBucket.distance = function distance (firstId, secondId) {

{
"name": "k-bucket",
"version": "0.5.0",
"version": "0.6.0",
"description": "Kademlia DHT K-bucket implementation as a binary tree",

@@ -13,3 +13,4 @@ "scripts": {

"dependencies": {
"buffer-equal": "0.0.1"
"buffer-equal": "0.0.1",
"inherits": "^2.0.1"
},

@@ -30,5 +31,6 @@ "repository": {

"Feross Aboukhadijeh <feross@feross.org>",
"Nathan Hernandez <email@nathanph.com>"
"Nathan Hernandez <email@nathanph.com>",
"Fabien O'Carroll <fabien@allou.is>"
],
"license": "MIT"
}
# k-bucket
_Stability: 2 - [Unstable](https://github.com/tristanls/stability-index#stability-2---unstable)_
_Stability: 2 - [Stable](https://github.com/tristanls/stability-index#stability-2---stable)_

@@ -11,3 +11,3 @@ [![NPM version](https://badge.fury.io/js/k-bucket.png)](http://npmjs.org/package/k-bucket)

[@tristanls](https://github.com/tristanls), [@mikedeboer](https://github.com/mikedeboer), [@deoxxa](https://github.com/deoxxa), [@feross](https://github.com/feross), [@nathanph](https://github.com/nathanph)
[@tristanls](https://github.com/tristanls), [@mikedeboer](https://github.com/mikedeboer), [@deoxxa](https://github.com/deoxxa), [@feross](https://github.com/feross), [@nathanph](https://github.com/nathanph), [@allouis](https://github.com/allouis)

@@ -14,0 +14,0 @@ ## Installation

"use strict";
var bufferEqual = require('buffer-equal');
var events = require('events');

@@ -41,1 +42,8 @@ var KBucket = require('../index.js');

};
test['inherits from EventEmitter'] = function (test) {
test.expect(1);
var kBucket = new KBucket();
test.ok(kBucket instanceof events.EventEmitter);
test.done();
};
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