Skip to content

Commit 3cb5884

Browse files
committed
1 parent daea981 commit 3cb5884

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

node_modules/socks/build/common/helpers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ function validateCustomProxyAuth(proxy, options) {
104104
function isValidSocksRemoteHost(remoteHost) {
105105
return (remoteHost &&
106106
typeof remoteHost.host === 'string' &&
107+
Buffer.byteLength(remoteHost.host) < 256 &&
107108
typeof remoteHost.port === 'number' &&
108109
remoteHost.port >= 0 &&
109110
remoteHost.port <= 65535);

node_modules/socks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "socks",
33
"private": false,
4-
"version": "2.8.5",
4+
"version": "2.8.6",
55
"description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.",
66
"main": "build/index.js",
77
"typings": "typings/index.d.ts",

package-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14664,9 +14664,9 @@
1466414664
}
1466514665
},
1466614666
"node_modules/socks": {
14667-
"version": "2.8.5",
14668-
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.5.tgz",
14669-
"integrity": "sha512-iF+tNDQla22geJdTyJB1wM/qrX9DMRwWrciEPwWLPRWAUEM8sQiyxgckLxWT1f7+9VabJS0jTGGr4QgBuvi6Ww==",
14667+
"version": "2.8.6",
14668+
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.6.tgz",
14669+
"integrity": "sha512-pe4Y2yzru68lXCb38aAqRf5gvN8YdjP1lok5o0J7BOHljkyCGKVz7H3vpVIXKD27rj2giOJ7DwVyk/GWrPHDWA==",
1467014670
"inBundle": true,
1467114671
"license": "MIT",
1467214672
"dependencies": {

0 commit comments

Comments
 (0)