From 21dcf48d4c93912703022a272080c2175f3cce7e Mon Sep 17 00:00:00 2001 From: Connor O'Connor Date: Sat, 23 Nov 2024 01:22:09 -0500 Subject: [PATCH] fix: replace deprecated util._extend with Object.assign() --- lib/http-proxy/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http-proxy/index.js b/lib/http-proxy/index.js index 977a4b362..8dfa44f11 100644 --- a/lib/http-proxy/index.js +++ b/lib/http-proxy/index.js @@ -47,7 +47,7 @@ function createRightProxy(type) { args[cntr] !== res ) { //Copy global options - requestOptions = extend({}, options); + requestOptions = Object.assign({}, options); //Overwrite with request options extend(requestOptions, args[cntr]);