Skip to content

Commit 5e4fa18

Browse files
committedJul 9, 2024
deps: socks-proxy-agent@8.0.4
1 parent d8fa116 commit 5e4fa18

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed
 

Diff for: ‎node_modules/socks-proxy-agent/dist/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ const socks_1 = require("socks");
3131
const agent_base_1 = require("agent-base");
3232
const debug_1 = __importDefault(require("debug"));
3333
const dns = __importStar(require("dns"));
34-
const net = __importStar(require("net"));
3534
const tls = __importStar(require("tls"));
3635
const url_1 = require("url");
3736
const debug = (0, debug_1.default)('socks-proxy-agent');
@@ -154,7 +153,7 @@ class SocksProxyAgent extends agent_base_1.Agent {
154153
const tlsSocket = tls.connect({
155154
...omit(opts, 'host', 'path', 'port'),
156155
socket,
157-
servername: net.isIP(servername) ? undefined : servername,
156+
servername,
158157
});
159158
tlsSocket.once('error', (error) => {
160159
debug('Socket TLS error', error.message);

Diff for: ‎node_modules/socks-proxy-agent/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "socks-proxy-agent",
3-
"version": "8.0.3",
3+
"version": "8.0.4",
44
"description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS",
55
"main": "./dist/index.js",
66
"types": "./dist/index.d.ts",
@@ -109,7 +109,7 @@
109109
"dependencies": {
110110
"agent-base": "^7.1.1",
111111
"debug": "^4.3.4",
112-
"socks": "^2.7.1"
112+
"socks": "^2.8.3"
113113
},
114114
"devDependencies": {
115115
"@types/async-retry": "^1.4.5",
@@ -125,7 +125,7 @@
125125
"socksv5": "github:TooTallNate/socksv5#fix/dstSock-close-event",
126126
"ts-jest": "^29.1.0",
127127
"typescript": "^5.0.4",
128-
"proxy": "2.1.1",
128+
"proxy": "2.2.0",
129129
"tsconfig": "0.0.0"
130130
},
131131
"engines": {

Diff for: ‎package-lock.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -11728,15 +11728,15 @@
1172811728
}
1172911729
},
1173011730
"node_modules/socks-proxy-agent": {
11731-
"version": "8.0.3",
11732-
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.3.tgz",
11733-
"integrity": "sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A==",
11731+
"version": "8.0.4",
11732+
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
11733+
"integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
1173411734
"inBundle": true,
1173511735
"license": "MIT",
1173611736
"dependencies": {
1173711737
"agent-base": "^7.1.1",
1173811738
"debug": "^4.3.4",
11739-
"socks": "^2.7.1"
11739+
"socks": "^2.8.3"
1174011740
},
1174111741
"engines": {
1174211742
"node": ">= 14"

0 commit comments

Comments
 (0)
Please sign in to comment.