fix: allowedMethods() should not fail if more than one router is defined #59
Annotations
11 warnings
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/
|
Run tests:
lib/layer.js#L110
Use the rest parameters instead of 'arguments'.
|
Run tests:
lib/layer.js#L188
Array.prototype.some() expects a value to be returned at the end of arrow function.
|
Run tests:
lib/router.js#L129
Unnecessary '.apply()'.
|
Run tests:
lib/router.js#L231
Use the spread operator instead of '.apply()'.
|
Run tests:
lib/router.js#L249
`Array#reduce()` is not allowed
|
Run tests:
lib/router.js#L384
Use the rest parameters instead of 'arguments'.
|
Run tests:
lib/router.js#L386
Use the rest parameters instead of 'arguments'.
|
Run tests:
lib/router.js#L465
Unnecessary '.call()'.
|
Run tests:
lib/router.js#L550
Use the spread operator instead of '.apply()'.
|
Run tests:
lib/router.js#L798
Use the rest parameters instead of 'arguments'.
|
Loading