chore(deps): bump undici from 6.20.0 to 7.0.0 #483
Annotations
11 errors and 10 warnings
|
Test All:
test/request.spec.ts#L204
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:204:21
|
Test All:
test/request.spec.ts#L224
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:224:21
|
Test All:
test/request.spec.ts#L252
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Object {
- "picture": Array [
- Object {
- "destination": "test/fixtures/temp",
- "encoding": "7bit",
- "fieldname": "picture",
- "filename": Any<String>,
- "mimetype": "image/jpeg",
- "originalname": "cat.jpg",
- "path": StringContaining "test/fixtures/temp/",
- "size": 4877386,
- },
- ],
- },
+ "files": Object {},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:252:21
|
Test All:
test/request.spec.ts#L280
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "application/octet-stream",
- "originalname": "undefined",
+ "originalname": "blob",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
- "content-length": "4877572",
+ "content-length": "4877569",
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:280:21
|
Test All:
test/request.spec.ts#L431
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:431:21
|
Test All:
test/request.spec.ts#L721
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:721:21
|
Test All:
test/request.spec.ts#L741
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": StringContaining "multipart/form-data",
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:741:21
|
Test All:
test/request.spec.ts#L759
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(2 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
- "files": Array [
- Object {
- "encoding": "7bit",
- "fieldname": "picture",
- "fieldsCount": 1,
- "filename": "cat.jpg",
- "mimetype": "image/jpeg",
- "size": 4877386,
- },
- ],
+ "files": Array [],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-type": Any<String>,
"host": StringContaining "localhost",
- "transfer-encoding": "chunked",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:759:21
|
Test All:
test/request.spec.ts#L776
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(10) }
(1 matching property omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Array [
Object {
"encoding": "7bit",
"fieldname": "picture",
"fieldsCount": 1,
- "filename": "undefined",
+ "filename": "blob",
"mimetype": "application/octet-stream",
"size": 4877386,
},
],
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": Any<String>,
"host": StringContaining "localhost",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
}
❯ test/request.spec.ts:776:21
|
Test All:
test/request.spec.ts#L905
AssertionError: expected SageHttpResponse{ …(12) } to match object { body: { …(5) }, …(11) }
(3 matching properties omitted from actual)
- Expected
+ Received
Object {
"body": Object {
"body": Object {},
"files": Object {
"picture": Array [
Object {
"destination": "test/fixtures/temp",
"encoding": "7bit",
"fieldname": "picture",
"filename": Any<String>,
"mimetype": "image/jpeg",
"originalname": "cat.jpg",
"path": StringContaining "test/fixtures/temp/",
"size": 4877386,
},
],
},
"message": "Success!",
"query": Object {},
"reqHeaders": Object {
- "content-length": "4877556",
+ "content-length": "4877558",
},
},
"buffer": Any<Buffer>,
"cookies": Object {},
"error": false,
"headers": Object {
"connection": "keep-alive",
"content-length": Any<String>,
"content-type": "application/json; charset=utf-8",
"date": Any<String>,
"etag": Any<String>,
"x-powered-by": "Express",
},
"location": undefined,
"ok": true,
"redirect": false,
"status": 200,
"statusCode": 200,
"statusText": "OK",
"text": Any<String>,
}
❯ test/request.spec.ts:905:21
|
Lint Check:
src/SageFactory.ts#L8
Unexpected any. Specify a different type
|
Lint Check:
src/SageHttpResponse.ts#L9
Unexpected any. Specify a different type
|
Lint Check:
src/polyfill.ts#L9
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
Lint Check:
test/SageHttpResponse.spec.ts#L10
Unexpected any. Specify a different type
|
Lint Check:
test/SageHttpResponse.spec.ts#L22
Unexpected any. Specify a different type
|
Lint Check:
test/SageHttpResponse.spec.ts#L34
Unexpected any. Specify a different type
|
Lint Check:
test/SageHttpResponse.spec.ts#L46
Unexpected any. Specify a different type
|
Lint Check:
test/setup.ts#L10
Include a description after the "@ts-expect-error" directive to explain why the @ts-expect-error is necessary. The description must be 3 characters or longer
|
Lint Check:
test/utils.ts#L14
Using exported name 'fastifyCookie' as identifier for default export
|
Lint Check:
test/utils.ts#L67
'next' is defined but never used
|
Loading