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 4.0.0 to 4.0.1

2

DEPENDENCIES.md

@@ -11,3 +11,3 @@ # Dependency Licenses

switchback@~1.1.0 : MIT
switchback@^1.1.3 : MIT
lodash@~2.4.1 : MIT

@@ -14,0 +14,0 @@ object-hash@~0.3.0 : MIT

@@ -45,3 +45,22 @@ /**

// Ensure defaultExit is set and that default and error exits exist in the machine def.
///////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////
// but these cause issues:
// if (!this.defaultExit){
// this.defaultExit = 'success';
// }
// if (!this.exits[this.defaultExit]){
// this.exits[this.defaultExit] = { description: 'Done.' };
// }
////////////////////////////////////////////////////////////////////////////////////
if (!this.catchallExit){
this.catchallExit = 'error';
}
if (!this.exits[this.catchallExit]){
this.exits[this.catchallExit] = { description: 'An unexpected error occurred.' };
}
//

@@ -48,0 +67,0 @@ // Initialize private state for this machine instance

{
"name": "machine",
"version": "4.0.0",
"version": "4.0.1",
"description": "Configure and execute machines",

@@ -31,3 +31,3 @@ "main": "index.js",

"dependencies": {
"switchback": "~1.1.0",
"switchback": "^1.1.3",
"lodash": "~2.4.1",

@@ -34,0 +34,0 @@ "object-hash": "~0.3.0",

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