Repository navigation
refactor: use @electron-internal/extract-zip in the npm package - #51886
Merged
Merged
Conversation
5 of 7 tasks
Member
|
Closes #51619 (would be good to include in PR body, don't have perms for that) |
VerteDinde
approved these changes
Jun 5, 2026
Member
|
@erickzhao I got you 🫡 |
jkleinsc
approved these changes
Jun 5, 2026
|
No Release Notes |
Contributor
|
I was unable to backport this PR to "41-x-y" cleanly; |
Contributor
|
I was unable to backport this PR to "40-x-y" cleanly; |
Contributor
|
I have automatically backported this PR to "43-x-y", please check out #51894 |
Contributor
|
I have automatically backported this PR to "42-x-y", please check out #51895 |
jkleinsc
pushed a commit
that referenced
this pull request
Jun 8, 2026
* build: update @electron/get to v5 (#51234) (cherry picked from commit 44e4839) Co-authored-by: Samuel Attard <[email protected]> * refactor: use @electron-internal/extract-zip in the npm package (#51886) (cherry picked from commit ad2df5c) Co-authored-by: Samuel Attard <[email protected]> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Samuel Attard <[email protected]>
KanishkRanjan
pushed a commit
to KanishkRanjan/electron
that referenced
this pull request
Jun 11, 2026
RobbieTheWagner
added a commit
to shipshapecode/swach
that referenced
this pull request
Jun 12, 2026
Electron >= 40.10.3 replaces extract-zip with a fixed extractor in its install script (electron/electron#51886). The yauzl override stays: @electron/packager 18.4.4 (pinned by electron-forge) still extracts the Electron zip with extract-zip + yauzl 2, which is broken on Node 24.16+. Drop the override once forge ships @electron/packager >= 19. Co-Authored-By: Claude Fable 5 <[email protected]>
RobbieTheWagner
added a commit
to shipshapecode/swach
that referenced
this pull request
Jun 12, 2026
* ember-cli-update to 6.11 * Update index.d.ts * Fix types * TS progress * Fix remaining type errors - Make oncomplete handlers accept optional InputEvent to match ember-inputmask types - Type nearest-color from() with overloads accepting string or RGB input Co-Authored-By: Claude Fable 5 <[email protected]> * Fix unhandled AbortError from skipped view transitions Rapid successive route transitions cause the View Transitions API to skip the in-flight transition, rejecting its ready/finished promises with 'AbortError: Transition was skipped'. Catch those rejections and skip view transitions entirely in tests, where they only add timing nondeterminism. Co-Authored-By: Claude Fable 5 <[email protected]> * Temporary: debug electron binary install in CI Co-Authored-By: Claude Fable 5 <[email protected]> * Override yauzl to v3 to fix Electron binary install on Node 24.16+ extract-zip's yauzl 2.x silently aborts extraction on Node 24.16.0+, leaving node_modules/electron without its binary and path.txt (electron/electron#51619). Co-Authored-By: Claude Fable 5 <[email protected]> * Remove temporary CI debug step Co-Authored-By: Claude Fable 5 <[email protected]> * Update electron to 40.10.3 for the upstream Node 24.16+ install fix Electron >= 40.10.3 replaces extract-zip with a fixed extractor in its install script (electron/electron#51886). The yauzl override stays: @electron/packager 18.4.4 (pinned by electron-forge) still extracts the Electron zip with extract-zip + yauzl 2, which is broken on Node 24.16+. Drop the override once forge ships @electron/packager >= 19. Co-Authored-By: Claude Fable 5 <[email protected]> --------- Co-authored-by: Claude Fable 5 <[email protected]>
13 tasks done
Astro-Han
added a commit
to Astro-Han/pawwork
that referenced
this pull request
Jun 17, 2026
…l matrix - Upgrade electron 40.8.0 → 40.10.3 (includes upstream extract-zip fix) - Remove yauzl override (no longer needed with Electron 40.10.3) - Add --assert-complete flag to repair-electron-install.mjs that checks binary, Framework, and path.txt content - Replace inline CI assertion with single-line --assert-complete call - Add install-matrix CI job covering Node 24 and 26 - Update PR description with migration guidance Related: electron/electron#51886, #1329
Astro-Han
added a commit
to Astro-Han/pawwork
that referenced
this pull request
Jun 17, 2026
Fix Electron's silent installation failure on Node 24.16.0+ and 26.x. Root cause: extract-zip -> [email protected] -> [email protected] has a broken stream lifecycle on newer Node versions, causing Electron's postinstall to silently skip binary extraction (path.txt and Frameworks missing, dist is a 244K stub). Fix: upgrade Electron from 40.8.0 to 40.10.3, which includes the upstream fix (electron/electron#51886) that replaces extract-zip with @electron-internal/extract-zip. Changes: - Upgrade electron 40.8.0 -> 40.10.3 in packages/desktop-electron - Remove yauzl override from root package.json (no longer needed) - Delete script/check-node.mjs and its test (Node 25+ guard removed) - Remove preinstall hook and test:install-guard from package.json - Remove install guard unit step from CI workflow - Add --assert-complete flag to repair-electron-install.mjs - Add install-matrix CI job covering Node 24 and 26 - Add pre-repair assertion in desktop-smoke workflow Verification: - bun install --frozen-lockfile: passes on Node 24 and 26 - install-matrix (24): SUCCESS - install-matrix (26): SUCCESS - desktop-smoke: SUCCESS - Local Node 26 fresh install: path.txt + Frameworks + 275M dist confirmed Related: electron/electron#51619, electron/electron#51886, #1329, #1346
EhabY
added a commit
to coder/vscode-coder
that referenced
this pull request
Aug 10, 2026
yauzl 2 dies silently on Node >= 24.16 (nodejs/node#62557 made pause()/resume() no-ops on destroyed streams), so electron's extract-zip postinstall exits 0 without extracting anything and the binary is never installed. Override yauzl to ^3.4.0, which extract-zip works with unchanged. Drop when electron ships its own extract-zip replacement (electron/electron#51886).
EhabY
added a commit
to coder/vscode-coder
that referenced
this pull request
Aug 10, 2026
yauzl 2 dies silently on Node >= 24.16 (nodejs/node#62557 made pause()/resume() no-ops on destroyed streams), so electron's extract-zip postinstall exits 0 without extracting anything and the binary is never installed. Override yauzl to ^3.4.0, which extract-zip works with unchanged. Drop when electron ships its own extract-zip replacement (electron/electron#51886).
EhabY
added a commit
to coder/vscode-coder
that referenced
this pull request
Aug 10, 2026
yauzl 2 dies silently on Node >= 24.16 (nodejs/node#62557 made pause()/resume() no-ops on destroyed streams), so electron's extract-zip postinstall exits 0 without extracting anything and the binary is never installed. Override yauzl to ^3.4.0, which extract-zip works with unchanged. Drop when electron ships its own extract-zip replacement (electron/electron#51886).
EhabY
added a commit
to coder/vscode-coder
that referenced
this pull request
Aug 10, 2026
yauzl 2 dies silently on Node >= 24.16 (nodejs/node#62557 made pause()/resume() no-ops on destroyed streams), so electron's extract-zip postinstall exits 0 without extracting anything and the binary is never installed. Override yauzl to ^3.4.0, which extract-zip works with unchanged. Drop when electron ships its own extract-zip replacement (electron/electron#51886).
EhabY
added a commit
to coder/vscode-coder
that referenced
this pull request
Aug 10, 2026
Bump patch/minor versions across the board, including security fixes for eventsource (4.1.1) and ws (8.21.3), plus electron 39.8.10, eslint 10.8.1, esbuild 0.28.2, storybook 10.5.7, and vite 8.2.1. Also override yauzl to ^3.4.0: yauzl 2 dies silently on Node >= 24.16 (nodejs/node#62557), so electron's extract-zip postinstall exits 0 without ever extracting the binary. Drop the override when electron ships its own extract-zip replacement (electron/electron#51886).
5 tasks
fnr1r
added a commit
to fnr1r/deltamod
that referenced
this pull request
Aug 28, 2026
what the fuck did I just discover? for more information, see: electron/electron@1c26d69 electron/electron#51886 electron/electron#51619 max-mapper/extract-zip#154
fnr1r
added a commit
to fnr1r/deltamod
that referenced
this pull request
Aug 29, 2026
what the fuck did I just discover? for more information, see: electron/electron@1c26d69 electron/electron#51886 electron/electron#51619 max-mapper/extract-zip#154
fnr1r
added a commit
to fnr1r/deltamod
that referenced
this pull request
Aug 30, 2026
what the fuck did I just discover? for more information, see: electron/electron@1c26d69 electron/electron#51886 electron/electron#51619 max-mapper/extract-zip#154
xatier
added a commit
to ChildishGhost/einstein
that referenced
this pull request
Sep 4, 2026
trashBattery
added a commit
to trashBattery/daggerfall-js-source
that referenced
this pull request
Sep 23, 2026
…ystems due to bug with depreciated dependency extract-zip. electron/electron#51886
trashBattery
added a commit
to trashBattery/daggerfall-js-source
that referenced
this pull request
Sep 23, 2026
…ystems due to bug with depreciated dependency extract-zip. electron/electron#51886
6 of 7 tasks
DeJeune
pushed a commit
to CherryHQ/cherry-studio
that referenced
this pull request
Sep 24, 2026
<!-- Template from https://github.com/kubevirt/kubevirt/blob/main/.github/PULL_REQUEST_TEMPLATE.md?--> <!-- Thanks for sending a pull request! Here are some tips for you: 1. Consider creating this PR as draft: https://github.com/CherryHQ/cherry-studio/blob/main/CONTRIBUTING.md --> > ### Branch strategy > > - Active development targets `main`. ### What this PR does Before this PR: - `.node-version` / `.nvmrc` pin Node 24.11.1, whose bundled corepack (0.34.2) cannot start the pinned `[email protected]`: it looks for `bin/pnpm.cjs`, which pnpm 12 no longer ships. Following `docs/contrib/development.md` (`nvm install` + `corepack enable`) fails with `Cannot find module '.../pnpm/12.6.0/bin/pnpm.cjs'`. - `engines.node` is `>=24.11.1 <24.16.0`. The upper bound (#16222) is obsolete. - `engine-strict=true` lives in `.npmrc`, which pnpm has ignored since v11 (`pnpm config get engineStrict` → `undefined`), so the `engines` range is not enforced at all. After this PR: - `engines.node` is `>=24.12.0`: the first Node 24 release whose bundled corepack (0.34.5) maps pnpm ≥ 11 to `bin/pnpm.mjs`. - `.node-version` / `.nvmrc` pin 24.21.0 (latest 24.x, bundled corepack 0.36.0). CI's `setup-node` follows this too. - `engineStrict: true` moves to `pnpm-workspace.yaml`, and `.npmrc` (which held only that line) is removed. <!-- (optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: --> Fixes #N/A ### Why we need it and why it was done in this way `packageManager` pins `[email protected]`, and corepack is the documented way to get it, so the Node floor is set by the corepack Node bundles, not by pnpm itself. Bundled corepack per Node release, each run with a fresh `COREPACK_HOME`: | Node | Bundled corepack | `corepack pnpm -v` | | --- | --- | --- | | 24.11.1 | 0.34.2 | `Cannot find module …/bin/pnpm.cjs` | | 24.12.0 | 0.34.5 | `12.6.0` | | 24.15.0 | 0.34.6 | `12.6.0` | | 24.16.0 | 0.35.0 | `12.6.0` | | 24.21.0 | 0.36.0 | `12.6.0` | The `<24.16.0` cap from #16222 guarded against `extract-zip` hanging on Node 24.16.0 and leaving Electron's binary half-extracted. Both upstream causes are gone: - **Electron**: electron/electron#51886 replaced `extract-zip` with the native `@electron-internal/extract-zip`. Our `[email protected]` resolves `@electron-internal/[email protected]`, and `extract-zip` is no longer in the dependency tree. - **Node**: v24 reverted the stream change in 24.18.0 (nodejs/node#63487, closed as completed). pnpm ≥ 11 reads only auth/registry settings from `.npmrc` (pnpm v11.0.0 release notes, pnpm/pnpm#11189). #16223 moved the other pnpm settings into `pnpm-workspace.yaml` but missed `.npmrc`, so the guard from #16222 was only in effect for the ~10 hours between the two merges. Root `engines` enforcement under `engineStrict` also only returned in pnpm 12.6.0 (pnpm/pnpm#3016). The following tradeoffs were made: - The range admits 24.16.x/24.17.x and Node 26, which still carry the stream change. This is harmless here: nothing we run on the dev Node uses `[email protected]` any more. Its remaining consumers (`word-extractor`, `officeparser` → `decompress-unzip`) are mocked in tests, and at runtime they run on Electron 44's bundled Node 24.20.0, which already has the revert. - With `engineStrict` enforced again, developers on Node < 24.12.0 get `ERR_PNPM_UNSUPPORTED_ENGINE` on `pnpm install` and must upgrade. That is intended: those versions cannot start pnpm 12 through corepack anyway. The following alternatives were considered: - Floor at 24.15.0 (the range newer corepack 0.35+ declares in its own `engines`): rejected. Node 24.12–24.14 bundle corepack 0.34.5/0.34.6, which already works. - `>=24.12.0 <24.16.0 || >=24.18.0` to skip the stream-change releases: rejected. Nothing in the install path hits the bug any more, so the gap would protect nothing. Links to places where the discussion took place: <!-- optional: slack, other GH issue, mailinglist, ... --> - #16222 - nodejs/node#63487 - electron/electron#51619 - electron/electron#51886 ### Breaking changes <!-- optional --> Development environment only: `pnpm install` now requires Node ≥ 24.12.0 and fails fast with `ERR_PNPM_UNSUPPORTED_ENGINE` below it. Run `nvm install` (or your version manager's equivalent) to pick up the new `.node-version`. No change for app users. ### Special notes for your reviewer <!-- optional --> Verified on macOS arm64: - **Electron install on Node 24.16.0** (the known-bad release), each in a clean npm project: `[email protected]` extracts fully (`dist/` 307 MB, `--version` → `v44.2.0`). The control, `[email protected]` (still on `extract-zip`), leaves `dist/` at 236 KB and fails with `Electron failed to install correctly`, so the repro itself still works. - **`engineStrict` enforcement**, `pnpm install --frozen-lockfile` with pnpm 12.6.0: Node 24.11.1 → `ERR_PNPM_UNSUPPORTED_ENGINE`; 24.12.0 and 24.21.0 → pass. With the setting left in `.npmrc`, 24.11.1 passes silently. - **Dependency engines**: `engineStrict` also checks dependencies, and it has not been enforced since pnpm 11. Clean installs (all `node_modules` removed) on 24.12.0 and 24.21.0 finish with no engine errors or warnings. ### Checklist This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list. - [x] Branch: This PR targets `main` - [x] PR: The PR description is expressive enough and will help future contributors - [x] Code: [Write code that humans can understand](https://en.wikiquote.org/wiki/Martin_Fowler#code-for-humans) and [Keep it simple](https://en.wikipedia.org/wiki/KISS_principle) - [x] Refactor: You have [left the code cleaner than you found it (Boy Scout Rule)](https://learning.oreilly.com/library/view/97-things-every/9780596809515/ch08.html) - [x] Upgrade: Impact of this change on upgrade flows was considered and addressed if required - [ ] Documentation: A [user-guide update](https://docs.cherry-ai.com) was considered and is present (link) or not required. Check this only when the PR introduces or changes a user-facing feature or behavior. - [x] Self-review: I have reviewed my own code (e.g., via [`/gh-pr-review`](/.claude/skills/gh-pr-review/SKILL.md), `gh pr diff`, or GitHub UI) before requesting review from others ### Release note <!-- Write your release note: 1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required". 2. If no release note is required, just write "NONE". 3. Only include user-facing changes (new features, bug fixes visible to users, UI changes, behavior changes). For CI, maintenance, internal refactoring, build tooling, or other non-user-facing work, write "NONE". --> ```release-note NONE ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: eurfelux <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
MidAutumnMoon
added a commit
to MidAutumnMoon/lingo-studio
that referenced
this pull request
Sep 25, 2026
chore(deps): align node engine range with pnpm 12 (CherryHQ#21025) <!-- Template from https://github.com/kubevirt/kubevirt/blob/main/.github/PULL_REQUEST_TEMPLATE.md?--> <!-- Thanks for sending a pull request! Here are some tips for you: 1. Consider creating this PR as draft: https://github.com/CherryHQ/cherry-studio/blob/main/CONTRIBUTING.md --> > ### Branch strategy > > - Active development targets `main`. ### What this PR does Before this PR: - `.node-version` / `.nvmrc` pin Node 24.11.1, whose bundled corepack (0.34.2) cannot start the pinned `[email protected]`: it looks for `bin/pnpm.cjs`, which pnpm 12 no longer ships. Following `docs/contrib/development.md` (`nvm install` + `corepack enable`) fails with `Cannot find module '.../pnpm/12.6.0/bin/pnpm.cjs'`. - `engines.node` is `>=24.11.1 <24.16.0`. The upper bound (CherryHQ#16222) is obsolete. - `engine-strict=true` lives in `.npmrc`, which pnpm has ignored since v11 (`pnpm config get engineStrict` → `undefined`), so the `engines` range is not enforced at all. After this PR: - `engines.node` is `>=24.12.0`: the first Node 24 release whose bundled corepack (0.34.5) maps pnpm ≥ 11 to `bin/pnpm.mjs`. - `.node-version` / `.nvmrc` pin 24.21.0 (latest 24.x, bundled corepack 0.36.0). CI's `setup-node` follows this too. - `engineStrict: true` moves to `pnpm-workspace.yaml`, and `.npmrc` (which held only that line) is removed. <!-- (optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: --> Fixes #N/A ### Why we need it and why it was done in this way `packageManager` pins `[email protected]`, and corepack is the documented way to get it, so the Node floor is set by the corepack Node bundles, not by pnpm itself. Bundled corepack per Node release, each run with a fresh `COREPACK_HOME`: | Node | Bundled corepack | `corepack pnpm -v` | | --- | --- | --- | | 24.11.1 | 0.34.2 | `Cannot find module …/bin/pnpm.cjs` | | 24.12.0 | 0.34.5 | `12.6.0` | | 24.15.0 | 0.34.6 | `12.6.0` | | 24.16.0 | 0.35.0 | `12.6.0` | | 24.21.0 | 0.36.0 | `12.6.0` | The `<24.16.0` cap from CherryHQ#16222 guarded against `extract-zip` hanging on Node 24.16.0 and leaving Electron's binary half-extracted. Both upstream causes are gone: - **Electron**: electron/electron#51886 replaced `extract-zip` with the native `@electron-internal/extract-zip`. Our `[email protected]` resolves `@electron-internal/[email protected]`, and `extract-zip` is no longer in the dependency tree. - **Node**: v24 reverted the stream change in 24.18.0 (nodejs/node#63487, closed as completed). pnpm ≥ 11 reads only auth/registry settings from `.npmrc` (pnpm v11.0.0 release notes, pnpm/pnpm#11189). CherryHQ#16223 moved the other pnpm settings into `pnpm-workspace.yaml` but missed `.npmrc`, so the guard from CherryHQ#16222 was only in effect for the ~10 hours between the two merges. Root `engines` enforcement under `engineStrict` also only returned in pnpm 12.6.0 (pnpm/pnpm#3016). The following tradeoffs were made: - The range admits 24.16.x/24.17.x and Node 26, which still carry the stream change. This is harmless here: nothing we run on the dev Node uses `[email protected]` any more. Its remaining consumers (`word-extractor`, `officeparser` → `decompress-unzip`) are mocked in tests, and at runtime they run on Electron 44's bundled Node 24.20.0, which already has the revert. - With `engineStrict` enforced again, developers on Node < 24.12.0 get `ERR_PNPM_UNSUPPORTED_ENGINE` on `pnpm install` and must upgrade. That is intended: those versions cannot start pnpm 12 through corepack anyway. The following alternatives were considered: - Floor at 24.15.0 (the range newer corepack 0.35+ declares in its own `engines`): rejected. Node 24.12–24.14 bundle corepack 0.34.5/0.34.6, which already works. - `>=24.12.0 <24.16.0 || >=24.18.0` to skip the stream-change releases: rejected. Nothing in the install path hits the bug any more, so the gap would protect nothing. Links to places where the discussion took place: <!-- optional: slack, other GH issue, mailinglist, ... --> - CherryHQ#16222 - nodejs/node#63487 - electron/electron#51619 - electron/electron#51886 ### Breaking changes <!-- optional --> Development environment only: `pnpm install` now requires Node ≥ 24.12.0 and fails fast with `ERR_PNPM_UNSUPPORTED_ENGINE` below it. Run `nvm install` (or your version manager's equivalent) to pick up the new `.node-version`. No change for app users. ### Special notes for your reviewer <!-- optional --> Verified on macOS arm64: - **Electron install on Node 24.16.0** (the known-bad release), each in a clean npm project: `[email protected]` extracts fully (`dist/` 307 MB, `--version` → `v44.2.0`). The control, `[email protected]` (still on `extract-zip`), leaves `dist/` at 236 KB and fails with `Electron failed to install correctly`, so the repro itself still works. - **`engineStrict` enforcement**, `pnpm install --frozen-lockfile` with pnpm 12.6.0: Node 24.11.1 → `ERR_PNPM_UNSUPPORTED_ENGINE`; 24.12.0 and 24.21.0 → pass. With the setting left in `.npmrc`, 24.11.1 passes silently. - **Dependency engines**: `engineStrict` also checks dependencies, and it has not been enforced since pnpm 11. Clean installs (all `node_modules` removed) on 24.12.0 and 24.21.0 finish with no engine errors or warnings. ### Checklist This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR. Approvers are expected to review this list. - [x] Branch: This PR targets `main` - [x] PR: The PR description is expressive enough and will help future contributors - [x] Code: [Write code that humans can understand](https://en.wikiquote.org/wiki/Martin_Fowler#code-for-humans) and [Keep it simple](https://en.wikipedia.org/wiki/KISS_principle) - [x] Refactor: You have [left the code cleaner than you found it (Boy Scout Rule)](https://learning.oreilly.com/library/view/97-things-every/9780596809515/ch08.html) - [x] Upgrade: Impact of this change on upgrade flows was considered and addressed if required - [ ] Documentation: A [user-guide update](https://docs.cherry-ai.com) was considered and is present (link) or not required. Check this only when the PR introduces or changes a user-facing feature or behavior. - [x] Self-review: I have reviewed my own code (e.g., via [`/gh-pr-review`](/.claude/skills/gh-pr-review/SKILL.md), `gh pr diff`, or GitHub UI) before requesting review from others ### Release note <!-- Write your release note: 1. Enter your extended release note in the below block. If the PR requires additional action from users switching to the new release, include the string "action required". 2. If no release note is required, just write "NONE". 3. Only include user-facing changes (new features, bug fixes visible to users, UI changes, behavior changes). For CI, maintenance, internal refactoring, build tooling, or other non-user-facing work, write "NONE". --> ```release-note NONE ``` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Signed-off-by: eurfelux <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
4 tasks done
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.
Description of Change
Closes #51619
Switches the published
electronnpm package fromextract-zipto@electron-internal/extract-zip, a drop-in replacement maintained at electron/extract-zip that uses prebuilt native bindings for extraction.The package is ESM-only, so the
require()ininstall.jsnow destructures the namedextractexport — supported on the Node versions the package already requires (engines: >= 22.12.0).Verified locally on macOS arm64 by stamping the
npm/folder as[email protected]and running the full install flow: the zip downloads and extracts,cli.js --versionlaunches the app, and the extracted output (file list, content hashes, symlinks, permissions) is byte-identical to what[email protected]produces.Checklist
Release Notes
Notes: none