-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change some packages including Webpack, Jest and Babel to sort vulnerabilities #338
Merged
+3,673
−6,763
Conversation
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
…on vulnerable cross-spawn version
rhystmills
force-pushed
the
rm/sort-vulns
branch
3 times, most recently
from
January 21, 2025 14:34
d2b04ad
to
71ddd74
Compare
rhystmills
force-pushed
the
rm/sort-vulns
branch
from
January 21, 2025 14:38
71ddd74
to
2969283
Compare
…onger included in jest
…ract a breaking change introducing new default behaviour in snapshots, by adding new configuration that preserves the existing snapshot handling
rhystmills
force-pushed
the
rm/sort-vulns
branch
from
January 23, 2025 09:09
221b0a4
to
8d68c35
Compare
rhystmills
force-pushed
the
rm/sort-vulns
branch
from
January 23, 2025 09:13
8d68c35
to
a2e33c3
Compare
rhystmills
changed the title
Bump some packages to sort vulnerabilities
Change some packages to sort vulnerabilities
Jan 23, 2025
rhystmills
changed the title
Change some packages to sort vulnerabilities
Change some packages including Webpack, Jest and Babel to sort vulnerabilities
Jan 23, 2025
dblatcher
approved these changes
Jan 23, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test locally - all works!
Seen on PROD (merged by @rhystmills 3 minutes and 16 seconds ago) Please check your changes! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What does this change?
This PR changes a few packages to try and sort some high priority vulnerabilities in the application (mostly in dev dependencies).
It builds on some work done by Rik which saw some failing tests after he bumped Jest.
Specifically, this PR:
jest
and related packages, in the shared dependencieswebpack
and related dependencies in theclient
sub-project to stop using a vulnerable version ofhttp-proxy-middleware
@babel/core
and related dependencies in theclient
sub-project to rely on a vulnerable version ofcross-spawn
in fewer placesyarn-run-all
tonpm-run-all
due to a vulnerability in the former, which is irregularly updated (last published 8 years ago)This seemed like a decent amount to cover in one PR. There is a remaining vulnerability in
wsrun
, last updated 4 years ago, which I decided not to tackle in this PR, and probably more elsewhere in the project.I had to make two changes to the jest config because of breaking changes in jest:
uuid
package that was required byaws-sdk
, thread about that here: ESM Problems with Jest@26 and Node.js 14.x uuidjs/uuid#451 (comment)How to test
yarn test
in the root. Do they all pass?I'm happy to pair if you have any trouble running either.