Skip to content

Commit 97b82a9

Browse files
CLDSRV-738: Replace unmaintained http-proxy
To fix deprecation + socket leaks ``` [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead. ``` - http-party/node-http-proxy#1687 See issue CLDSRV-738 for details and comparison. http-proxy-3 is a fork drop-in replacement. Use an alias (`npm:`) to avoid changing source code imports naming
1 parent 7c13a61 commit 97b82a9

File tree

2 files changed

+14
-20
lines changed

2 files changed

+14
-20
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"cron-parser": "^4.9.0",
3131
"diskusage": "^1.2.0",
3232
"google-auto-auth": "^0.10.1",
33-
"http-proxy": "^1.18.1",
33+
"http-proxy": "npm:http-proxy-3@^1.21.0",
3434
"http-proxy-agent": "^7.0.2",
3535
"https-proxy-agent": "^7.0.5",
3636
"level-mem": "^5.0.1",

yarn.lock

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2076,7 +2076,7 @@ debug@^3.1.0, debug@^3.2.7:
20762076
dependencies:
20772077
ms "^2.1.1"
20782078

2079-
debug@^4.4.1:
2079+
debug@^4.4.0, debug@^4.4.1:
20802080
version "4.4.1"
20812081
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.1.tgz#e5a8bc6cbc4c6cd3e64308b0693a3d4fa550189b"
20822082
integrity sha512-KcKCqiftBJcZr++7ykoDIEwSa3XWowTfNPo92BYxjXiyYEVrUQh2aLyhxBCwww+heortUFxEJYcRzosstTEBYQ==
@@ -2719,11 +2719,6 @@ event-target-shim@^5.0.0:
27192719
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
27202720
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
27212721

2722-
eventemitter3@^4.0.0:
2723-
version "4.0.7"
2724-
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
2725-
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
2726-
27272722
events@1.1.1:
27282723
version "1.1.1"
27292724
resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924"
@@ -2933,11 +2928,16 @@ follow-redirects@1.5.10:
29332928
dependencies:
29342929
debug "=3.1.0"
29352930

2936-
follow-redirects@^1.0.0, follow-redirects@^1.15.6:
2931+
follow-redirects@^1.15.6:
29372932
version "1.15.9"
29382933
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.9.tgz#a604fa10e443bf98ca94228d9eebcc2e8a2c8ee1"
29392934
integrity sha512-gew4GsXizNgdoRyqmyfMHyAmXsZDk6mHkSxZFCzW9gwlbtOW44CDtYavM+y+72qD/Vq2l550kMF52DT8fOLJqQ==
29402935

2936+
follow-redirects@^1.15.9:
2937+
version "1.15.11"
2938+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.11.tgz#777d73d72a92f8ec4d2e410eb47352a56b8e8340"
2939+
integrity sha512-deG2P0JfjrTxl50XGCDyfI97ZGVCxIpfKYmfyrQ54n5FO/0gfIES8C/Psl6kWVDolizcaaxZJnTS0QSMxvnsBQ==
2940+
29412941
for-each@^0.3.3, for-each@^0.3.5:
29422942
version "0.3.5"
29432943
resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.5.tgz#d650688027826920feeb0af747ee7b9421a41d47"
@@ -3393,14 +3393,13 @@ http-proxy-agent@^7.0.0, http-proxy-agent@^7.0.2:
33933393
agent-base "^7.1.0"
33943394
debug "^4.3.4"
33953395

3396-
http-proxy@^1.18.1:
3397-
version "1.18.1"
3398-
resolved "https://registry.yarnpkg.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549"
3399-
integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==
3396+
"http-proxy@npm:http-proxy-3@^1.21.0":
3397+
version "1.21.0"
3398+
resolved "https://registry.yarnpkg.com/http-proxy-3/-/http-proxy-3-1.21.0.tgz#b44ba80c5b13336660e1f7b8d58aa9b869573ff5"
3399+
integrity sha512-emDFVwBqz7D2wnqTVgUov8RXElEuXmpLbTwRA/RCyW8/Pb/o5xdIo4GP5a2Wc4jCzF9BW98bYN2tIp0R1anLZQ==
34003400
dependencies:
3401-
eventemitter3 "^4.0.0"
3402-
follow-redirects "^1.0.0"
3403-
requires-port "^1.0.0"
3401+
debug "^4.4.0"
3402+
follow-redirects "^1.15.9"
34043403

34053404
http-signature@~1.2.0:
34063405
version "1.2.0"
@@ -5780,11 +5779,6 @@ require-main-filename@^2.0.0:
57805779
resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
57815780
integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==
57825781

5783-
requires-port@^1.0.0:
5784-
version "1.0.0"
5785-
resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff"
5786-
integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==
5787-
57885782
resolve-from@^4.0.0:
57895783
version "4.0.0"
57905784
resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6"

0 commit comments

Comments
 (0)