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

ssh-tun

Package Overview
Dependencies
Maintainers
3
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh-tun - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

AUTHORS

12

index.js

@@ -25,6 +25,6 @@ 'use strict';

__constructor: function (opts) {
this._host = opts.host;
this._port = this._generateRandomPort(opts.ports);
this.host = opts.host;
this.port = this._generateRandomPort(opts.ports);
this._user = opts.user;
this.proxyHost = util.format('%s:%d', this._host, this._port);
this.proxyHost = util.format('%s:%d', this.host, this.port);
this.proxyUrl = this.proxyHost; // deprecated, use proxyHost

@@ -87,3 +87,3 @@ this._localPort = opts.localport;

_this._tunnel.kill('SIGKILL');
return _this._closeTunnel(_this._host, -1);
return _this._closeTunnel(_this.host, -1);
});

@@ -112,6 +112,6 @@ },

return [
util.format('-R:%d:localhost:%d', this._port, this._localPort),
util.format('-R:%d:localhost:%d', this.port, this._localPort),
'-N',
'-v',
(this._user ? this._user + '@' : '') + this._host
(this._user ? this._user + '@' : '') + this.host
];

@@ -118,0 +118,0 @@ },

{
"name": "ssh-tun",
"version": "1.1.0",
"version": "1.2.0",
"description": "Module for establishing ssh tunnel",

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

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