This repository was archived by the owner on Dec 16, 2025. It is now read-only.
chore(deps): update dependency @types/execa to v2#546
Merged
danieljbruce merged 2 commits intogoogleapis:mainfrom May 3, 2024
Merged
chore(deps): update dependency @types/execa to v2#546danieljbruce merged 2 commits intogoogleapis:mainfrom
danieljbruce merged 2 commits intogoogleapis:mainfrom
Conversation
3a5464e to
b3309ab
Compare
b3309ab to
75c9e8b
Compare
75c9e8b to
10efb94
Compare
danieljbruce
approved these changes
Apr 3, 2024
10efb94 to
8fd9334
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
^0.9.0->^2.0.0Release Notes
sindresorhus/execa (@types/execa)
v2.0.0Compare Source
Thanks to @GMartigny, @BendingBender, @tomsotte, @ammarbinfaisal, @zokker13, @stroncium, @satyarohith, @bradfordlemley, @coreyfarrell, @brandon93s, @dtinth, @papb for the great features and bug fixes they've contributed!
Please check the Medium article about this release!
Breaking changes
execa.shell()andexeca.shellSync(). Theshelloption should be used instead. (#219)execa.stdout()andexeca.stderr().childProcessResult.stdoutandchildProcessResult.stderrshould be used instead (#234)error.code(numberorstring) in favor oferror.exitCode(number) anderror.exitCodeName(string) (#187, #250)stripeEofoption tostripFinalNewline(f8397ba9, 4d0dc88a, #238)cmd(inchildProcessResultanderror) tocommand(#194)preferLocaloption tofalse. If you are executing locally installed binaries, you'll need to manually specifypreferLocal: true(#314)windowsHideoption is alwaystrue, so that no window pops up on Windows. (8c886452)error.signalis nowundefinedinstead ofnullwhen no signal was used (#193)error.killedtofalsewhen child process timed out (#227)error.killedalways boolean (notundefined) (#229, #248)error.stdoutanderror.stderrare now an empty string (instead ofnull) when the command failed. (#246)Features
execa.command()andexeca.commandSync(). Those are the same asexeca()except both file and arguments are specified in a single string. For example,execa('echo', ['unicorns'])is the same asexeca.command('echo unicorns')(#182, #261, #262, #278, #279, #282)childProcess.allandchildProcessResult.all(#171, #264)execa.node()which (likechild_process.fork()) allows you to execute a Node.js script as a child process (#200, #297, #299, #302, #303, #305, #306).childProcess.kill()does not terminate a child process after 5 seconds, force it by sendingSIGKILL. This can be configured using theforceKillAfterTimeoutoption. (#208, #272, #273, #280, #284, #285)childProcess.cancel()anderror.isCanceled(#189, f24e7c72, #226, #309)error.stdout,error.stderranderror.allnow contain the data that was sent before the child process exit. (#271)error.messageon child process failure (#180, #223, #230, #245, #269).finally()to the child process promise (#174, 65139849)maxBufferoption default value from10 MBto100 MB(#286)Bug fixes
timeoutoption not working as expected (#199)error.timedOutnot working withexeca.sync()(#249)maxBuffererrors not using the same shape as the other errors (#266)extendEndoption not working withshelloption (#184)stripFinalNewlineoption not applied on error properties (#240)/qparameter not added when usingcmdinstead ofcmd.exe(#203)inputoption with a non-executable file (#212, #258)stdiooption cannot be used together withstdin: 0(#301).Documentation
Design
Tests
Maintainers
Configuration
📅 Schedule: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.