Skip to content

feat: upgrade esbuild to v0.18 #455

feat: upgrade esbuild to v0.18

feat: upgrade esbuild to v0.18 #455

Triggered via pull request July 17, 2023 11:36
Status Failure
Total duration 45s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
Test: src/plugin.ts#L74
Argument of type '{ loader: Loader | undefined; sourcemap: boolean; sourcefile: string; banner?: string | undefined; footer?: string | undefined; legalComments?: "none" | "inline" | "eof" | "linked" | "external" | undefined; ... 35 more ...; implementation?: Implementation | undefined; }' is not assignable to parameter of type 'SameShape<TransformOptions, { loader: Loader | undefined; sourcemap: boolean; sourcefile: string; banner?: string | undefined; footer?: string | undefined; legalComments?: "none" | ... 4 more ... | undefined; ... 35 more ...; implementation?: Implementation | undefined; }>'.
Test
Process completed with exit code 1.
Test: src/index.d.ts#L6
Unexpected any. Specify a different type
Test: src/loader.ts#L20
Async function 'ESBuildLoader' has a complexity of 15. Maximum allowed is 10
Test: src/loader.ts#L24
Forbidden non-null assertion
Test: src/plugin.ts#L88
Unexpected any. Specify a different type
Test: src/plugin.ts#L99
Unexpected any. Specify a different type
Test: src/plugin.ts#L101
Unexpected any. Specify a different type
Test: src/plugin.ts#L105
Unexpected any. Specify a different type
Test: tests/index.ts#L12
Forbidden non-null assertion
Test: tests/specs/loader.ts#L23
Too many nested callbacks (5). Maximum allowed is 4
Test: tests/specs/loader.ts#L151
Too many nested callbacks (5). Maximum allowed is 4