refactor: upgrade deps + refactor code to be with oop class style + s… #47
Annotations
22 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#L127
Unnecessary '.apply()'.
|
Node 22 on ubuntu-latest:
lib/router.js#L247
`Array#reduce()` is not allowed
|
Node 22 on ubuntu-latest:
lib/router.js#L382
Use the rest parameters instead of 'arguments'.
|
Node 22 on ubuntu-latest:
lib/router.js#L384
Use the rest parameters instead of 'arguments'.
|
Node 22 on ubuntu-latest:
lib/router.js#L463
Unnecessary '.call()'.
|
Node 22 on ubuntu-latest:
lib/router.js#L548
Use the spread operator instead of '.apply()'.
|
Node 22 on ubuntu-latest:
lib/router.js#L796
Use the rest parameters instead of 'arguments'.
|
Node 22 on ubuntu-latest:
lib/router.js#L798
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#L127
Unnecessary '.apply()'.
|
Node 20 on ubuntu-latest:
lib/router.js#L247
`Array#reduce()` is not allowed
|
Node 20 on ubuntu-latest:
lib/router.js#L382
Use the rest parameters instead of 'arguments'.
|
Node 20 on ubuntu-latest:
lib/router.js#L384
Use the rest parameters instead of 'arguments'.
|
Node 20 on ubuntu-latest:
lib/router.js#L463
Unnecessary '.call()'.
|
Node 20 on ubuntu-latest:
lib/router.js#L548
Use the spread operator instead of '.apply()'.
|
Node 20 on ubuntu-latest:
lib/router.js#L796
Use the rest parameters instead of 'arguments'.
|
Node 20 on ubuntu-latest:
lib/router.js#L798
Use the rest parameters instead of 'arguments'.
|