@middy/http-multipart-body-parser
Advanced tools
Comparing version 5.0.3 to 5.1.0
@@ -1,2 +0,2 @@ | ||
import BusBoy from 'busboy'; | ||
import BusBoy from '@fastify/busboy'; | ||
import { createError } from '@middy/util'; | ||
@@ -87,3 +87,3 @@ const mimePattern = /^multipart\/form-data(;.*)?$/; | ||
} | ||
}).on('close', ()=>resolve(multipartData)).on('error', (e)=>reject(e)); | ||
}).on('finish', ()=>resolve(multipartData)).on('error', (e)=>reject(e)); | ||
busboy.write(event.body, charset); | ||
@@ -90,0 +90,0 @@ busboy.end(); |
{ | ||
"name": "@middy/http-multipart-body-parser", | ||
"version": "5.0.3", | ||
"version": "5.1.0", | ||
"description": "Http event normalizer middleware for the middy framework", | ||
@@ -63,11 +63,11 @@ "type": "module", | ||
"dependencies": { | ||
"@middy/util": "5.0.3", | ||
"busboy": "1.6.0" | ||
"@fastify/busboy": "2.1.0", | ||
"@middy/util": "5.1.0" | ||
}, | ||
"devDependencies": { | ||
"@middy/core": "5.0.3", | ||
"@middy/core": "5.1.0", | ||
"@types/aws-lambda": "^8.10.101", | ||
"type-fest": "^4.0.0" | ||
}, | ||
"gitHead": "87660575a7ac2b52e4153c407a4c63c9449dcd0d" | ||
"gitHead": "bbdaf5843914921804ba085dd58117273febe6b5" | ||
} |
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
9809
32
+ Added@fastify/busboy@2.1.0
+ Added@fastify/busboy@2.1.0(transitive)
+ Added@middy/util@5.1.0(transitive)
- Removedbusboy@1.6.0
- Removed@middy/util@5.0.3(transitive)
- Removedbusboy@1.6.0(transitive)
- Removedstreamsearch@1.1.0(transitive)
Updated@middy/util@5.1.0