Skip to content

feat: upgrade axios #2081

feat: upgrade axios

feat: upgrade axios #2081

Triggered via pull request March 12, 2024 23:34
Status Failure
Total duration 57s
Artifacts

check.yaml

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

Annotations

5 errors and 13 warnings
check (16.x): src/utils/http.ts#L1
Type 'AxiosResponse<AxiosResponse<any, any>, any>' is not assignable to type 'AxiosResponse<T, any>'.
check (16.x): src/utils/http.ts#L1
Argument of type 'number | undefined' is not assignable to parameter of type 'string | undefined'.
check (16.x): src/utils/stream.ts#L1
Conversion of type 'Record<string, unknown>' to type 'ReadableStream<any>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
check (16.x): src/utils/stream.ts#L1
Conversion of type 'Record<string, unknown>' to type 'Readable' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
check (16.x)
Process completed with exit code 2.
check (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
check (16.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check (16.x): src/bee-debug.ts#L763
Unexpected any. Specify a different type
check (16.x): src/bee.ts#L296
Unexpected 'todo' comment: 'TODO: Needed until...'
check (16.x): src/bee.ts#L674
Unexpected any. Specify a different type
check (16.x): src/feed/index.ts#L62
Unexpected any. Specify a different type
check (16.x): src/feed/retrievable.ts#L37
Unexpected any. Specify a different type
check (16.x): src/modules/debug/status.ts#L86
Unexpected 'todo' comment: 'TODO: Remove on break'
check (16.x): src/utils/collection.browser.ts#L9
'dir' is defined but never used. Allowed unused args must match /^_/u
check (16.x): src/utils/collection.browser.ts#L19
'dir' is defined but never used. Allowed unused args must match /^_/u
check (16.x): src/utils/error.ts#L22
Unexpected any. Specify a different type
check (16.x): src/utils/hex.ts#L93
Unexpected 'todo' comment: 'TODO: Make Length mandatory:...'
check (16.x)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/