@middy/http-multipart-body-parser
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.0-alpha.1
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
const BusBoy = require('busboy'); | ||
@@ -17,2 +19,4 @@ | ||
const httpMultipartBodyParserBefore = async handler => { | ||
var _headers$ContentType; | ||
const { | ||
@@ -26,3 +30,3 @@ headers | ||
const contentType = headers?.['Content-Type'] ?? headers?.['content-type']; | ||
const contentType = (_headers$ContentType = headers === null || headers === void 0 ? void 0 : headers['Content-Type']) !== null && _headers$ContentType !== void 0 ? _headers$ContentType : headers === null || headers === void 0 ? void 0 : headers['content-type']; | ||
@@ -29,0 +33,0 @@ if (contentType) { |
{ | ||
"name": "@middy/http-multipart-body-parser", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.0.0-alpha.1", | ||
"description": "Http event normalizer middleware for the middy framework", | ||
@@ -15,2 +15,3 @@ "type": "commonjs", | ||
"types": "index.d.ts", | ||
"files": [], | ||
"scripts": { | ||
@@ -52,3 +53,3 @@ "test": "npm run test:typings && npm run test:unit", | ||
}, | ||
"gitHead": "e047c0d3db00aa11b39f2d3e193458ea021a58a0" | ||
"gitHead": "f8b0f418477cdbff47da693963bf1ea918b39d04" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1
9283
4
75