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

ssh2-sftp-client

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh2-sftp-client - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "ssh2-sftp-client",
"version": "1.0.4",
"version": "1.0.5",
"description": "ssh2 sftp client for node",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -70,3 +70,7 @@ /**

try {
resolve(sftp.createReadStream(path, useCompression));
let stream = sftp.createReadStream(path, useCompression);
stream.on('error', reject);
resolve(stream);
} catch(err) {

@@ -109,5 +113,4 @@ reject(err);

stream.on('close', () => {
resolve();
});
stream.on('error', reject);
stream.on('close', resolve);

@@ -114,0 +117,0 @@ if (input instanceof Buffer) {

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