-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update yarn packages and fix vulnerabilities #224
Comments
@bradystroud I have updated the Yarn Packages which have full backwards compatibility. We can safely upgrade any yellow or green packages every time they come up. This leaves the following packages to be upgraded. Each of these is more complicated because we need to check if upgrading will break anything.
Note that there are a lot of vulnerabilities caused by these red packages. |
@pierssinclairssw @adamcogan @christianmorfordwaitessw UPDATE: 9 major outdated packages remaining (13 fixed), 9 vulnerabilities remaining (41 fixed) This PR #488 updates most of the outdated packages An update to the
Thanks, -Brady |
When attempting to update the remaining packages I started getting some new errors all coming from the SSW menu. I removed the menu and almost all packages updated without an issue.
|
The errors are caused by the 'in' keyword in the mobile menu's CSS. .navbarCollapse.in {
overflow-y: auto;
} I am currently investigating what 'in' does and why its causing errors |
cc: @pierssinclairssw @christoment I couldn't find where the
To double check that it was my change breaking the menu, I downgraded Gatsby and removed the same CSS but the mobile menu worked. After updating Gatsby, I was able to update 6 other packages with no issues. Once the menu is fixed, there will only be 2 packages left to update: gatsby-transformer-remark - Breaks all our custom markdown elements. For more info, see https://www.gatsbyjs.com/docs/reference/release-notes/v3.3/#incompatible-plugin-gatsby-remark-custom-blocks
-Brady |
As per my conversation with @adamcogan and @pierssinclairssw, the packages must be updated when a new package is added.
|
As per my conversation with @pierssinclairssw, I fixed the mobile menu locally, but after deploying it to the staging environment 2 new problems occurred.
I managed to reproduce this issue locally by running |
UPDATE: 1 outdated package, 17 vulnerabilities (11 high) As per my conversation with @pierssinclairssw, the problems mentioned in the previous comment are no longer happening. We believe that when we checked staging it was mid - deployment. webpack-assets-manifest was also updated without any issues. gatsby-transformer-remark still breaks our custom markdown elements |
Not done - The comment above has the latest screenshots Thanks, -Brady |
TO: @bradystroud
CC: @christianmorfordwaitessw @adamcogan
(checked by Christian)
As per our conversation, fix these vulnerabilities.
yarn audit --level high
to 0Figure: Yarn Audit - 16 vulnerabilities found (3 High)
Figure: Yarn Outdated - 9 Major (Red) outdated packages
Thanks,
-Brady
AB#59756
The text was updated successfully, but these errors were encountered: