@tinyhttp/proxy-addr
Advanced tools
Comparing version 2.0.1 to 2.0.2
/// <reference types="node" /> | ||
import { IncomingMessage } from 'http'; | ||
import ipaddr from 'ipaddr.js'; | ||
import { IPv6, IPv4 } from 'ipaddr.js'; | ||
/** | ||
@@ -24,3 +24,3 @@ * Get all addresses in the request, optionally stopping | ||
*/ | ||
export declare function parseIPNotation(note: string): (string | number | ipaddr.IPv4 | ipaddr.IPv6)[]; | ||
export declare function parseIPNotation(note: string): [IPv4 | IPv6, string | number]; | ||
/** | ||
@@ -27,0 +27,0 @@ * Determine address of proxied request. |
{ | ||
"name": "@tinyhttp/proxy-addr", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"type": "module", | ||
@@ -31,3 +31,3 @@ "description": "proxy-addr rewrite with TypeScript and ESM support", | ||
"dependencies": { | ||
"@tinyhttp/forwarded": "2.0.1", | ||
"@tinyhttp/forwarded": "2.0.2", | ||
"ipaddr.js": "^2.0.1" | ||
@@ -34,0 +34,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8529
+ Added@tinyhttp/forwarded@2.0.2(transitive)
- Removed@tinyhttp/forwarded@2.0.1(transitive)
Updated@tinyhttp/forwarded@2.0.2