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.0.2 to 5.1.0

7

machines/sample.js

@@ -30,2 +30,6 @@ module.exports = {

emptyArray: {
description: 'The provided array has no items.'
},
success: {

@@ -43,2 +47,5 @@ friendlyName: 'then',

var _ = require('lodash');
if (inputs.array) {
return exits.emptyArray();
}
return exits.success(_.sample(inputs.array));

@@ -45,0 +52,0 @@ }

2

package.json
{
"name": "machinepack-arrays",
"version": "5.0.2",
"version": "5.1.0",
"description": "Work with arrays.",

@@ -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