fix(route): 新华网新华社新闻 (#14390) #5115
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
|