Skip to content

fix: allowedMethods() should not fail if more than one router is defi… #66

fix: allowedMethods() should not fail if more than one router is defi…

fix: allowedMethods() should not fail if more than one router is defi… #66

Triggered via push September 12, 2024 22:08
Status Success
Total duration 47s
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#L231
Use the spread operator instead of '.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 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#L231
Use the spread operator instead of '.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 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#L231
Use the spread operator instead of '.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'.