Skip to content

Commit b2fbdca

Browse files
fix: correctly get the IP address from the request headers (#737)
1 parent 24b6757 commit b2fbdca

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
@@ -27,7 +27,7 @@
2727
"@babel/runtime": "7.10.1",
2828
"bluebird": "2.9.25",
2929
"core-js": "3.6.5",
30-
"forest-express": "8.6.0",
30+
"forest-express": "8.6.1",
3131
"http-errors": "1.6.1",
3232
"lodash": "4.17.21",
3333
"moment": "2.19.4",

yarn.lock

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

4786-
4787-
version "8.6.0"
4788-
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.6.0.tgz#0a8a838c1d2da513151729c7312d6d1f73c50b34"
4789-
integrity sha512-zyRtVZxGMt/Uq/3XZyZ9cvvGu98zZf4z5Aarc37LcIgdgK2dn+1BfCd6y6X5pAzdW6sQtFOLSWr1MR98K4TeCA==
4786+
4787+
version "8.6.1"
4788+
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-8.6.1.tgz#0c8ace8c5ba133225b7b8b378e7ce8dd2103c8b0"
4789+
integrity sha512-8ihZmLacw3yD5jjx/pPNhrtayLax3vX2u28BmSKhnhXjBNeeLga7VkmmUDpOj35oASrL/LXH+CJjjo1nhwUSjA==
47904790
dependencies:
47914791
"@babel/runtime" "7.10.1"
47924792
base32-encode "1.1.1"
@@ -4801,6 +4801,7 @@ [email protected]:
48014801
forest-ip-utils "1.0.1"
48024802
http-errors "1.7.3"
48034803
inflected "2.0.4"
4804+
ipaddr.js "2.0.0"
48044805
jsonapi-serializer "3.6.5"
48054806
jsonwebtoken "8.5.1"
48064807
lodash "4.17.21"
@@ -5696,6 +5697,11 @@ [email protected]:
56965697
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
56975698
integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==
56985699

5700+
5701+
version "2.0.0"
5702+
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.0.tgz#77ccccc8063ae71ab65c55f21b090698e763fc6e"
5703+
integrity sha512-S54H9mIj0rbxRIyrDMEuuER86LdlgUg9FSeZ8duQb6CUG2iRrA36MYVQBSprTF/ZeAwvyQ5mDGuNvIPM0BIl3w==
5704+
56995705
is-accessor-descriptor@^0.1.6:
57005706
version "0.1.6"
57015707
resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6"

0 commit comments

Comments
 (0)