@badrap/ipv46
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -63,3 +63,2 @@ "use strict"; | ||
bytes[i] = 0; | ||
bytes[i - 1]++; | ||
} | ||
@@ -198,3 +197,2 @@ return new IPv4(bytes); | ||
words[i] = 0; | ||
words[i - 1]++; | ||
} | ||
@@ -201,0 +199,0 @@ return new IPv6(words); |
{ | ||
"name": "@badrap/ipv46", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Parse, format and compare IPv4/6 addresses", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
@@ -71,3 +71,2 @@ function cmpSameLengthArrays<T>(left: T[], right: T[]): number { | ||
bytes[i] = 0; | ||
bytes[i - 1]++; | ||
} | ||
@@ -225,3 +224,2 @@ return new IPv4(bytes); | ||
words[i] = 0; | ||
words[i - 1]++; | ||
} | ||
@@ -228,0 +226,0 @@ return new IPv6(words); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
52527
918