Skip to content

fix(route): 新华网新华社新闻 (#14390) #5115

fix(route): 新华网新华社新闻 (#14390)

fix(route): 新华网新华社新闻 (#14390) #5115

Triggered via push February 3, 2024 21:42
Status Success
Total duration 3m 42s
Artifacts

format.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Auto format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Auto format: lib/maintainer.js#L54
`Array#reduce()` is not allowed
Auto format: lib/middleware/parameter.js#L244
Prefer `RegExp#test(…)` over `String#match(…)`
Auto format: lib/middleware/parameter.js#L245
Prefer `RegExp#test(…)` over `String#match(…)`
Auto format: lib/middleware/parameter.js#L246
Prefer `RegExp#test(…)` over `String#match(…)`
Auto format: lib/middleware/template.js#L78
Prefer `Number.isNaN` over `isNaN`
Auto format: lib/routes/10000link/news.js#L31
'url.resolve' was deprecated since v11.0.0. Use 'url.URL' constructor instead
Auto format: lib/routes/755/user.js#L49
Move arrow function 'GetTitle' to the outer scope
Auto format: lib/routes/99percentinvisible/transcript.js#L8
'url.resolve' was deprecated since v11.0.0. Use 'url.URL' constructor instead
Auto format: lib/routes/99percentinvisible/transcript.js#L19
'url.resolve' was deprecated since v11.0.0. Use 'url.URL' constructor instead
Auto format: lib/routes/adquan/index.js#L30
Expected a default case