This release includes a new set of methods to exchange messages between the current process and a Node.js subprocess, also known as "IPC". This allows passing and returning almost any message type to/from a Node.js subprocess. Also, debugging IPC is now much easier.
For a deeper dive-in, please check and share the release post!
Thanks @iiroj for your contribution, @SimonSiefke and @adymorz for reporting the bugs fixed in this release, and @karlhorky for improving the documentation!
Deprecations
Passing 'ipc' to the stdio option has been deprecated. It will be removed in the next major release. Instead, the ipc: true option should be used. (#1056)
The execaCommand() method has been deprecated. It will be removed in the next major release. If most cases, the template string syntax should be used instead.
- import {execaCommand} from 'execa';
+ import {execa} from 'execa';
await execaCommand('npm run build');
await execanpm run build;
const taskName = 'build';
await execaCommand(npm run ${taskName});
await execanpm run ${taskName};
const commandArguments = ['run', 'task with space'];
await execanpm ${commandArguments};
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
coverage: 55.823%. remained the same
when pulling 32eaecaabf65873e813e492d8a0d06f8644e3e08 on dependabot/npm_and_yarn/execa-9.2.0
into e44c15ba521ed5bb2388a8b5f6db4a5541bfeda5 on main.
coverage: 55.823%. remained the same
when pulling 09244725299d6c170fa92487925376fc62a73b9b on dependabot/npm_and_yarn/execa-9.2.0
into ab233af3ff5b40f5d2c6ba05daaf367845b522c9 on main.
Bumps execa from 8.0.1 to 9.2.0.
Release notes
Sourced from execa's releases.
... (truncated)
Commits
cbe805c
9.2.08ae6975
Send fewer requests with link checking (#1122)e15e516
Fix typo in IPC documentation (#1121)4044152
Automatically check Markdown links (#1120)a2e4dbe
Export TypeScript types for theexeca
method (#1066)8572eb1
Fix broken Markdown links (#1119)772e136
Improve speed of types (#1118)ca2e813
Improve documentation of Execa methods (#1115)faab26e
Refactor types of Execa methods (#1114)077749d
Add more type tests (#1117)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show