1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Yadd <yadd@debian.org>
Date: Sat, 22 Nov 2025 16:19:02 +0100
Subject: fix for node-https-proxy-agent >= 7
Forwarded: not-needed
Last-Update: 2023-11-23
---
node_modules/make-fetch-happen/lib/agent.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/node_modules/make-fetch-happen/lib/agent.js b/node_modules/make-fetch-happen/lib/agent.js
index dd68492..7d871b5 100644
--- a/node_modules/make-fetch-happen/lib/agent.js
+++ b/node_modules/make-fetch-happen/lib/agent.js
@@ -169,8 +169,8 @@ const getAuth = u =>
const getPath = u => u.pathname + u.search + u.hash
-const HttpProxyAgent = require('http-proxy-agent')
-const HttpsProxyAgent = require('https-proxy-agent')
+const {HttpProxyAgent} = require('http-proxy-agent')
+const {HttpsProxyAgent} = require('https-proxy-agent')
const { SocksProxyAgent } = require('socks-proxy-agent')
module.exports.getProxy = getProxy
function getProxy (proxyUrl, opts, isHttps) {
|