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.4.0 to 3.5.0

3

index.js

@@ -58,2 +58,3 @@ import { createError } from '@middy/util';

routesType[method][path] = handler;
routesType[method][path + '/'] = handler;
};

@@ -71,3 +72,3 @@ const attachDynamicRoute = (method, path, handler, routesType)=>{

path = path.replace(regexpDynamicWildcards, '/?.*').replace(regexpDynamicParameters, '/[^/]+');
path = new RegExp(`^${path}$`);
path = new RegExp(`^${path}/?$`);
routesType[method].push({

@@ -74,0 +75,0 @@ path,

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

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

"dependencies": {
"@middy/util": "3.4.0"
"@middy/util": "3.5.0"
},
"devDependencies": {
"@middy/core": "3.4.0",
"@middy/core": "3.5.0",
"@types/aws-lambda": "^8.10.97"
},
"gitHead": "13abdd39fdd2f3888f1d913d3a45a4f5567edb5d"
"gitHead": "61d1bb405d23702dd8ee83b65d8b98bef7acaeeb"
}

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