Skip to content

Reinstall Express dependencies for webpack-dev-server advisory#10430

Merged
aduth merged 1 commit intomainfrom
aduth-webpack-dev-express
Apr 15, 2024
Merged

Reinstall Express dependencies for webpack-dev-server advisory#10430
aduth merged 1 commit intomainfrom
aduth-webpack-dev-express

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Apr 15, 2024

🛠 Summary of changes

Updates resolved versions of express and follow-redirects to resolve outstanding security advisories, as transitive dependencies of webpack-dev-server.

This was meant to be addressed in #10350, but the updated version of webpack-dev-server did not require a minimum version of express and follow-redirects to resolve the advisory.

The process for performing this update was to manually remove top-level entries of express and follow-redirects from yarn.lock and running yarn install to allow the latest version of the dependencies that satisfies the version constraints of their ancestor dependency (webpack-dev-server). This is something that a tool like npm audit fix would automate for us, but an equivalent tool does not exist in Yarn Classic.

📜 Testing Plan

Verify no errors or changes to yarn.lock after running yarn install (this is also verified through CI):

yarn install

Verify that yarn audit is empty after yarn install.

changelog: Internal, Dependencies, Update dependencies to resolve security advisories
@aduth aduth merged commit 9791a2d into main Apr 15, 2024
@aduth aduth deleted the aduth-webpack-dev-express branch April 15, 2024 14:06
@mitchellhenke mitchellhenke mentioned this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants