proxy-addr
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -0,1 +1,6 @@ | ||
1.1.1 / 2016-05-03 | ||
================== | ||
* Fix regression matching mixed versions against multiple subnets | ||
1.1.0 / 2016-05-01 | ||
@@ -2,0 +7,0 @@ ================== |
11
index.js
@@ -269,6 +269,9 @@ /*! | ||
// Convert IP to match subnet IP kind | ||
ipconv = ipconv || subnetkind === 'ipv4' | ||
? ip.toIPv4Address() | ||
: ip.toIPv4MappedAddress(); | ||
if (!ipconv) { | ||
// Convert IP to match subnet IP kind | ||
ipconv = subnetkind === 'ipv4' | ||
? ip.toIPv4Address() | ||
: ip.toIPv4MappedAddress(); | ||
} | ||
trusted = ipconv; | ||
@@ -275,0 +278,0 @@ } |
{ | ||
"name": "proxy-addr", | ||
"description": "Determine address of proxied request", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
13849
255