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 0.8.4 to 0.8.5

machines/build-alphanumeric-string.js

5

package.json
{
"name": "machinepack-util",
"version": "0.8.4",
"version": "0.8.5",
"description": "Utilities for everyday tasks with arrays, dictionaries, strings, etc.",

@@ -52,5 +52,6 @@ "scripts": {

"parse-json",
"hash-dictionary"
"hash-dictionary",
"build-alphanumeric-string"
]
}
}

35

tests/add.json

@@ -7,5 +7,38 @@ {

"using": {},
"outcome": "success"
"outcome": "success",
"returns": ""
},
{
"todo": false,
"using": {
"a": "3",
"b": "4"
},
"outcome": "success",
"returns": "7"
},
{
"using": {
"a": "asdgasdgsdg",
"b": "3"
},
"outcome": "error",
"returns": {
"code": "E_MACHINE_RUNTIME_VALIDATION",
"machine": "add",
"reason": "`add` machine encountered 1 error(s) while validating runtime input values.",
"status": "400",
"errors": [
{
"errors": [
null,
{
"code": "E_COERCION"
}
]
}
]
}
}
]
}
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