@middy/http-multipart-body-parser 4.2.4 → 4.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.js +1 -1
  3. package/package.json +8 -4
package/index.cjs CHANGED
@@ -32,7 +32,7 @@ const httpMultipartBodyParserMiddleware = (opts = {})=>{
32
32
  if (options.disableContentTypeError) {
33
33
  return;
34
34
  }
35
- throw (0, _util.createError)(415, '@middy/http-multipart-body-parser Unsupported Media Type', {
35
+ throw (0, _util.createError)(415, 'Unsupported Media Type', {
36
36
  cause: contentType
37
37
  });
38
38
  }
package/index.js CHANGED
@@ -19,7 +19,7 @@ const httpMultipartBodyParserMiddleware = (opts = {})=>{
19
19
  if (options.disableContentTypeError) {
20
20
  return;
21
21
  }
22
- throw createError(415, '@middy/http-multipart-body-parser Unsupported Media Type', {
22
+ throw createError(415, 'Unsupported Media Type', {
23
23
  cause: contentType
24
24
  });
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middy/http-multipart-body-parser",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "Http event normalizer middleware for the middy framework",
5
5
  "type": "module",
6
6
  "engines": {
@@ -61,14 +61,18 @@
61
61
  "url": "https://github.com/middyjs/middy/issues"
62
62
  },
63
63
  "homepage": "https://middy.js.org",
64
+ "funding": {
65
+ "type": "github",
66
+ "url": "https://github.com/sponsors/willfarrell"
67
+ },
64
68
  "dependencies": {
65
- "@middy/util": "4.2.4",
69
+ "@middy/util": "4.2.6",
66
70
  "busboy": "1.6.0"
67
71
  },
68
72
  "devDependencies": {
69
- "@middy/core": "4.2.4",
73
+ "@middy/core": "4.2.6",
70
74
  "@types/aws-lambda": "^8.10.101",
71
75
  "type-fest": "^3.0.0"
72
76
  },
73
- "gitHead": "eae83afa502b03cae831c13094d4693885428bd9"
77
+ "gitHead": "8868ba216442cc42321a251712bc90b9147c0a44"
74
78
  }