Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

refactor: move to typescript, optimize code structure #14

refactor: move to typescript, optimize code structure

refactor: move to typescript, optimize code structure #14

Triggered via pull request February 29, 2024 09:29
@so1veso1ve
synchronize #19
refactor
Status Failure
Total duration 14m 46s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
typecheck: src/cgi/index.ts#L65
Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
typecheck: src/cgi/index.ts#L192
No overload matches this call.
typecheck: src/cgi/index.ts#L202
No overload matches this call.
typecheck: src/cgi/index.ts#L213
Property 'replace' does not exist on type 'number'.
typecheck: src/cgi/index.ts#L251
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ ServerProvide: string; "content-type": string; }'.
typecheck: src/cgi/index.ts#L255
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ ServerProvide: string; "content-type": string; }'.
typecheck: src/cgi/index.ts#L285
Property 'limit' does not exist on type '{ redirect?: "error" | "follow" | "manual" | undefined; status?: number | undefined; credentials?: "same-origin" | "include" | "omit" | undefined; trylimit?: number | undefined; mode?: "cors" | ... 3 more ... | undefined; ... 5 more ...; preflight: boolean; }'.
typecheck: src/cgi/index.ts#L308
Property 'credentials' does not exist on type '{}'.
typecheck: src/cgi/index.ts#L320
Variable 'cRes' implicitly has type 'any' in some locations where its type cannot be determined.
typecheck: src/cgi/index.ts#L325
'transformRule.fetch' is possibly 'undefined'.
typecheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (16.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (16.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, macos-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (18.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (16.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (20.x, windows-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.