Skip to content

chore: update electron@42.6.0#325428

Draft
deepak1556 wants to merge 6 commits into
mainfrom
robo/update_electron
Draft

chore: update electron@42.6.0#325428
deepak1556 wants to merge 6 commits into
mainfrom
robo/update_electron

Conversation

@deepak1556

@deepak1556 deepak1556 commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Refs https://releases.electronjs.org/release/compare/v42.5.0/v42.6.0

Fixes #323051

Note

npm version bump with this update brings in support for explicit approval of install scripts. The explicitly allowed ones all carry a native module dependency build, with only exception of ssh2 being disallowed as we don't use its native cpu-features. Refs https://github.com/microsoft/vscode/pull/307435/changes (cc @roblourens)

@deepak1556 deepak1556 added this to the 1.129.0 milestone Jul 11, 2026
@deepak1556 deepak1556 self-assigned this Jul 11, 2026
Copilot AI review requested due to automatic review settings July 11, 2026 12:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Electron runtime to 42.6.0, including its Chromium and Node.js revisions, to enable the Chromium PDF viewer.

Changes:

  • Updates Electron, Chromium, Node.js, manifests, checksums, and build configuration.
  • Adds npm dependency-script allowlists.
  • Refreshes lockfile metadata.
Show a summary per file
File Description
.npmrc Targets Electron 42.6.0 and its build.
.nvmrc Updates Node.js to 24.18.0.
package.json Updates Electron and adds script approvals.
package-lock.json Locks Electron 42.6.0.
cgmanifest.json Updates runtime component metadata.
remote/.npmrc Targets Node.js 24.18.0.
remote/package.json Adds remote dependency-script approvals.
remote/package-lock.json Refreshes optional dependency metadata.
test/automation/package.json Approves the fsevents install script.
extensions/package.json Approves extension build scripts.
extensions/copilot/.nvmrc Aligns Copilot with Node.js 24.18.0.
extensions/copilot/package.json Adds Copilot dependency-script approvals.
extensions/git/package.json Approves fs-copyfile installation.
extensions/mermaid-markdown-features/package.json Approves fsevents installation.
extensions/microsoft-authentication/package.json Approves MSAL native scripts.
build/package.json Adds build dependency-script approvals.
build/vite/package.json Approves fsevents installation.
build/checksums/electron.txt Updates Electron artifact checksums.
build/checksums/nodejs.txt Updates Node.js artifact checksums.
build/linux/dependencies-generator.ts References the new Chromium revision.
build/azure-pipelines/linux/setup-env.sh Updates Chromium toolchain sources.

Review details

Files not reviewed (1)
  • remote/package-lock.json: Generated file
  • Files reviewed: 19/21 changed files
  • Comments generated: 2
  • Review effort level: Medium

Comment thread package.json
Comment thread remote/package.json
@deepak1556 deepak1556 force-pushed the robo/update_electron branch from 58cfc3e to d0bcbff Compare July 11, 2026 13:39
@deepak1556

Copy link
Copy Markdown
Collaborator Author

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.

Enable Chromium PDF viewer

2 participants