feat(context): allow URL object on c.redirect()
#5836
ci.yml
on: pull_request
Matrix: node
Main
1m 51s
Bun
10s
Fastly Compute
1m 0s
workerd
1m 11s
AWS Lambda
1m 5s
Lambda@Edge
1m 6s
Checking if it's valid for JSR
9s
Deno
15s
perf-measures-type-check-on-pr
19s
perf-measures-type-check-on-main
0s
Coverage
0s
Annotations
17 errors
Node.js v20.x:
src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
|
Node.js v20.x:
src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
|
Node.js v20.x:
src/jsx/types.ts#L26
All type parameters are unused.
|
Node.js v18.18.2:
src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
|
Node.js v18.18.2:
src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
|
Node.js v18.18.2:
src/jsx/types.ts#L26
All type parameters are unused.
|
Node.js v22.x:
src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
|
Node.js v22.x:
src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
|
Node.js v22.x:
src/jsx/types.ts#L26
All type parameters are unused.
|
workerd:
src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
|
workerd:
src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
|
workerd:
src/jsx/types.ts#L26
All type parameters are unused.
|
src/context.test.ts > Context > c.redirect() w/ URL:
src/context.test.ts#L95
AssertionError: expected 'https://example.com/destination' to be URL{} // Object.is equality
- Expected:
URL {}
+ Received:
"https://example.com/destination"
❯ src/context.test.ts:95:41
|
Main
Process completed with exit code 1.
|
Main:
src/adapter/aws-lambda/handler.ts#L336
'event' is declared but its value is never read.
|
Main:
src/adapter/aws-lambda/handler.ts#L338
'headers' is declared but its value is never read.
|
Main:
src/jsx/types.ts#L26
All type parameters are unused.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-bun
|
8.77 KB |
|
coverage-deno
|
111 KB |
|
coverage-fastly
|
681 KB |
|
coverage-lambda
|
689 KB |
|
coverage-lambda-edge
|
683 KB |
|
coverage-node
|
686 KB |
|
coverage-workerd
|
666 KB |
|