Skip to content

Commit e8349bf

Browse files
fix: correctly get the IP address from the request headers (#592)
1 parent dc6ae5f commit e8349bf

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dependencies": {
2727
"@babel/runtime": "7.10.1",
2828
"bluebird": "2.9.25",
29-
"forest-express": "8.6.0",
29+
"forest-express": "8.6.1",
3030
"http-errors": "1.7.2",
3131
"lodash": "4.17.21",
3232
"moment": "2.24.0",

yarn.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4603,10 +4603,10 @@ for-in@^1.0.2:
46034603
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
46044604
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=
46054605

4606-
4607-
version "8.6.0"
4608-
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.6.0.tgz#0a8a838c1d2da513151729c7312d6d1f73c50b34"
4609-
integrity sha512-zyRtVZxGMt/Uq/3XZyZ9cvvGu98zZf4z5Aarc37LcIgdgK2dn+1BfCd6y6X5pAzdW6sQtFOLSWr1MR98K4TeCA==
4606+
4607+
version "8.6.1"
4608+
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.6.1.tgz#0c8ace8c5ba133225b7b8b378e7ce8dd2103c8b0"
4609+
integrity sha512-8ihZmLacw3yD5jjx/pPNhrtayLax3vX2u28BmSKhnhXjBNeeLga7VkmmUDpOj35oASrL/LXH+CJjjo1nhwUSjA==
46104610
dependencies:
46114611
"@babel/runtime" "7.10.1"
46124612
base32-encode "1.1.1"
@@ -4621,6 +4621,7 @@ [email protected]:
46214621
forest-ip-utils "1.0.1"
46224622
http-errors "1.7.3"
46234623
inflected "2.0.4"
4624+
ipaddr.js "2.0.0"
46244625
jsonapi-serializer "3.6.5"
46254626
jsonwebtoken "8.5.1"
46264627
lodash "4.17.21"
@@ -5461,6 +5462,11 @@ [email protected]:
54615462
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
54625463
integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==
54635464

5465+
5466+
version "2.0.0"
5467+
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.0.tgz#77ccccc8063ae71ab65c55f21b090698e763fc6e"
5468+
integrity sha512-S54H9mIj0rbxRIyrDMEuuER86LdlgUg9FSeZ8duQb6CUG2iRrA36MYVQBSprTF/ZeAwvyQ5mDGuNvIPM0BIl3w==
5469+
54645470
is-accessor-descriptor@^0.1.6:
54655471
version "0.1.6"
54665472
resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6"

0 commit comments

Comments
 (0)