Skip to content

Commit e6b0be7

Browse files
committed
1 parent ee6892e commit e6b0be7

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

node_modules/@npmcli/agent/node_modules/socks-proxy-agent/dist/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const debug_1 = __importDefault(require("debug"));
3333
const dns = __importStar(require("dns"));
3434
const net = __importStar(require("net"));
3535
const tls = __importStar(require("tls"));
36+
const url_1 = require("url");
3637
const debug = (0, debug_1.default)('socks-proxy-agent');
3738
function parseSocksURL(url) {
3839
let lookup = false;
@@ -88,7 +89,7 @@ function parseSocksURL(url) {
8889
class SocksProxyAgent extends agent_base_1.Agent {
8990
constructor(uri, opts) {
9091
super(opts);
91-
const url = typeof uri === 'string' ? new URL(uri) : uri;
92+
const url = typeof uri === 'string' ? new url_1.URL(uri) : uri;
9293
const { proxy, lookup } = parseSocksURL(url);
9394
this.shouldLookup = lookup;
9495
this.proxy = proxy;

node_modules/@npmcli/agent/node_modules/socks-proxy-agent/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socks-proxy-agent",
3-
"version": "8.0.1",
3+
"version": "8.0.2",
44
"description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
@@ -107,7 +107,7 @@
107107
"socks5h"
108108
],
109109
"dependencies": {
110-
"agent-base": "^7.0.1",
110+
"agent-base": "^7.0.2",
111111
"debug": "^4.3.4",
112112
"socks": "^2.7.1"
113113
},
@@ -117,16 +117,16 @@
117117
"@types/dns2": "^2.0.3",
118118
"@types/jest": "^29.5.1",
119119
"@types/node": "^14.18.45",
120-
"async-listen": "^2.1.0",
120+
"async-listen": "^3.0.0",
121121
"async-retry": "^1.3.3",
122122
"cacheable-lookup": "^6.1.0",
123123
"dns2": "^2.1.0",
124124
"jest": "^29.5.0",
125125
"socksv5": "github:TooTallNate/socksv5#fix/dstSock-close-event",
126126
"ts-jest": "^29.1.0",
127127
"typescript": "^5.0.4",
128-
"tsconfig": "0.0.0",
129-
"proxy": "2.0.1"
128+
"proxy": "2.1.1",
129+
"tsconfig": "0.0.0"
130130
},
131131
"engines": {
132132
"node": ">= 14"

package-lock.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -2433,12 +2433,12 @@
24332433
}
24342434
},
24352435
"node_modules/@npmcli/agent/node_modules/socks-proxy-agent": {
2436-
"version": "8.0.1",
2437-
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.1.tgz",
2438-
"integrity": "sha512-59EjPbbgg8U3x62hhKOFVAmySQUcfRQ4C7Q/D5sEHnZTQRrQlNKINks44DMR1gwXp0p4LaVIeccX2KHTTcHVqQ==",
2436+
"version": "8.0.2",
2437+
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.2.tgz",
2438+
"integrity": "sha512-8zuqoLv1aP/66PHF5TqwJ7Czm3Yv32urJQHrVyhD7mmA6d61Zv8cIXQYPTWwmg6qlupnPvs/QKDmfa4P/qct2g==",
24392439
"inBundle": true,
24402440
"dependencies": {
2441-
"agent-base": "^7.0.1",
2441+
"agent-base": "^7.0.2",
24422442
"debug": "^4.3.4",
24432443
"socks": "^2.7.1"
24442444
},

0 commit comments

Comments
 (0)