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

ssh2

Package Overview
Dependencies
Maintainers
1
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh2 - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

8

lib/SFTP/SFTPv3.js

@@ -175,2 +175,3 @@ var EventEmitter = require('events').EventEmitter,

p = 9,
pos = position,
buf = new Buffer(4 + 1 + 4 + 4 + handlelen + 8 + 4);

@@ -182,4 +183,4 @@ buf[4] = REQUEST.READ;

for (var i = 7; i >= 0; --i) {
buf[p + i] = position & 0xFF;
position /= 256;
buf[p + i] = pos & 0xFF;
pos /= 256;
}

@@ -191,3 +192,3 @@ buf.writeUInt32BE(length, p += 8, true);

return cb(err);
cb(undefined, bytesRead || 0, data);
cb(undefined, bytesRead || 0, data, position);
}, buffer.slice(offset, offset + length));

@@ -774,3 +775,2 @@ };

this._value *= 256;
this._value <<= 8;
this._value += chunk[chunk.i];

@@ -777,0 +777,0 @@ --this._data.len;

{ "name": "ssh2",
"version": "0.1.10",
"version": "0.1.11",
"author": "Brian White <mscdex@mscdex.net>",

@@ -4,0 +4,0 @@ "description": "An SSH2 client module written in pure JavaScript for node.js",

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