machinepack-util
Advanced tools
Comparing version 4.4.0 to 5.0.0
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" |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
9812
12
238
1
+ Addedlodash@3.10.1(transitive)
+ Addedmachine@9.1.2(transitive)
+ Addedrttc@4.5.2(transitive)
- Removedmachine@4.1.1(transitive)
- Removedrttc@1.0.2(transitive)
Updatedlodash@^3.9.2
Updatedmachine@^9.0.1