Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cidr-tools

Package Overview
Dependencies
Maintainers
1
Versions
92
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 6.0.0 to 6.0.1

3

index.js
import ipRegex from "ip-regex";
import cidrRegex from "cidr-regex";
import naturalCompare from "string-natural-compare";
import {parseIp, stringifyIp} from "ip-bigint";
import {parseIp, stringifyIp, normalizeIp} from "ip-bigint";

@@ -11,3 +11,2 @@ const bits = {

const normalizeIp = str => stringifyIp(parseIp(str));
const uniq = arr => Array.from(new Set(arr));

@@ -14,0 +13,0 @@

{
"name": "cidr-tools",
"version": "6.0.0",
"version": "6.0.1",
"author": "silverwind <me@silverwind.io>",

@@ -5,0 +5,0 @@ "description": "Tools to work with IPv4 and IPv6 CIDR network lists",

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