Skip to content

Commit 522efa2

Browse files
committed
1 parent 7a0723f commit 522efa2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

node_modules/socks/build/common/helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function isValidTimeoutValue(value) {
130130
function ipv4ToInt32(ip) {
131131
const address = new ip_address_1.Address4(ip);
132132
// Convert the IPv4 address parts to an integer
133-
return address.toArray().reduce((acc, part) => (acc << 8) + part, 0);
133+
return address.toArray().reduce((acc, part) => (acc << 8) + part, 0) >>> 0;
134134
}
135135
exports.ipv4ToInt32 = ipv4ToInt32;
136136
function int32ToIpv4(int32) {

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.4",
4+
"version": "2.8.5",
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.4",
14668-
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.4.tgz",
14669-
"integrity": "sha512-D3YaD0aRxR3mEcqnidIs7ReYJFVzWdd6fXJYUM8ixcQcJRGTka/b3saV0KflYhyVJXKhb947GndU35SxYNResQ==",
14667+
"version": "2.8.5",
14668+
"resolved": "https://registry.npmjs.org/socks/-/socks-2.8.5.tgz",
14669+
"integrity": "sha512-iF+tNDQla22geJdTyJB1wM/qrX9DMRwWrciEPwWLPRWAUEM8sQiyxgckLxWT1f7+9VabJS0jTGGr4QgBuvi6Ww==",
1467014670
"inBundle": true,
1467114671
"license": "MIT",
1467214672
"dependencies": {

0 commit comments

Comments
 (0)