cidr-tools
Advanced tools
Comparing version 10.1.0 to 10.1.1
@@ -25,4 +25,4 @@ type IPv4Address = string; | ||
export declare function mergeCidr(nets: Networks): Network[]; | ||
export declare function excludeCidr(base: Networks, excl: Networks): string[]; | ||
export declare function expandCidr(nets: Networks): string[]; | ||
export declare function excludeCidr(base: Networks, excl: Networks): Network[]; | ||
export declare function expandCidr(nets: Networks): Network[]; | ||
export declare function overlapCidr(a: Networks, b: Networks): boolean; | ||
@@ -29,0 +29,0 @@ export declare function containsCidr(a: Networks, b: Networks): boolean; |
@@ -154,4 +154,3 @@ import { ipVersion, parseIp, stringifyIp, normalizeIp } from 'ip-bigint'; | ||
function diff(a, b) { | ||
a += 1n; | ||
return a - b; | ||
return a + 1n - b; | ||
} | ||
@@ -158,0 +157,0 @@ function formatPart(part, version) { |
{ | ||
"name": "cidr-tools", | ||
"version": "10.1.0", | ||
"version": "10.1.1", | ||
"author": "silverwind <me@silverwind.io>", | ||
@@ -20,17 +20,16 @@ "description": "Tools to work with IPv4 and IPv6 CIDR", | ||
"dependencies": { | ||
"ip-bigint": "^8.1.1" | ||
"ip-bigint": "^8.2.0" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "20.14.10", | ||
"eslint": "8.57.0", | ||
"eslint-config-silverwind": "88.2.4", | ||
"eslint-config-silverwind-typescript": "5.1.3", | ||
"eslint-config-silverwind": "89.0.1", | ||
"eslint-config-silverwind-typescript": "6.0.4", | ||
"typescript-config-silverwind": "5.1.3", | ||
"updates": "16.2.1", | ||
"versions": "12.1.2", | ||
"vite": "5.3.3", | ||
"vite": "5.3.4", | ||
"vite-config-silverwind": "3.0.0", | ||
"vitest": "2.0.1", | ||
"vitest": "2.0.4", | ||
"vitest-config-silverwind": "9.1.0" | ||
} | ||
} |
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
17359
10
331
Updatedip-bigint@^8.2.0