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

@middy/http-router

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/http-router - npm Package Compare versions

Comparing version 3.6.2 to 4.0.0-alpha.0

3

index.js

@@ -1,2 +0,1 @@

var _event;
import { createError } from '@middy/util';

@@ -33,3 +32,3 @@ const httpRouteHandler = (routes)=>{

if (match) {
(_event = event).pathParameters ?? (_event.pathParameters = match.groups);
event.pathParameters ??= match.groups;
return route.handler(event, context, abort);

@@ -36,0 +35,0 @@ }

{
"name": "@middy/http-router",
"version": "3.6.2",
"version": "4.0.0-alpha.0",
"description": "HTTP event router for the middy framework",
"type": "module",
"engines": {
"node": ">=14"
"node": ">=16"
},

@@ -65,9 +65,9 @@ "engineStrict": true,

"dependencies": {
"@middy/util": "3.6.2"
"@middy/util": "4.0.0-alpha.0"
},
"devDependencies": {
"@middy/core": "3.6.2",
"@middy/core": "4.0.0-alpha.0",
"@types/aws-lambda": "^8.10.97"
},
"gitHead": "4c5d64c72dd4bfde0d3b828a0082c99f688c759c"
"gitHead": "306fb9aa633d5757d11ced3dc192f046ef3c2685"
}

Sorry, the diff of this file is not supported yet

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