Skip to content
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 vulnerable packages #746

Merged
merged 7 commits into from
Dec 18, 2024
Merged

Update vulnerable packages #746

merged 7 commits into from
Dec 18, 2024

Conversation

wojtekn
Copy link
Contributor

@wojtekn wojtekn commented Dec 17, 2024

Related issues

Proposed Changes

  • I propose to upgrade a few packages to improve security.

Testing Instructions

  • Test if Studio starts and basic features work.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

@wojtekn wojtekn requested a review from a team December 17, 2024 15:15
@wojtekn wojtekn self-assigned this Dec 17, 2024
package.json Outdated
@@ -123,7 +123,7 @@
"date-fns": "^3.3.1",
"electron-squirrel-startup": "^1.0.0",
"electron2appx": "^2.1.2",
"express": "4.19.2",
"express": "4.20.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not 4.21.2?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I upgraded to the one with a security fix in place, but it's a good point, it makes sense to upgrade to the latest 4.x. I've just upgraded it.

@@ -69,7 +69,7 @@
"electron": "29.1.0",
"electron-devtools-installer": "^3.2.0",
"electron-playwright-helpers": "^1.7.0",
"eslint": "^8.0.1",
"eslint": "^8.57.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not something we need to address in this PR, but noting that https://eslint.org/ says ESLint 8.x is EOL, so we should look into updating to 9.x.

@@ -106,7 +106,7 @@
"@php-wasm/scopes": "^0.9.44",
"@php-wasm/universal": "^0.9.44",
"@rive-app/react-canvas": "^4.12.0",
"@sentry/electron": "^4.17.0",
"@sentry/electron": "^4.24.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, not something we need to do in this PR, but we should look into upgrading to the next major version. Are we aware of any potentially breaking issues, @wojtekn?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fredrikekelund yes, we should, but let's do this separately. I want to take the smallest possible step here to fix the security issues reported by Dependabot. We will need to update WP components, Electron and probably more.

@wojtekn wojtekn merged commit 68137b4 into trunk Dec 18, 2024
6 checks passed
@wojtekn wojtekn deleted the update/vulnerable-packages branch December 18, 2024 10:03
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