string2compact
Advanced tools
Comparing version 1.2.4 to 1.2.5
@@ -17,3 +17,3 @@ var addrToIPPort = require('addr-to-ip-port') | ||
var ipBuf = Buffer.from(ip.toByteArray()) | ||
var port = Number(s[1]) | ||
var port = s[1] | ||
var portBuf = Buffer.allocUnsafe(2) | ||
@@ -20,0 +20,0 @@ portBuf.writeUInt16BE(port, 0) |
{ | ||
"name": "string2compact", | ||
"description": "Convert 'hostname:port' strings to BitTorrent's compact ip/host binary returned by Trackers", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"author": "Feross Aboukhadijeh <feross@feross.org> (http://feross.org/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
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
4789