File tree 3 files changed +11
-10
lines changed
node_modules/@npmcli/agent/node_modules/socks-proxy-agent
3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ const debug_1 = __importDefault(require("debug"));
33
33
const dns = __importStar ( require ( "dns" ) ) ;
34
34
const net = __importStar ( require ( "net" ) ) ;
35
35
const tls = __importStar ( require ( "tls" ) ) ;
36
+ const url_1 = require ( "url" ) ;
36
37
const debug = ( 0 , debug_1 . default ) ( 'socks-proxy-agent' ) ;
37
38
function parseSocksURL ( url ) {
38
39
let lookup = false ;
@@ -88,7 +89,7 @@ function parseSocksURL(url) {
88
89
class SocksProxyAgent extends agent_base_1 . Agent {
89
90
constructor ( uri , opts ) {
90
91
super ( opts ) ;
91
- const url = typeof uri === 'string' ? new URL ( uri ) : uri ;
92
+ const url = typeof uri === 'string' ? new url_1 . URL ( uri ) : uri ;
92
93
const { proxy, lookup } = parseSocksURL ( url ) ;
93
94
this . shouldLookup = lookup ;
94
95
this . proxy = proxy ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " socks-proxy-agent" ,
3
- "version" : " 8.0.1 " ,
3
+ "version" : " 8.0.2 " ,
4
4
"description" : " A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS" ,
5
5
"main" : " ./dist/index.js" ,
6
6
"types" : " ./dist/index.d.ts" ,
107
107
" socks5h"
108
108
],
109
109
"dependencies" : {
110
- "agent-base" : " ^7.0.1 " ,
110
+ "agent-base" : " ^7.0.2 " ,
111
111
"debug" : " ^4.3.4" ,
112
112
"socks" : " ^2.7.1"
113
113
},
117
117
"@types/dns2" : " ^2.0.3" ,
118
118
"@types/jest" : " ^29.5.1" ,
119
119
"@types/node" : " ^14.18.45" ,
120
- "async-listen" : " ^2.1 .0" ,
120
+ "async-listen" : " ^3.0 .0" ,
121
121
"async-retry" : " ^1.3.3" ,
122
122
"cacheable-lookup" : " ^6.1.0" ,
123
123
"dns2" : " ^2.1.0" ,
124
124
"jest" : " ^29.5.0" ,
125
125
"socksv5" : " github:TooTallNate/socksv5#fix/dstSock-close-event" ,
126
126
"ts-jest" : " ^29.1.0" ,
127
127
"typescript" : " ^5.0.4" ,
128
- "tsconfig " : " 0.0.0 " ,
129
- "proxy " : " 2 .0.1 "
128
+ "proxy " : " 2.1.1 " ,
129
+ "tsconfig " : " 0 .0.0 "
130
130
},
131
131
"engines" : {
132
132
"node" : " >= 14"
Original file line number Diff line number Diff line change 2433
2433
}
2434
2434
},
2435
2435
"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 ==",
2439
2439
"inBundle": true,
2440
2440
"dependencies": {
2441
- "agent-base": "^7.0.1 ",
2441
+ "agent-base": "^7.0.2 ",
2442
2442
"debug": "^4.3.4",
2443
2443
"socks": "^2.7.1"
2444
2444
},
You can’t perform that action at this time.
0 commit comments