electron-userland / electron-userland/electron-builder

Latest electron-builder install still emits inflight/glob/rimraf deprecation warnings

Open
#10,016 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
Dominant language
TypeScript
Stars
14.7k
Forks
1.9k
Avg merge
3d 12h
Merged PRs (30d)
48

Description

### Environment

- `electron-builder`: 26.15.3 (latest when tested)
- npm on GitHub-hosted Node 22 runners

### Reproduction

```sh
npm install --no-audit --no-fund
```

with `electron-builder` in devDependencies emits deprecations for `inflight@1.0.6`, `glob@7.2.3`, and `rimraf@2.6.3`. `npm ls` traces them through electron-builder packaging dependencies (including `app-builder-lib` / `@electron/asar` and `electron-winstaller`). A public CI reproduction is https://github.com/link-assistant/formal-ai/actions/runs/29465138404.

### Expected

Installing the current supported release on Node 22 should not emit deprecations from transitive dependencies.

### Suggested fix

Upgrade or replace the legacy glob/rimraf dependency chains; consider making platform-specific makers optional so NSIS-only consumers do not install the Windows Squirrel toolchain.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running npm install --no-audit --no-fund and npm ls with electron-builder 26.15.3 on Node 22, then trace the reported inflight, glob, and rimraf chains through app-builder-lib, @electron/asar, and electron-winstaller. Done means the supported installation no longer emits these deprecations, with platform-specific maker dependencies considered separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, node.js, typescript
Domain
build-system, desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.