-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: remove promise-inflight (#223)
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
- Loading branch information
1 parent
29dfb33
commit 618c70c
Showing
2 changed files
with
30 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters