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

ssh2-sftp-client

Package Overview
Dependencies
Maintainers
2
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 2.5.1 to 2.5.2

4

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

@@ -8,3 +8,3 @@ "main": "src/index.js",

"type": "git",
"url": "https://github.com/theryaz/ssh2-sftp-client"
"url": "https://github.com/theophilusx/ssh2-sftp-client"
},

@@ -11,0 +11,0 @@ "keywords": [

@@ -610,4 +610,8 @@ /**

sftpObj.client.sftp((err, sftp) => {
if (err) {
reject(new Error(`Failed to connect to server: ${err.message}`));
}
sftpObj.client.removeListener('error', reject);
sftpObj.client.removeListener('end', reject);
sftpObj.client.removeListener('ready', reject);
sftpObj.sftp = sftp;

@@ -617,2 +621,3 @@ resolve(sftp);

})
.on('end', reject)

@@ -619,0 +624,0 @@ .on('error', function () {

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