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 10.1.0 to 10.1.1

4

dist/index.d.ts

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

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