Skip to content

Commit e3cbae3

Browse files
committed
chore: update deps
1 parent b9b8ee1 commit e3cbae3

File tree

18 files changed

+260
-264
lines changed

18 files changed

+260
-264
lines changed

packages/core/package-lock.json

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/do-not-wait-for-empty-event-loop/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/error-logger/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/event-normalizer/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/http-content-negotiation/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/http-error-handler/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/http-json-body-parser/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/http-multipart-body-parser/__tests__/index.js

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ test('It should parse a non-file field from a multipart/form-data request', asyn
1313
// Base64 encoded form data with field 'foo' of value 'bar'
1414
const event = {
1515
headers: {
16-
'content-type':
17-
'multipart/form-data; boundary=----WebKitFormBoundaryppsQEwf2BVJeCe0M'
16+
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundaryppsQEwf2BVJeCe0M'
1817
},
1918
body:
2019
'LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5cHBzUUV3ZjJCVkplQ2UwTQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmb28iDQoNCmJhcg0KLS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5cHBzUUV3ZjJCVkplQ2UwTS0t',
@@ -34,8 +33,7 @@ test('parseMultipartData should resolve with valid data', async (t) => {
3433

3534
const event = {
3635
headers: {
37-
'content-type':
38-
'multipart/form-data; boundary=----WebKitFormBoundaryppsQEwf2BVJeCe0M'
36+
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundaryppsQEwf2BVJeCe0M'
3937
},
4038
body:
4139
'LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5cHBzUUV3ZjJCVkplQ2UwTQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmb28iDQoNCmJhcg0KLS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5cHBzUUV3ZjJCVkplQ2UwTS0t',
@@ -56,8 +54,7 @@ test('It should parse a file field from a multipart/form-data request', async (t
5654
// Base64 encoded form data with a file with fieldname 'attachment', filename 'test.txt', and contents 'hello world!'
5755
const event = {
5856
headers: {
59-
'content-type':
60-
'multipart/form-data; boundary=------------------------4f0e69e6c2513684'
57+
'Content-Type': 'multipart/form-data; boundary=------------------------4f0e69e6c2513684'
6158
},
6259
body:
6360
'LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS00ZjBlNjllNmMyNTEzNjg0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImF0dGFjaG1lbnQiOyBmaWxlbmFtZT0idGVzdC50eHQiDQpDb250ZW50LVR5cGU6IHRleHQvcGxhaW4NCg0KaGVsbG8gd29ybGQhCg0KLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS00ZjBlNjllNmMyNTEzNjg0LS0NCg==',
@@ -80,8 +77,7 @@ test('It should handle invalid form data as an UnprocessableEntity', async (t) =
8077
// invokes the handler
8178
const event = {
8279
headers: {
83-
'content-type':
84-
'multipart/form-data; boundary=------WebKitFormBoundaryfdmza9FgfefwkQzA'
80+
'Content-Type': 'multipart/form-data; boundary=------WebKitFormBoundaryfdmza9FgfefwkQzA'
8581
},
8682
body: null,
8783
isBase64Encoded: true
@@ -104,7 +100,7 @@ test('It should handle more invalid form data as an UnprocessableEntity', async
104100

105101
const event = {
106102
headers: {
107-
'content-type':
103+
'Content-Type':
108104
'multipart/form-data; boundary=----WebKitFormBoundaryppsQEwf2BVJeCe0M'
109105
},
110106
body:
@@ -150,7 +146,7 @@ test("It shouldn't process the body if the content type is not multipart/form-da
150146
// invokes the handler
151147
const event = {
152148
headers: {
153-
'content-type': 'application/json'
149+
'Content-Type': 'application/json'
154150
},
155151
body:
156152
'LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5cHBzUUV3ZjJCVkplQ2UwTQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZvbyIKCmJhcgotLS0tLS1XZWJLaXRGb3JtQm91bmRhcnlwcHNRRXdmMkJWSmVDZTBNLS0='
@@ -194,7 +190,7 @@ test('It should parse an array from a multipart/form-data request (base64)', asy
194190

195191
const event = {
196192
headers: {
197-
'content-type':
193+
'Content-Type':
198194
'multipart/form-data; boundary=----WebKitFormBoundaryppsQEwf2BVJeCe0M'
199195
},
200196
body:
@@ -216,7 +212,7 @@ test('It should parse an array from a multipart/form-data request with ASCII das
216212

217213
const event = {
218214
headers: {
219-
'content-type':
215+
'Content-Type':
220216
'multipart/form-data; boundary=TEST'
221217
},
222218
body: '--TEST\r\nContent-Disposition: form-data; name=PartName\r\nContent-Type: application/json; charset=utf-8\r\n\r\n{"foo":"bar-"}\r\n--TEST--',
@@ -236,7 +232,7 @@ test('It should parse an array from a multipart/form-data request en dash (utf8)
236232

237233
const event = {
238234
headers: {
239-
'content-type':
235+
'Content-Type':
240236
'multipart/form-data; boundary=TEST'
241237
},
242238
body: '--TEST\r\nContent-Disposition: form-data; name=PartName\r\nContent-Type: application/json; charset=utf-8\r\n\r\n{"foo":"bar–"}\r\n--TEST--',
@@ -256,7 +252,7 @@ test('It should parse a field with multiple files successfully', async (t) => {
256252

257253
const event = {
258254
headers: {
259-
'content-type':
255+
'Content-Type':
260256
'multipart/form-data; boundary=---------------------------237588144631607450464127370583'
261257
},
262258
body:

packages/http-multipart-body-parser/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/http-response-serializer/package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/input-output-logger/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)