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

machine-as-script

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machine-as-script - npm Package Compare versions

Comparing version 1.0.4 to 1.1.0

21

index.js

@@ -122,4 +122,23 @@ /**

},
success: function() {
success: function(output) {
// If output is not undefined and expected, then log it.
if (!_.isUndefined(output)) {
try {
if (
!_.isUndefined(liveMachine.exits.success.example) ||
_.isFunction(liveMachine.exits.success.getExample) ||
!_.isUndefined(liveMachine.exits.success.like) ||
!_.isUndefined(liveMachine.exits.success.itemOf)
) {
console.log(util.inspect(output, {depth: null, colors: true}));
}
}
catch (e) { /* fail silently if anything goes awry */ }
return;
}
// Otherwise, log a generic message.
console.log(chalk.green('OK.'));
}

@@ -126,0 +145,0 @@ });

2

package.json
{
"name": "machine-as-script",
"version": "1.0.4",
"version": "1.1.0",
"description": "Run a machine as a command-line script.",

@@ -5,0 +5,0 @@ "scripts": {

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