bittorrent-dht
Advanced tools
Comparing version 5.1.2 to 5.1.3
@@ -650,2 +650,3 @@ module.exports = DHT | ||
var nodeIdBuffer = idToBuffer(nodeId) | ||
if (!nodeIdBuffer) return | ||
nodeId = idToHexString(nodeId) | ||
@@ -1685,4 +1686,6 @@ | ||
return id | ||
} else if (typeof id === 'string') { | ||
return new Buffer(id, 'hex') | ||
} else { | ||
return new Buffer(id, 'hex') | ||
return null | ||
} | ||
@@ -1689,0 +1692,0 @@ } |
{ | ||
"name": "bittorrent-dht", | ||
"description": "Simple, robust, BitTorrent DHT implementation", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh", |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
95076
2640
0