Open
Description
Describe the bug
Invalid auth middleware clearTimeout implementation. Function clearTimeout accept number type, not array as is.
To reproduce
Steps to reproduce the behavior:
- Impossible to reproduce. Found it when checking how function work.
Expected behavior
Cleared timeout to avoid memory leak.
Screenshots
Possible solutions
Use array destructuring on Map to get valid number type field to clear interval.
Debug Report
Please complete the following device information:
Please let us know what packages this bug is in regards to:
-
venia-concept
-
venia-ui
-
pwa-buildpack
-
peregrine
-
pwa-devdocs
-
upward-js
-
upward-spec
-
create-pwa