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

machinepack-machines

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machinepack-machines - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

6

machines/validate.js

@@ -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": {

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