Socket
Socket
Sign inDemoInstall

desplega-api

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

desplega-api - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

10

dist/Remote.js

@@ -67,6 +67,6 @@ "use strict";

catch (error) {
return reject({
error: new Error(`There was a problem trying to connect to the host ${this.connectConfig.host}: ${error.message}`),
stderr: '',
stdout: ''
return this.resetConnection().then(() => {
return reject({
error: new Error(`There was a problem trying to connect to the host ${this.connectConfig.host}: ${error.message}`)
});
});

@@ -77,3 +77,3 @@ }

if (error) {
return reject({ error, stderr: '', stdout: '' });
return reject({ error });
}

@@ -80,0 +80,0 @@ else {

{
"name": "desplega-api",
"version": "3.1.0",
"version": "3.1.1",
"description": "Series of useful modules to create rich automation pipelines",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -63,6 +63,6 @@ import { Client, ConnectConfig, ClientChannel } from 'ssh2'

} catch (error) {
return reject({
error: new Error(`There was a problem trying to connect to the host ${this.connectConfig.host}: ${error.message}`),
stderr: '',
stdout: ''
return this.resetConnection().then(() => {
return reject({
error: new Error(`There was a problem trying to connect to the host ${this.connectConfig.host}: ${error.message}`)
})
})

@@ -74,3 +74,3 @@ }

if (error) {
return reject({ error, stderr: '', stdout: '' })
return reject({ error })
} else {

@@ -77,0 +77,0 @@ let stdout = ''

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