Support Happy Eyeballs in proxy-agent

This commit is contained in:
Fedor Indutny
2023-08-30 01:58:48 +02:00
committed by GitHub
parent eae9e570fc
commit 56ba8fea4d
13 changed files with 419 additions and 289 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/node_modules/proxy-agent/dist/index.js b/node_modules/proxy-agent/dist/index.js
index 885d22a..2930652 100644
--- a/node_modules/proxy-agent/dist/index.js
+++ b/node_modules/proxy-agent/dist/index.js
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
exports.ProxyAgent = exports.proxies = void 0;
const http = __importStar(require("http"));
const https = __importStar(require("https"));
+const { URL } = __importStar(require("url"));
const lru_cache_1 = __importDefault(require("lru-cache"));
const agent_base_1 = require("agent-base");
const debug_1 = __importDefault(require("debug"));