bittorrent-tracker
Advanced tools
Comparing version 0.6.0 to 0.6.1
@@ -6,3 +6,3 @@ /* vim: set ts=2 sw=2 sts=2 et: */ | ||
var bn = require('bn.js') | ||
var BN = require('bn.js') | ||
var bncode = require('bncode') | ||
@@ -706,3 +706,3 @@ var compact2string = require('compact2string') | ||
if (n > MAX_UINT || typeof n === 'string') { | ||
var bytes = bn(n).toArray() | ||
var bytes = new BN(n).toArray() | ||
while (bytes.length < 8) { | ||
@@ -709,0 +709,0 @@ bytes.unshift(0) |
{ | ||
"name": "bittorrent-tracker", | ||
"description": "Simple, robust, BitTorrent tracker (client & server) implementation", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"author": { | ||
@@ -22,3 +22,3 @@ "name": "Feross Aboukhadijeh", | ||
"string2compact": "^1.1.0", | ||
"bn.js": "^0.3.1" | ||
"bn.js": "^0.4.3" | ||
}, | ||
@@ -25,0 +25,0 @@ "devDependencies": { |
112812
+ Addedbn.js@0.4.4(transitive)
- Removedbn.js@0.3.1(transitive)
Updatedbn.js@^0.4.3