refactor(net): consolidate IP checks with ipaddr.js

This commit is contained in:
Peter Steinberger
2026-02-22 17:02:34 +01:00
parent 337eef55d7
commit 333fbb8634
9 changed files with 418 additions and 480 deletions

29
pnpm-lock.yaml generated
View File

@@ -119,6 +119,9 @@ importers:
https-proxy-agent:
specifier: ^7.0.6
version: 7.0.6
ipaddr.js:
specifier: ^2.3.0
version: 2.3.0
jiti:
specifier: ^2.6.1
version: 2.6.1
@@ -4076,6 +4079,10 @@ packages:
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
engines: {node: '>= 0.10'}
ipaddr.js@2.3.0:
resolution: {integrity: sha512-Zv/pA+ciVFbCSBBjGfaKUya/CcGmUHzTydLMaTwrUUEM2DIEO3iZvueGxmacvmN50fGpGVKeTXpb2LcYQxeVdg==}
engines: {node: '>= 10'}
ipull@3.9.3:
resolution: {integrity: sha512-ZMkxaopfwKHwmEuGDYx7giNBdLxbHbRCWcQVA1D2eqE4crUguupfxej6s7UqbidYEwT69dkyumYkY8DPHIxF9g==}
engines: {node: '>=18.0.0'}
@@ -6873,7 +6880,7 @@ snapshots:
'@larksuiteoapi/node-sdk@1.59.0':
dependencies:
axios: 1.13.5(debug@4.4.3)
axios: 1.13.5
lodash.identity: 3.0.0
lodash.merge: 4.6.2
lodash.pickby: 4.6.0
@@ -6889,7 +6896,7 @@ snapshots:
dependencies:
'@types/node': 24.10.13
optionalDependencies:
axios: 1.13.5(debug@4.4.3)
axios: 1.13.5
transitivePeerDependencies:
- debug
@@ -7078,7 +7085,7 @@ snapshots:
'@azure/core-auth': 1.10.1
'@azure/msal-node': 5.0.4
'@microsoft/agents-activity': 1.3.1
axios: 1.13.5(debug@4.4.3)
axios: 1.13.5
jsonwebtoken: 9.0.3
jwks-rsa: 3.2.2
object-path: 0.11.8
@@ -7980,7 +7987,7 @@ snapshots:
'@slack/types': 2.20.0
'@slack/web-api': 7.14.1
'@types/express': 5.0.6
axios: 1.13.5(debug@4.4.3)
axios: 1.13.5
express: 5.2.1
path-to-regexp: 8.3.0
raw-body: 3.0.2
@@ -8026,7 +8033,7 @@ snapshots:
'@slack/types': 2.20.0
'@types/node': 25.3.0
'@types/retry': 0.12.0
axios: 1.13.5(debug@4.4.3)
axios: 1.13.5
eventemitter3: 5.0.4
form-data: 2.5.4
is-electron: 2.2.2
@@ -8915,6 +8922,14 @@ snapshots:
aws4@1.13.2: {}
axios@1.13.5:
dependencies:
follow-redirects: 1.15.11
form-data: 2.5.4
proxy-from-env: 1.1.0
transitivePeerDependencies:
- debug
axios@1.13.5(debug@4.4.3):
dependencies:
follow-redirects: 1.15.11(debug@4.4.3)
@@ -9484,6 +9499,8 @@ snapshots:
flatbuffers@24.12.23: {}
follow-redirects@1.15.11: {}
follow-redirects@1.15.11(debug@4.4.3):
optionalDependencies:
debug: 4.4.3
@@ -9808,6 +9825,8 @@ snapshots:
ipaddr.js@1.9.1: {}
ipaddr.js@2.3.0: {}
ipull@3.9.3:
dependencies:
'@tinyhttp/content-disposition': 2.2.4