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

@parameter1/micro

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parameter1/micro - npm Package Compare versions

Comparing version 1.1.22 to 1.2.0

4

package.json
{
"name": "@parameter1/micro",
"version": "1.1.22",
"version": "1.2.0",
"description": "A wrapper for running JSON-based microservices.",

@@ -31,3 +31,3 @@ "author": "Jacob Bare <jacob@parameter1.com>",

},
"gitHead": "bbd09785f746be390c01d09b4802a28e1e0659da"
"gitHead": "c6110ab07bdebebb96b17359a50e47956ca06283"
}

@@ -13,2 +13,5 @@ const micro = require('micro');

onActionStart,
onActionEnd,
onError,

@@ -33,2 +36,3 @@ errorResponseFn,

if (isFn(onActionStart)) await onActionStart(contextData);
const data = await fn(params || {}, {

@@ -40,2 +44,3 @@ req,

});
if (isFn(onActionEnd)) await onActionEnd(contextData);
return { data };

@@ -42,0 +47,0 @@ };

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