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

machinepack-util

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

machinepack-util - npm Package Compare versions

Comparing version 4.4.0 to 5.0.0

machines/coalesce.js

32

machines/log.js
module.exports = {
friendlyName: 'Log a message',
description: 'Output a message to the console',
sync: true,
extendedDescription: '',
inputs: {
message: {
example: 'hello world',
required: true,
description: 'The message to output to the console.'
value: {
friendlyName: 'Value',
description: 'The value that will be written to the console.',
example: '==='
}
},
defaultExit: 'success',
exits: {
error: {
description: 'Unexpected error occurred.'
},
success: {
description: 'Done.'
}
},
fn: function(inputs, exits) {
console.log(inputs.message);
console.log(inputs.value);
return exits.success();

@@ -25,0 +39,0 @@ }

{
"name": "machinepack-util",
"version": "4.4.0",
"version": "5.0.0",
"description": "Utilities for everyday tasks with arrays, dictionaries, strings, etc.",

@@ -16,5 +16,5 @@ "scripts": {

"dependencies": {
"machine": "^4.0.0",
"lodash": "^2.4.1",
"hat": "0.0.3",
"lodash": "^3.9.2",
"machine": "^9.0.1",
"object-hash": "^0.5.0"

@@ -28,3 +28,3 @@ },

"mocha": "^2.1.0",
"test-machinepack-mocha": "^0.2.2"
"test-machinepack-mocha": "^1.0.0"
},

@@ -35,27 +35,6 @@ "machinepack": {

"machines": [
"convert-to-camel-case",
"convert-to-string",
"convert-to-number",
"generate-unique-token",
"index-of",
"merge",
"search-using-regexp",
"pick-random-item",
"generate-random-integer",
"add",
"subtract",
"multiply",
"divide",
"concat",
"dereference",
"log",
"parse-json",
"hash-dictionary",
"generate-random-alphanumeric",
"build-array",
"build-dictionary",
"is-it-defined",
"pluck",
"sort",
"reverse"
"hash",
"inspect",
"coalesce"
],

@@ -62,0 +41,0 @@ "testsUrl": "https://travis-ci.org/treelinehq/machinepack-util"

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