This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
refactor: move to typescript, optimize code structure #12
ci.yml
on: pull_request
lint
12s
typecheck
13s
Matrix: test
Annotations
9 errors and 11 warnings
lint
Process completed with exit code 1.
|
typecheck:
src/handler.ts#L16
Constructor of class 'CacheDB' is private and only accessible within the class declaration.
|
typecheck:
src/handler.ts#L23
Cannot find name 'router_cgi'.
|
typecheck:
src/handler.ts#L158
Parameter 'replacement' implicitly has an 'any' type.
|
typecheck:
src/handler.ts#L184
Object literal may only specify known properties, and 'body' does not exist in type 'CwResponseInit'.
|
typecheck:
src/handler.ts#L248
Type '{ [x: string]: unknown; }' is not assignable to type '(HeadersInit & Record<string, string>) | undefined'.
|
typecheck:
src/handler.ts#L252
Type '{ [x: string]: unknown; }' is not assignable to type '(HeadersInit & Record<string, string>) | undefined'.
|
typecheck:
src/handler.ts#L339
Argument of type 'Request[]' is not assignable to parameter of type 'Request'.
|
typecheck
Process completed with exit code 1.
|
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, 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/.
|
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 (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/.
|
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 (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 (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 (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/.
|
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/.
|