chore(deps-dev): upgrade electron from 35.7.5 to 40.0.0#66
Merged
Conversation
Update Electron to the latest major version (40.x) in both the root package and the playground example. No code changes required - the TypeScript compatibility fixes from the previous Electron 35 upgrade continue to work with Electron 40. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR upgrades Electron from version 35.7.5 to 40.0.0, a major version jump across 5 major versions. The upgrade is straightforward with no code changes required, as the TypeScript compatibility fixes from PR #64 continue to work with Electron 40.
Changes:
- Updated Electron dependency from ^35.7.5 to ^40.0.0 in both main package and playground example
- Updated package-lock.json files with new version hashes and transitive dependency updates (@types/node 22.x → 24.x, undici-types 6.x → 7.x)
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| package.json | Updated electron devDependency to ^40.0.0 |
| package-lock.json | Updated electron, @types/node, and undici-types to versions bundled with Electron 40 |
| examples/playground/package.json | Updated electron devDependency to ^40.0.0 for consistency |
| examples/playground/package-lock.json | Updated electron and transitive dependencies to match main package |
Files not reviewed (1)
- examples/playground/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
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.
Summary
Upgrade Electron from 35.7.5 to 40.0.0 (latest major version).
Changes
Notes
No code changes were required - the TypeScript compatibility fixes from PR #64 (Electron 35 upgrade) continue to work with Electron 40.
Test plan
npm run build)npm run buildin examples/playground)npm test)npm run test:e2e) - CI will verify🤖 Generated with Claude Code