forked from webpack/webpack-dev-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace portfinder with get-port
Gets rid of security warnings in async. New package has less dependencies because it targets more recent Node versions. Drop lodash from prod. COuld not use latest because get-port 6 is ESM-only. new package used a lot, for example Vite. Behaviour is not identical as portfinder tries ports in ascending order while portfinder tries random ports if the preferred port is closed. Both have race conditions visible when tests run in parallel. Demands should not be too high as this only runs once when the server starts, not meant to find ports in a production service.
- Loading branch information
1 parent
c9b6433
commit 7264d5d
Showing
4 changed files
with
31 additions
and
89 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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