Comparing version 2.1.0 to 2.1.1
@@ -173,3 +173,3 @@ 'use strict'; | ||
this._strictHostKeyChecking === false ? '-o StrictHostKeyChecking=no' : '', | ||
this._enableDeprecatedSshRsa && '-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa', | ||
this._enableDeprecatedSshRsa && ['-o HostKeyAlgorithms=+ssh-rsa', '-o PubkeyAcceptedKeyTypes=+ssh-rsa'], | ||
this._compression !== undefined ? | ||
@@ -181,3 +181,3 @@ util.format('-o Compression=%s', this._compression ? 'yes' : 'no') | ||
(this.user ? this.user + '@' : '') + this.host | ||
].filter(Boolean); | ||
].filter(Boolean).flat(); | ||
}, | ||
@@ -184,0 +184,0 @@ |
{ | ||
"name": "ssh-tun", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Module for establishing ssh tunnel", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -206,3 +206,4 @@ var Tunnel = require('../'), | ||
expect(sshArgs).to.contain('-o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedKeyTypes=+ssh-rsa'); | ||
expect(sshArgs).to.contain('-o HostKeyAlgorithms=+ssh-rsa'); | ||
expect(sshArgs).to.contain('-o PubkeyAcceptedKeyTypes=+ssh-rsa'); | ||
}); | ||
@@ -209,0 +210,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
25947
531
2