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

@middy/core

Package Overview
Dependencies
Maintainers
3
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/core - npm Package Compare versions

Comparing version 2.0.0-alpha.5 to 2.0.0-alpha.6

7

index.js

@@ -76,3 +76,3 @@ "use strict";

*/
module.exports = (handler = () => {}, plugin) => {
const middy = (handler = () => {}, plugin) => {
var _plugin$beforePrefetc;

@@ -101,3 +101,3 @@

await runMiddlewares(beforeMiddlewares, request, plugin);
await runMiddlewares(beforeMiddlewares, request, plugin); // catch short circuit

@@ -107,3 +107,2 @@ if (request.response !== undefined) {

// catch short circuit
await (plugin === null || plugin === void 0 ? void 0 : (_plugin$requestEnd = plugin.requestEnd) === null || _plugin$requestEnd === void 0 ? void 0 : _plugin$requestEnd.call(plugin));

@@ -221,1 +220,3 @@ return request.response;

};
module.exports = middy;
{
"name": "@middy/core",
"version": "2.0.0-alpha.5",
"version": "2.0.0-alpha.6",
"description": "🛵 The stylish Node.js middleware engine for AWS Lambda (core package)",

@@ -48,3 +48,3 @@ "type": "commonjs",

},
"gitHead": "2e69ea2322abcdcf88adde11fda4d04e4c038b54"
"gitHead": "e6ab94a1f33ca215f63ee613bc9469ccd56caf21"
}
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