Socket
Socket
Sign inDemoInstall

node-ssh

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-ssh - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

4

Dist/SSH.js

@@ -207,2 +207,6 @@ (function() {

SSH.prototype.end = function() {
return this.Connection.end();
};
return SSH;

@@ -209,0 +213,0 @@

2

package.json
{
"name": "node-ssh",
"version": "0.2.2",
"version": "0.2.3",
"description": "SS2 with Promises",

@@ -5,0 +5,0 @@ "main": "Dist/SSH.js",

@@ -52,12 +52,13 @@ Node-SSH - SSH2 with Promises

```js
type PutInfo = shape(LocalPath => string, RemotePath => string);
type PutInfo = shape(LocalPath => string, RemotePath => string)
class SSH{
constructor(SSH2Configuration);
connect():Promise<void>;
mkdir(Path:String):Promise<void>;
exec(Command:String, {cwd:String}):Promise<Object{stderr:String, stdout: String};>
put(LocalPath:String, RemotePath:String, ?SFTP: SSH2SFTP, ?Retry:Boolean = true):Promise<void>;
putMulti(Files:array<PutInfo>, ?SFTP: SSH2SFTP):Promise<void>;
get(RemoteFile:String, ?LocalFile:String, ?SFTP: SSH2SFTP):Promise<?string>;
constructor(SSH2Configuration)
connect():Promise<void>
mkdir(Path:String):Promise<void>
exec(Command:String, {cwd:String}):Promise<Object{stderr:String, stdout: String}>
put(LocalPath:String, RemotePath:String, ?SFTP: SSH2SFTP, ?Retry:Boolean = true):Promise<void>
putMulti(Files:array<PutInfo>, ?SFTP: SSH2SFTP):Promise<void>
get(RemoteFile:String, ?LocalFile:String, ?SFTP: SSH2SFTP):Promise<?string>
requestSFTP():Promise<SSH2SFTP>
end():void
}

@@ -64,0 +65,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