New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ssh-tunneling

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh-tunneling - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/index.d.ts

@@ -59,3 +59,9 @@ import { ConnectConfig as SshConnectConfig } from 'ssh2';

close: (key?: string | number) => Promise<void>;
/**
* execute multiple commands
* @params an array of commands
* @return an result array of every command
*/
batchExec: (commands: string[]) => Promise<string[]>;
}
export { logger, SshTunnel };

@@ -337,2 +337,13 @@ "use strict";

};
/**
* execute multiple commands
* @params an array of commands
* @return an result array of every command
*/
this.batchExec = async (commands) => {
const divider = '__ssh_tunneling_divider__';
const command = commands.join(` && echo ${divider} && `);
const res = await this.exec(command);
return res.split(`${divider}\n`);
};
const { socksServer, ...restConfig } = sshConfig;

@@ -339,0 +350,0 @@ if (socksServer) {

2

package.json
{
"private": false,
"name": "ssh-tunneling",
"version": "1.0.4",
"version": "1.0.5",
"description": "a ssh-tunneling client for nodejs",

@@ -6,0 +6,0 @@ "keywords": ["ssh tunnel", "ssh tunneling", "ssh proxy", "ssh port foward"],

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