New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cidr-tools

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cidr-tools - npm Package Compare versions

Comparing version 5.0.3 to 5.0.4

5

index.js

@@ -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) {

4

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc