ip-address
Advanced tools
Comparing version 5.8.6 to 5.8.7
@@ -888,3 +888,10 @@ 'use strict'; | ||
Address6.prototype.toByteArray = function () { | ||
return this.bigInteger().toByteArray(); | ||
var byteArray = this.bigInteger().toByteArray(); | ||
// work around issue where `toByteArray` returns a leading 0 element | ||
if (byteArray.length === 17 && byteArray[0] === 0) { | ||
return byteArray.slice(1); | ||
} | ||
return byteArray; | ||
}; | ||
@@ -891,0 +898,0 @@ |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "5.8.6", | ||
"version": "5.8.7", | ||
"author": "Beau Gunderson <beau@beaugunderson.com> (https://beaugunderson.com/)", | ||
@@ -13,0 +13,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
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
306087
9895