chore: fix ws deep package version #1692
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context
We have multiple packages relying internally on
ws
dependency. mostly all are on8.x
versions of it.Also
ws
have a CVE fix available starting on those versions.5.2.4
,6.2.3
,7.5.10
,8.17.1
ws
has recently manually fixed to a upper version in our repo: https://github.com/getlago/lago-front/pull/1685/filesI did that as a quick fix, and also removed
webpack-bundle-analyser
as it was the only one to rely on a7.x
version ofws
Description
This PR does reintroduce
webpack-bundle-analyser
package, and I updated concerned packages so they can use the new^8.x
or^7.x version
containing the fix. Note that internally they use^
notation forws
, so they had the fix but the deep pckage version were not updated in our project yet.Update deep version with yarn today is mainly about removing a package and installing it again: yarnpkg/yarn#2394 (comment)
Also, as those version concerns the codegen, I ran it again hence having some changes on the generated file.
Here is the new
ws
version status on our app after those changes.