diff --git a/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/dist/index.js b/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/dist/index.js index 8189e014c13a0..102ecd64c0b9d 100644 --- a/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/dist/index.js +++ b/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/dist/index.js @@ -33,6 +33,7 @@ const debug_1 = __importDefault(require("debug")); const dns = __importStar(require("dns")); const net = __importStar(require("net")); const tls = __importStar(require("tls")); +const url_1 = require("url"); const debug = (0, debug_1.default)('socks-proxy-agent'); function parseSocksURL(url) { let lookup = false; @@ -88,7 +89,7 @@ function parseSocksURL(url) { class SocksProxyAgent extends agent_base_1.Agent { constructor(uri, opts) { super(opts); - const url = typeof uri === 'string' ? new URL(uri) : uri; + const url = typeof uri === 'string' ? new url_1.URL(uri) : uri; const { proxy, lookup } = parseSocksURL(url); this.shouldLookup = lookup; this.proxy = proxy; diff --git a/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/package.json b/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/package.json index a6c7c0741641a..6e1c2c12de367 100644 --- a/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/package.json +++ b/node_modules/@npmcli/agent/node_modules/socks-proxy-agent/package.json @@ -1,6 +1,6 @@ { "name": "socks-proxy-agent", - "version": "8.0.1", + "version": "8.0.2", "description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS", "main": "./dist/index.js", "types": "./dist/index.d.ts", @@ -107,7 +107,7 @@ "socks5h" ], "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "^4.3.4", "socks": "^2.7.1" }, @@ -117,7 +117,7 @@ "@types/dns2": "^2.0.3", "@types/jest": "^29.5.1", "@types/node": "^14.18.45", - "async-listen": "^2.1.0", + "async-listen": "^3.0.0", "async-retry": "^1.3.3", "cacheable-lookup": "^6.1.0", "dns2": "^2.1.0", @@ -125,8 +125,8 @@ "socksv5": "github:TooTallNate/socksv5#fix/dstSock-close-event", "ts-jest": "^29.1.0", "typescript": "^5.0.4", - "tsconfig": "0.0.0", - "proxy": "2.0.1" + "proxy": "2.1.1", + "tsconfig": "0.0.0" }, "engines": { "node": ">= 14" diff --git a/package-lock.json b/package-lock.json index bf6ab69466c5a..68632df20d271 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2433,12 +2433,12 @@ } }, "node_modules/@npmcli/agent/node_modules/socks-proxy-agent": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.1.tgz", - "integrity": "sha512-59EjPbbgg8U3x62hhKOFVAmySQUcfRQ4C7Q/D5sEHnZTQRrQlNKINks44DMR1gwXp0p4LaVIeccX2KHTTcHVqQ==", + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz", + "integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==", "inBundle": true, "dependencies": { - "agent-base": "^7.0.1", + "agent-base": "^7.0.2", "debug": "^4.3.4", "socks": "^2.7.1" },