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 7.0.1 to 8.0.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

#### 8.0.0
* Stop swallowing non-existent cwd errors in `execCommand` #272 (Thanks @dadamssg)
#### 7.0.1

@@ -2,0 +6,0 @@

3

lib/index.js

@@ -168,4 +168,3 @@ "use strict";

if (options.cwd) {
// NOTE: Output piping cd command to hide directory non-existent errors
command = `cd ${(0, _shellEscape.default)([options.cwd])} 1> /dev/null 2> /dev/null; ${command}`;
command = `cd ${(0, _shellEscape.default)([options.cwd])}; ${command}`;
}

@@ -172,0 +171,0 @@

{
"name": "node-ssh",
"version": "7.0.1",
"version": "8.0.0",
"description": "SS2 with Promises",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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