+8
-9
lines changedFilter options
+8
-9
lines changed Original file line number Diff line number Diff line change
@@ -31,7 +31,6 @@ const socks_1 = require("socks");
31
31
const agent_base_1 = require("agent-base");
32
32
const debug_1 = __importDefault(require("debug"));
33
33
const dns = __importStar(require("dns"));
34
-
const net = __importStar(require("net"));
35
34
const tls = __importStar(require("tls"));
36
35
const url_1 = require("url");
37
36
const debug = (0, debug_1.default)('socks-proxy-agent');
@@ -154,7 +153,7 @@ class SocksProxyAgent extends agent_base_1.Agent {
154
153
const tlsSocket = tls.connect({
155
154
...omit(opts, 'host', 'path', 'port'),
156
155
socket,
157
-
servername: net.isIP(servername) ? undefined : servername,
156
+
servername,
158
157
});
159
158
tlsSocket.once('error', (error) => {
160
159
debug('Socket TLS error', error.message);
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "socks-proxy-agent",
3
-
"version": "8.0.3",
3
+
"version": "8.0.4",
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",
@@ -109,7 +109,7 @@
109
109
"dependencies": {
110
110
"agent-base": "^7.1.1",
111
111
"debug": "^4.3.4",
112
-
"socks": "^2.7.1"
112
+
"socks": "^2.8.3"
113
113
},
114
114
"devDependencies": {
115
115
"@types/async-retry": "^1.4.5",
@@ -125,7 +125,7 @@
125
125
"socksv5": "github:TooTallNate/socksv5#fix/dstSock-close-event",
126
126
"ts-jest": "^29.1.0",
127
127
"typescript": "^5.0.4",
128
-
"proxy": "2.1.1",
128
+
"proxy": "2.2.0",
129
129
"tsconfig": "0.0.0"
130
130
},
131
131
"engines": {
Original file line number Diff line number Diff line change
@@ -11728,15 +11728,15 @@
11728
11728
}
11729
11729
},
11730
11730
"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==",
11734
11734
"inBundle": true,
11735
11735
"license": "MIT",
11736
11736
"dependencies": {
11737
11737
"agent-base": "^7.1.1",
11738
11738
"debug": "^4.3.4",
11739
-
"socks": "^2.7.1"
11739
+
"socks": "^2.8.3"
11740
11740
},
11741
11741
"engines": {
11742
11742
"node": ">= 14"
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4