Socket
Socket
Sign inDemoInstall

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 9.0.2 to 9.0.3

4

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

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

"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"eslint-plugin-unicorn": "^43.0.2",
"mocha": "^10.0.0",

@@ -46,0 +46,0 @@ "moment": "^2.29.1",

@@ -224,13 +224,13 @@ 'use strict';

case 'ERR_SOCKET_BAD_PORT':
throw err;
case undefined: {
if (err.message.endsWith('All configured authentication methods failed')) {
throw this.fmtError(err.message, 'getConnection', errorCode.badAuth);
throw err;
case undefined: {
if (err.message.endsWith('All configured authentication methods failed')) {
throw this.fmtError(err.message, 'getConnection', errorCode.badAuth);
}
retry(err);
break;
}
retry(err);
break;
default:
retry(err);
}
default:
retry(err);
}
}

@@ -418,3 +418,3 @@ });

* the supplied pattern. Return value is an array of file entry
* objects that include properties for type, name, size, modifiyTime,
* objects that include properties for type, name, size, modifyTime,
* accessTime, rights {user, group other}, owner and group.

@@ -503,2 +503,5 @@ *

rdr.once('error', (err) => {
if (dst && typeof dst !== 'string' && !dst.destroyed) {
dst.destroy();
}
reject(this.fmtError(`${err.message} ${rPath}`, '_get', err.code));

@@ -1449,3 +1452,3 @@ });

this.on('close', endCloseHandler);
if (this.client) {
if (this.client.sftp) {
this.client.end();

@@ -1452,0 +1455,0 @@ } else {

Sorry, the diff of this file is too big to display

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