You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of promise-inflight was originally intended to prevent duplicate
concurrent git ls-remote calls. However, this scenario is rare, and the
performance impact of duplicate calls is minimal. The existing LRU cache
already prevents redundant requests over time.
Removing promise-inflight simplifies the code and removes a dependency
often cited by security linters. This does mean duplicate inflight
requests are now possible, but the expected impact is negligible. Should
we want to make sure they don't happen, we could inline a solution
fairly easily
0 commit comments