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
110
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 4.1.0 to 4.2.0

./index.cjs

8

index.js

@@ -56,4 +56,4 @@ import { createError } from '@middy/util';

if (method === 'ANY') {
for (const method1 of methods){
attachStaticRoute(method1, path, handler, routesType);
for (const method of methods){
attachStaticRoute(method, path, handler, routesType);
}

@@ -70,4 +70,4 @@ return;

if (method === 'ANY') {
for (const method1 of methods){
attachDynamicRoute(method1, path, handler, routesType);
for (const method of methods){
attachDynamicRoute(method, path, handler, routesType);
}

@@ -74,0 +74,0 @@ return;

{
"name": "@middy/http-router",
"version": "4.1.0",
"version": "4.2.0",
"description": "HTTP event router for the middy framework",

@@ -65,9 +65,9 @@ "type": "module",

"dependencies": {
"@middy/util": "4.1.0"
"@middy/util": "4.2.0"
},
"devDependencies": {
"@middy/core": "4.1.0",
"@middy/core": "4.2.0",
"@types/aws-lambda": "^8.10.97"
},
"gitHead": "c5abbac9280c3a2f30758188233a7b27367901d1"
"gitHead": "438103b15c184995a0a38413f6ed0b8696d13670"
}

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