Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socks

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socks - npm Package Compare versions

Comparing version 2.4.1 to 2.4.2

6

build/client/socksclient.js

@@ -288,3 +288,4 @@ "use strict";

// If we have enough data to process the next step in the SOCKS handshake, proceed.
if (this.receiveBuffer.length >= this.nextRequiredPacketBufferSize) {
while (this.state !== constants_1.SocksClientState.Established &&
this.receiveBuffer.length >= this.nextRequiredPacketBufferSize) {
// Sent initial handshake, waiting for response.

@@ -318,5 +319,2 @@ if (this.state === constants_1.SocksClientState.SentInitialHandshake) {

}
else if (this.state === constants_1.SocksClientState.Established) {
// do nothing (prevents closing of the socket)
}
else {

@@ -323,0 +321,0 @@ this.closeSocket(constants_1.ERRORS.InternalError);

@@ -10,3 +10,3 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};

@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

{
"name": "socks",
"private": false,
"version": "2.4.1",
"version": "2.4.2",
"description": "Fully featured SOCKS proxy client supporting SOCKSv4, SOCKSv4a, and SOCKSv5. Includes Bind and Associate functionality.",

@@ -36,19 +36,19 @@ "main": "build/index.js",

"devDependencies": {
"@types/chai": "4.2.11",
"@types/chai": "^4.2.12",
"@types/ip": "1.1.0",
"@types/mocha": "7.0.2",
"@types/node": "^14.0.13",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.2",
"chai": "^4.1.2",
"coveralls": "3.1.0",
"mocha": "8.0.1",
"mocha": "^8.1.3",
"nyc": "15.1.0",
"prettier": "^2.0.5",
"prettier": "^2.1.1",
"socks5-server": "^0.1.1",
"ts-node": "8.10.2",
"tslint": "6.1.2",
"ts-node": "^9.0.0",
"tslint": "^6.1.3",
"tslint-config-airbnb": "^5.11.2",
"typescript": "3.9.5"
"typescript": "^4.0.2"
},
"dependencies": {
"ip": "1.1.5",
"ip": "^1.1.5",
"smart-buffer": "^4.1.0"

@@ -55,0 +55,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc