request-ip
Advanced tools
Comparing version 2.2.0 to 3.0.1
{ | ||
"name": "request-ip", | ||
"version": "2.2.0", | ||
"version": "3.0.1", | ||
"description": "A small Node.js module to retrieve the request's IP address", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -62,3 +62,3 @@ # request-ip | ||
1. `X-Client-IP` | ||
2. `X-Forwarded-For` (Header may return multiple IP addresses in the format: "proxy 1 IP, proxy 2 IP, client IP, ", so we take the the last one.) | ||
2. `X-Forwarded-For` (Header may return multiple IP addresses in the format: "client IP, proxy 1 IP, proxy 2 IP", so we take the first one.) | ||
3. `CF-Connecting-IP` (Cloudflare) | ||
@@ -115,6 +115,3 @@ 4. `Fastly-Client-Ip` (Fastly CDN and Firebase hosting header when forwared to a cloud function) | ||
* Thanks to [@osherx](https://github.com/osherx) for adding the connect-middleware. | ||
* Thanks to [@raunc](https://github.com/raunc) for adding Squid proxy support. | ||
* Thanks to [@fluxsauce](https://github.com/fluxsauce) for adding `CF-Connecting-IP`, `True-Client-IP`, and ES6 support. | ||
* Thanks to [@vishalvijay](https://github.com/vishalvijay) for adding Fastly/Firebase hosting support. | ||
Thank you to all the [contributors](https://github.com/pbojinov/request-ip/graphs/contributors)! | ||
@@ -121,0 +118,0 @@ ## License |
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
9694
119