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

@middy/http-multipart-body-parser

Package Overview
Dependencies
Maintainers
3
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@middy/http-multipart-body-parser - npm Package Compare versions

Comparing version 2.0.0-alpha.0 to 2.0.0-alpha.1

6

index.js

@@ -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) {

5

package.json
{
"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"
}
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