machinepack-arrays
Advanced tools
Comparing version 5.1.0 to 5.2.0
@@ -46,3 +46,3 @@ module.exports = { | ||
var _ = require('lodash'); | ||
if (inputs.array) { | ||
if (inputs.array.length === 0) { | ||
return exits.emptyArray(); | ||
@@ -49,0 +49,0 @@ } |
{ | ||
"name": "machinepack-arrays", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "Work with arrays.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
{ | ||
"machine": "sample", | ||
"expectations": [] | ||
} | ||
"expectations": [ | ||
{ | ||
"using": { | ||
"array": [] | ||
}, | ||
"outcome": "emptyArray" | ||
}, | ||
{ | ||
"using": { | ||
"array": [ | ||
"a" | ||
] | ||
}, | ||
"outcome": "success", | ||
"returns": "a" | ||
} | ||
] | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
68901
2713
1