Bump execa from 8.0.1 to 9.3.0
Bumps execa from 8.0.1 to 9.3.0.
Release notes
Sourced from execa's releases.
v9.3.0
Features
- The
verboseoption can now be a function to customize logging. (#1130)v9.2.0
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.
Moreover, a new
gracefulCanceloption has also been added to terminate a subprocess gracefully.For a deeper dive-in, please check and share the release post!
Thanks
@iirojfor your contribution,@SimonSiefkeand@adymorzfor reporting the bugs fixed in this release, and@karlhorkyfor improving the documentation!Deprecations
- Passing
'ipc'to thestdiooption has been deprecated. It will be removed in the next major release. Instead, theipc: trueoption should be used. (#1056)- await execa('npm', ['run', 'build'], {stdio: ['pipe', 'pipe', 'pipe', 'ipc']}); + await execa('npm', ['run', 'build'], {ipc: true});
- 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 execa
npm run build;const taskName = 'build';
- await execaCommand(
npm run ${taskName});
- await execa
npm run ${taskName};const commandArguments = ['run', 'task with space']; await execa
npm ${commandArguments};If the file and/or multiple arguments are supplied as a single string, parseCommandString(command) can split that string into an array. More info. (#1054)
- import {execaCommand} from 'execa'; + import {execa, parseCommandString} from 'execa';const commandString = 'npm run task';
- await execaCommand(commandString);
- const commandArray = parseCommandString(commandString); // ['npm', 'run', 'task']
- await execa
${commandArray}; </tr></table>
... (truncated)
Commits
57658b09.3.08daf348Allowverboseoption to be a function for custom logging (#1130)78edcb9Fix c8 memory crash (#1129)18d320fRefactor test helpers for theverboseoption (#1128)37e0024Add more tests for theverboseoption (#1127)f9f1199Refactorverboselogic (#1126)cbe805c9.2.08ae6975Send fewer requests with link checking (#1122)e15e516Fix typo in IPC documentation (#1121)4044152Automatically check Markdown links (#1120)- Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.