Skip to content

refactor: support Node.js v18+ and replace the debug module with nati… #52

refactor: support Node.js v18+ and replace the debug module with nati…

refactor: support Node.js v18+ and replace the debug module with nati… #52

Triggered via push August 15, 2024 14:39
Status Success
Total duration 55s
Artifacts

ci.yml

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

Annotations

33 warnings
Node 22 on ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node 22 on ubuntu-latest: lib/layer.js#L110
Use the rest parameters instead of 'arguments'.
Node 22 on ubuntu-latest: lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function.
Node 22 on ubuntu-latest: lib/router.js#L129
Unnecessary '.apply()'.
Node 22 on ubuntu-latest: lib/router.js#L249
`Array#reduce()` is not allowed
Node 22 on ubuntu-latest: lib/router.js#L384
Use the rest parameters instead of 'arguments'.
Node 22 on ubuntu-latest: lib/router.js#L386
Use the rest parameters instead of 'arguments'.
Node 22 on ubuntu-latest: lib/router.js#L465
Unnecessary '.call()'.
Node 22 on ubuntu-latest: lib/router.js#L550
Use the spread operator instead of '.apply()'.
Node 22 on ubuntu-latest: lib/router.js#L798
Use the rest parameters instead of 'arguments'.
Node 22 on ubuntu-latest: lib/router.js#L800
Use the rest parameters instead of 'arguments'.
Node 20 on ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node 20 on ubuntu-latest: lib/layer.js#L110
Use the rest parameters instead of 'arguments'.
Node 20 on ubuntu-latest: lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function.
Node 20 on ubuntu-latest: lib/router.js#L129
Unnecessary '.apply()'.
Node 20 on ubuntu-latest: lib/router.js#L249
`Array#reduce()` is not allowed
Node 20 on ubuntu-latest: lib/router.js#L384
Use the rest parameters instead of 'arguments'.
Node 20 on ubuntu-latest: lib/router.js#L386
Use the rest parameters instead of 'arguments'.
Node 20 on ubuntu-latest: lib/router.js#L465
Unnecessary '.call()'.
Node 20 on ubuntu-latest: lib/router.js#L550
Use the spread operator instead of '.apply()'.
Node 20 on ubuntu-latest: lib/router.js#L798
Use the rest parameters instead of 'arguments'.
Node 20 on ubuntu-latest: lib/router.js#L800
Use the rest parameters instead of 'arguments'.
Node 18 on ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Node 18 on ubuntu-latest: lib/layer.js#L110
Use the rest parameters instead of 'arguments'.
Node 18 on ubuntu-latest: lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function.
Node 18 on ubuntu-latest: lib/router.js#L129
Unnecessary '.apply()'.
Node 18 on ubuntu-latest: lib/router.js#L249
`Array#reduce()` is not allowed
Node 18 on ubuntu-latest: lib/router.js#L384
Use the rest parameters instead of 'arguments'.
Node 18 on ubuntu-latest: lib/router.js#L386
Use the rest parameters instead of 'arguments'.
Node 18 on ubuntu-latest: lib/router.js#L465
Unnecessary '.call()'.
Node 18 on ubuntu-latest: lib/router.js#L550
Use the spread operator instead of '.apply()'.
Node 18 on ubuntu-latest: lib/router.js#L798
Use the rest parameters instead of 'arguments'.
Node 18 on ubuntu-latest: lib/router.js#L800
Use the rest parameters instead of 'arguments'.