Comparing version 4.0.0 to 4.0.1
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69437
1573
Updatedswitchback@^1.1.3