Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ssh-pool

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssh-pool - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

# [5.2.0](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/compare/v5.1.0...v5.2.0) (2020-03-07)
### Bug Fixes
* **windows:** cd must run the specified drive letter ([#252](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/issues/252)) ([ab916a9](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/commit/ab916a9))
* fix remote command wont reject on error, when cwd option is used ([#265](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/issues/265)) ([986aec1](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/commit/986aec1))
# [5.1.0](https://github.com/shipitjs/shipit/tree/master/packages/shipit-deploy/compare/v5.0.0...v5.1.0) (2019-08-28)

@@ -8,0 +20,0 @@

@@ -6,4 +6,10 @@ "use strict";

var _path = _interopRequireDefault(require("path"));
var _util = require("./util");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const isWin = /^win/.test(process.platform);
function formatCdCommand({

@@ -16,3 +22,13 @@ folder

const args = ['cd', folder];
const _path$parse = _path.default.parse(folder),
root = _path$parse.root;
const drive = root.replace(_path.default.sep, '');
if (isWin && root !== '/') {
args.push(`&& ${drive}`);
}
return (0, _util.joinCommandArgs)(args);
}

2

lib/commands/ssh.js

@@ -9,3 +9,3 @@ "use strict";

function wrapCwd(cwd, command) {
return `cd ${cwd} > /dev/null; ${command}; cd - > /dev/null`;
return `cd ${cwd} > /dev/null && ${command}; cd - > /dev/null`;
}

@@ -12,0 +12,0 @@

{
"name": "ssh-pool",
"version": "5.1.0",
"version": "5.2.0",
"description": "Run remote commands over a pool of server using SSH.",

@@ -28,3 +28,3 @@ "engines": {

},
"gitHead": "fb39d5c29987c782e0c5c39dcea95e4e86faa4a2"
"gitHead": "199df664cc59a06e4ed5b8e68746ec72feed6fad"
}
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