Socket
Socket
Sign inDemoInstall

aws-simple-lambda-router

Package Overview
Dependencies
3
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

2

package.json
{
"name": "aws-simple-lambda-router",
"version": "0.0.2",
"version": "0.0.3",
"description": "Class to route apigateway requests inside lambda",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -17,5 +17,5 @@ # Lightweight promise based router for AWS Lambda invoked by AWS Apigateway lambda proxy integration

routes: [
'GET', '/widgets', routes.getWidgets,
'GET', '/widgets/:widgetId', [ authorizer.widget.get, routes.getWidget ]
'PUT', '/widgets/:widgetId', [ authorizer.widget.put, routes.putWidget ]
[ 'GET', '/widgets', routes.getWidgets ],
[ 'GET', '/widgets/:widgetId', [ authorizer.widget.get, routes.getWidget ] ],
[ 'PUT', '/widgets/:widgetId', [ authorizer.widget.put, routes.putWidget ] ]
],

@@ -22,0 +22,0 @@ defaultRoute: routes.defaultRoute

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc