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.1.0 to 6.1.1

6

machines/validate.js

@@ -124,3 +124,7 @@ module.exports = {

// 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)) {
else if (
(_.isUndefined(successExitDef.outputExample) || _.isNull(successExitDef.outputExample)) &&
(_.isUndefined(successExitDef.like) || _.isNull(successExitDef.like)) &&
(_.isUndefined(successExitDef.itemOf) || _.isNull(successExitDef.itemOf)) &&
!_.isFunction(successExitDef.getExample)) {
errors.push({

@@ -127,0 +131,0 @@ message: 'Machine\'s success exit def has neither an `outputExample`, `like`, `itemOf`, nor a `getExample` function.',

2

package.json
{
"name": "machinepack-machines",
"version": "6.1.0",
"version": "6.1.1",
"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