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

machine

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machine - npm Package Compare versions

Comparing version 9.0.2 to 9.0.3

11

lib/intercept-exit-callbacks.js

@@ -182,5 +182,5 @@ /**

var newExample;
// TODO: would be good to _not_ cloneDeep here
// (for performance, but also just because you might not actually want that in a lot of
// cases, like streams)
// TODO: prepare the input values the same way we prepare them for `.exec()`
// TODO: but if possible, exclude `===` values, to avoid any destructive changes from
// the getExample (i.e. starting to pump on a stream, etc.)
try {

@@ -195,2 +195,3 @@ newExample = exitDef.getExample.apply(env, [_.cloneDeep(allConfiguredInputValues), env]);

_err.status = 500;
return _err;
})();

@@ -200,3 +201,3 @@ }

// Validate the returned example:
// If returned example is an array, make sure it only has one item
// If returned example is an array, make sure it only has one item.
if (_.isArray(newExample)) {

@@ -206,3 +207,5 @@ newExample = newExample.slice(0,1);

// TODO: sanitize returned example (dont allow null)
return newExample;
}
{
"name": "machine",
"version": "9.0.2",
"version": "9.0.3",
"description": "Configure and execute machines",

@@ -5,0 +5,0 @@ "main": "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