Skip to content

Commit

Permalink
deps: socks-proxy-agent@8.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Jul 9, 2024
1 parent d8fa116 commit 5e4fa18
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions node_modules/socks-proxy-agent/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ const socks_1 = require("socks");
const agent_base_1 = require("agent-base");
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');
Expand Down Expand Up @@ -154,7 +153,7 @@ class SocksProxyAgent extends agent_base_1.Agent {
const tlsSocket = tls.connect({
...omit(opts, 'host', 'path', 'port'),
socket,
servername: net.isIP(servername) ? undefined : servername,
servername,
});
tlsSocket.once('error', (error) => {
debug('Socket TLS error', error.message);
Expand Down
6 changes: 3 additions & 3 deletions node_modules/socks-proxy-agent/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "socks-proxy-agent",
"version": "8.0.3",
"version": "8.0.4",
"description": "A SOCKS proxy `http.Agent` implementation for HTTP and HTTPS",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -109,7 +109,7 @@
"dependencies": {
"agent-base": "^7.1.1",
"debug": "^4.3.4",
"socks": "^2.7.1"
"socks": "^2.8.3"
},
"devDependencies": {
"@types/async-retry": "^1.4.5",
Expand All @@ -125,7 +125,7 @@
"socksv5": "github:TooTallNate/socksv5#fix/dstSock-close-event",
"ts-jest": "^29.1.0",
"typescript": "^5.0.4",
"proxy": "2.1.1",
"proxy": "2.2.0",
"tsconfig": "0.0.0"
},
"engines": {
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -11728,15 +11728,15 @@
}
},
"node_modules/socks-proxy-agent": {
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.3.tgz",
"integrity": "sha512-VNegTZKhuGq5vSD6XNKlbqWhyt/40CgoEw8XxD6dhnm8Jq9IEa3nIa4HwnM8XOqU0CdB0BwWVXusqiFXfHB3+A==",
"version": "8.0.4",
"resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
"integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
"inBundle": true,
"license": "MIT",
"dependencies": {
"agent-base": "^7.1.1",
"debug": "^4.3.4",
"socks": "^2.7.1"
"socks": "^2.8.3"
},
"engines": {
"node": ">= 14"
Expand Down

0 comments on commit 5e4fa18

Please sign in to comment.