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

landscape-node

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

landscape-node - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

lib/activities.js

@@ -198,3 +198,3 @@ 'use strict';

activity.activity_status = updatedActivity.activity_status;
activity.emit('status', activity);
activity.emit('status', activity.activity_status);

@@ -201,0 +201,0 @@ if (['canceled', 'failed', 'succeeded'].includes(activity.activity_status)) {

@@ -114,34 +114,39 @@ #!/usr/bin/env node

})));
activity.on('done', (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2() {
var message;
return _regenerator2.default.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
slacker.post('I have finished deploying using script \'' + script + '\' for servers *' + tag + '*. ' + 'Here are the details for each server:');
activity.on('done', function () {
var ref = (0, _asyncToGenerator3.default)(_regenerator2.default.mark(function _callee2(status) {
var message;
return _regenerator2.default.wrap(function _callee2$(_context2) {
while (1) {
switch (_context2.prev = _context2.next) {
case 0:
slacker.post('I have finished deploying using script \'' + script + '\' for servers *' + tag + '*. ' + 'Here are the details for each server:');
_context2.t0 = slacker;
_context2.next = 4;
return reporter.text(activity);
_context2.t0 = slacker;
_context2.next = 4;
return reporter.text(activity);
case 4:
_context2.t1 = _context2.sent;
case 4:
_context2.t1 = _context2.sent;
_context2.t0.post.call(_context2.t0, _context2.t1);
_context2.t0.post.call(_context2.t0, _context2.t1);
message = 'Deployment completed with status ' + activity.activity_status;
message = 'Deployment completed with status ' + status;
if (['succeeded', 'canceled'].includes(activity.activity_status)) {
log.info(message);
} else {
log.error(message);
}
if (['succeeded', 'canceled'].includes(status)) {
log.info(message);
} else {
log.error(message);
}
case 8:
case 'end':
return _context2.stop();
case 8:
case 'end':
return _context2.stop();
}
}
}
}, _callee2, undefined);
})));
}, _callee2, undefined);
}));
return function (_x) {
return ref.apply(this, arguments);
};
}());

@@ -148,0 +153,0 @@ case 12:

{
"name": "landscape-node",
"version": "0.1.3",
"version": "0.1.4",
"description": "A command-line tool for executing Landscape scripts.",

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

Sorry, the diff of this file is not supported yet

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