Comparing version 2.8.2 to 2.8.3
@@ -155,3 +155,7 @@ "use strict"; | ||
const address = new ip_address_1.Address6(ip); | ||
return Buffer.from(address.toByteArray()); | ||
return Buffer.from(address | ||
.canonicalForm() | ||
.split(':') | ||
.map((segment) => segment.padStart(4, '0')) | ||
.join(''), 'hex'); | ||
} | ||
@@ -158,0 +162,0 @@ else { |
{ | ||
"name": "socks", | ||
"private": false, | ||
"version": "2.8.2", | ||
"version": "2.8.3", | ||
"description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.", | ||
@@ -6,0 +6,0 @@ "main": "build/index.js", |
Sorry, the diff of this file is not supported yet
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
156302
1516