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

tunnel-ssh

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tunnel-ssh - npm Package Compare versions

Comparing version 5.0.5 to 5.0.6

12

index.js

@@ -53,2 +53,5 @@ const net = require('net');

} catch (e) {
if (server) {
server.close()
}
return reject(e);

@@ -67,3 +70,10 @@ }

forwardOptions.dstPort, (err, stream) => {
connection.pipe(stream).pipe(connection);
if (err) {
if (server) {
server.close()
}
throw err;
} else {
connection.pipe(stream).pipe(connection);
}
});

@@ -70,0 +80,0 @@

4

package.json
{
"name": "tunnel-ssh",
"version": "5.0.5",
"version": "5.0.6",
"description": "Easy extendable SSH tunnel",

@@ -29,4 +29,4 @@ "main": "index.js",

"dependencies": {
"ssh2": "^1.11.0"
"ssh2": "^1.13.0"
}
}

@@ -204,3 +204,3 @@ Tunnel-SSH

return createTunnel(tunnelOptions, serverOptions, sshOptions, autoClose);
return createTunnel(tunnelOptions, serverOptions, sshOptions, forwardOptions);
}

@@ -207,0 +207,0 @@

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