Skip to content

chore(deps): bump execa from 9.6.1 to 10.0.1 - #2

Closed
dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/execa-10.0.1
Closed

dependabot[bot] wants to merge 2 commits into
masterfrom
dependabot/npm_and_yarn/execa-10.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Bumps execa from 9.6.1 to 10.0.1.

Release notes

Sourced from execa's releases.

v10.0.1

  • Fix preferLocal argument escaping edge-case on Windows (#1259) e771733

sindresorhus/execa@v10.0.0...v10.0.1

v10.0.0

Breaking

  • Require Node.js 22. (#1243) 04b4454

  • The subprocess is now a normal promise, instead of a ChildProcess instance augmented with promise methods. All the methods and properties documented by Execa are unchanged. Node.js-specific ChildProcess APIs (such as .on(), .send(), .ref() and .unref()) must now be accessed through the new subprocess.nodeChildProcess property. (#1255) ade74bf

const subprocess = execa('node', ['file.js']);
- subprocess.on('spawn', onSpawn);
+ subprocess.nodeChildProcess.on('spawn', onSpawn);
- await execaCommand('npm run build');
+ await execa`npm run build`;

await execaCommand(commandString);


await execa${parseCommandString(commandString)};
  • Removed the old undocumented stdio: [..., 'ipc'] syntax. Use the ipc: true option instead. (#1245) dcf611c
- await execa('node', ['file.js'], {stdio: ['pipe', 'pipe', 'pipe', 'ipc']});
+ await execa('node', ['file.js'], {ipc: true});
  • When the input or inputFile option is combined with an inherited stdin (for example stdio: 'inherit'), the explicit input is now used, instead of being ignored. To combine multiple inputs, pass an array like stdin: ['inherit', {string: 'input'}]. (#1232) 3ed0544

Improvements

await execa('npm', ['run', 'build'], {killDescendants: true, timeout: 5000});
</tr></table> 

... (truncated)

Commits
  • 8017b27 10.0.1
  • e771733 Fix preferLocal argument escaping edge-case on Windows (#1259)
  • 499fe80 Meta tweaks
  • e389369 10.0.0
  • 3d9d820 Improve taskkill usage (#1258)
  • 5944b2d Update dev dependencies (#1257)
  • 84fa0ec Add killDescendants option to also terminate descendant processes (#1256)
  • ade74bf Add nodeChildProcess to subprocess promises and make the subprocess a norma...
  • 29d9cfc Add .readableStream(), .writableStream() and .transformStream() methods...
  • 522654a Fix flaky test
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 20, 2026
@TheusHen

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [execa](https://github.com/sindresorhus/execa) from 9.6.1 to 10.0.1.
- [Release notes](https://github.com/sindresorhus/execa/releases)
- [Commits](sindresorhus/execa@v9.6.1...v10.0.1)

---
updated-dependencies:
- dependency-name: execa
  dependency-version: 10.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/execa-10.0.1 branch from 7bbe17a to 092f7f0 Compare September 20, 2026 15:01
@TheusHen

Copy link
Copy Markdown
Member

This one was genuinely broken: execa 10 restructured its internal types, so the inferred return type of
un()\ trips TS2742. Pushed a fix annotating it as \Promise\ — let's see CI go green.

execa 10 restructured its internal types, so the inferred return
type of run() is no longer portable (TS2742 under declaration
emit). Pin it to Promise<Result> explicitly.
@TheusHen

Copy link
Copy Markdown
Member

Looked into this one properly and it's a real incompatibility, not just types. execa 10 needs
ode >= 22\ (it uses \Set.union\ at import time, which blows up on Node 20 — see the CI log), but this CLI still supports Node 18+ and tests on 20. Merging would break every Node 18/20 user on import, so closing this for now. Unblocks when we move the engines baseline and CI to 22. For reference, the only code change needed on top is annotating
un()\ in \src/lib/exec.ts\ as \Promise\ (TS2742 otherwise).

@TheusHen TheusHen closed this Sep 20, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 20, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/execa-10.0.1 branch September 20, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant