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

claudia-api-builder

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

claudia-api-builder - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "claudia-api-builder",
"version": "2.0.0",
"version": "2.0.1",
"description": "Simplify AWS ApiGateway handling",

@@ -5,0 +5,0 @@ "license": "MIT",

# Release history
## 2.0.1, 16. October 2016
- bugfix for intercepting non-web requests, where 2.0 introduced backwards incompatibility wrapping even non-API Gateway requests into proxyRequest. The behaviour is now compatible with 1.x, where non-web requests are sent to the intercepting function unmodified.
## 2.0.0, 27. September 2016

@@ -4,0 +8,0 @@

@@ -207,4 +207,7 @@ /*global module, require, Promise, console */

},
isFromApiGw = function (event) {
return event && event.requestContext && event.requestContext.resourcePath && event.requestContext.httpMethod;
},
getRequest = function (event, context) {
if (requestFormat === 'AWS_PROXY' || requestFormat === 'DEPRECATED') {
if (requestFormat === 'AWS_PROXY' || requestFormat === 'DEPRECATED' || !isFromApiGw(event)) {
return event;

@@ -211,0 +214,0 @@ } else {

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