Skip to content

Remove MWCapabilities object (partial impl) #1155

Remove MWCapabilities object (partial impl)

Remove MWCapabilities object (partial impl) #1155

Re-run triggered August 9, 2023 14:09
Status Failure
Total duration 3m 44s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

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

Annotations

11 errors and 3 warnings
build (18.x)
Process completed with exit code 1.
build (18.x): node_modules/@types/imagemin-gifsicle/index.d.ts#L7
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("imagemin")' call instead.
build (18.x): node_modules/@types/imagemin-webp/index.d.ts#L7
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("imagemin")' call instead.
build (18.x): src/Downloader.ts#L209
Type '(loginCookie?: string, testArticleId?: string) => Promise<any>' is not assignable to type 'boolean'.
build (18.x): src/Downloader.ts#L210
Type '(loginCookie?: string, testArticleId?: string) => Promise<any>' is not assignable to type 'boolean'.
build (18.x): src/Downloader.ts#L215
Type '(loginCookie?: string, testArticleId?: string) => Promise<any>' is not assignable to type 'boolean'.
build (18.x): src/Downloader.ts#L216
Type '(loginCookie?: string, testArticleId?: string) => Promise<any>' is not assignable to type 'boolean'.
build (18.x): src/Downloader.ts#L358
Cannot find name 'articleRenderer'.
build (18.x): src/Downloader.ts#L358
Property 'mwCapabilities' does not exist on type 'Downloader'.
build (18.x): src/Downloader.ts#L435
Property 'mwCapabilities' does not exist on type 'Downloader'.
build (18.x): src/util/articleRenderers.ts#L5
Module '"../Downloader.js"' has no exported member 'MWCapabilities'. Did you mean to use 'import MWCapabilities from "../Downloader.js"' instead?
build (18.x): src/Downloader.ts#L22
'renderArticle' is defined but never used
build (18.x): test/unit/saveArticles.test.ts#L5
'applyOtherTreatments' is defined but never used
build (18.x): test/unit/saveArticles.test.ts#L7
'Dump' is defined but never used