cidr-tools 5.1.2 → 5.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +9 -20
package/index.js CHANGED
@@ -145,7 +145,7 @@ function excludeNets(a, b, v) {
145
145
 
146
146
  const remaining = [];
147
147
  for (const part of parts) {
148
- for (const subpart of subparts(part, v)) {
148
+ for (const subpart of subparts(part)) {
149
149
  remaining.push(formatPart(subpart, v));
150
150
  }
151
151
  }
package/package.json CHANGED
@@ -1,44 +1,33 @@
1
1
  {
2
2
  "name": "cidr-tools",
3
- "version": "5.1.2",
3
+ "version": "5.1.4",
4
4
  "author": "silverwind <me@silverwind.io>",
5
5
  "description": "Tools to work with IPv4 and IPv6 CIDR network lists",
6
6
  "repository": "silverwind/cidr-tools",
7
7
  "license": "BSD-2-Clause",
8
8
  "type": "module",
9
9
  "exports": "./index.js",
10
+ "main": "./index.js",
11
+ "types": "./index.d.ts",
10
12
  "sideEffects": false,
11
13
  "engines": {
12
14
  "node": ">=14"
13
15
  },
14
- "keywords": [
15
- "cidr",
16
- "ip",
17
- "network",
18
- "cidr-tools",
19
- "address",
20
- "ipv4",
21
- "ipv6",
22
- "merge",
23
- "exclude",
24
- "expand"
25
- ],
26
16
  "files": [
27
17
  "index.js",
28
18
  "index.d.ts"
29
19
  ],
30
- "types": "./index.d.ts",
31
20
  "dependencies": {
32
21
  "cidr-regex": "4.0.2",
33
- "ip-bigint": "5.0.3",
22
+ "ip-bigint": "6.0.0",
34
23
  "ip-regex": "5.0.0",
35
24
  "string-natural-compare": "3.0.1"
36
25
  },
37
26
  "devDependencies": {
38
- "eslint": "8.24.0",
39
- "eslint-config-silverwind": "55.0.1",
40
- "jest": "29.0.3",
41
- "updates": "13.1.8",
42
- "versions": "9.3.3"
27
+ "eslint": "8.30.0",
28
+ "eslint-config-silverwind": "65.0.0",
29
+ "updates": "13.2.4",
30
+ "versions": "10.4.1",
31
+ "vitest": "0.25.8"
43
32
  }
44
33
  }