Comparing version 0.5.0 to 0.6.0
@@ -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(); | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55008
952
2
+ Addedinherits@^2.0.1
+ Addedinherits@2.0.4(transitive)