cidr-tools
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -15,2 +15,3 @@ import IPCIDR from "ip-cidr"; | ||
const bigint = numberstring => new BigInteger(numberstring); | ||
const uniq = arr => [...new Set(arr)]; | ||
@@ -77,6 +78,2 @@ const zero = bigint("0"); | ||
function uniq(arr) { | ||
return [...new Set(arr)]; | ||
} | ||
// utility function that returns boundaries of two networks | ||
@@ -83,0 +80,0 @@ function getBoundaries(a, b) { |
{ | ||
"name": "cidr-tools", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"author": "silverwind <me@silverwind.io>", | ||
@@ -31,3 +31,3 @@ "description": "Tools to work with IPv4 and IPv6 CIDR network lists", | ||
"dependencies": { | ||
"ip-bigint": "4.0.0", | ||
"ip-bigint": "5.0.0", | ||
"ip-cidr": "^3.0.10", | ||
@@ -34,0 +34,0 @@ "ip-regex": "5.0.0", |
# cidr-tools | ||
[![](https://img.shields.io/npm/v/cidr-tools.svg?style=flat)](https://www.npmjs.org/package/cidr-tools) | ||
[![](https://img.shields.io/npm/dm/cidr-tools.svg)](https://www.npmjs.org/package/cidr-tools) | ||
[![](https://img.shields.io/npm/dm/cidr-tools.svg)](https://www.npmjs.org/package/cidr-tools) [![](https://img.shields.io/bundlephobia/minzip/cidr-tools.svg)](https://bundlephobia.com/package/cidr-tools) | ||
> Tools to work with IPv4 and IPv6 CIDR network lists | ||
@@ -5,0 +5,0 @@ |
15931
357
+ Addedip-bigint@5.0.0(transitive)
- Removedip-bigint@4.0.0(transitive)
Updatedip-bigint@5.0.0