machinepack-machines
Advanced tools
Comparing version 6.0.0 to 6.1.0
@@ -123,6 +123,6 @@ module.exports = { | ||
} | ||
// If that exit def has neither an `example` nor `getExample`, report an error. | ||
else if (_.isUndefined(successExitDef.outputExample) && !_.isFunction(successExitDef.getExample)) { | ||
// If that exit def has neither an `outputExample`, `like`, `itemOf`, nor `getExample`, report an error. | ||
else if (_.isUndefined(successExitDef.outputExample) && _.isUndefined(successExitDef.like) && _.isUndefined(successExitDef.itemOf) && !_.isFunction(successExitDef.getExample)) { | ||
errors.push({ | ||
message: 'Machine\'s success exit def has neither an `outputExample` nor a `getExample` function.', | ||
message: 'Machine\'s success exit def has neither an `outputExample`, `like`, `itemOf`, nor a `getExample` function.', | ||
machineId: inputs.machineDef.id, | ||
@@ -129,0 +129,0 @@ problem: 'machineExitHasNeitherExampleNorGetExample', |
{ | ||
"name": "machinepack-machines", | ||
"version": "6.0.0", | ||
"version": "6.1.0", | ||
"description": "Work with machines and machinepacks.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
17115
0