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

machinepack-arrays

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machinepack-arrays - npm Package Compare versions

Comparing version 5.1.0 to 5.2.0

2

machines/sample.js

@@ -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"
}
]
}
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