-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency execa to v4.1.0 #30248
base: develop
Are you sure you want to change the base?
Conversation
See the guidelines for reviewing dependency updates for info on how to review dependency update PRs. |
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. |
Updating execa from 1.0.0 to 4.x in the The main breaking changes relevant to us:
I also just think that we've had code that never worked in the |
SEE COMMENT FOR DETAILS
This PR contains the following updates:
4
->4.1.0
1.0.0
->4.1.0
4.0.0
->4.1.0
Release Notes
sindresorhus/execa (execa)
v4.1.0
Compare Source
--inspect
&--inspect-brk
fromexecArgv
(#435)8fd3f64
v4.0.3
Compare Source
timeout
andforceKillAfterTimeout
options (#431)9a157b3
v4.0.2
Compare Source
Bug fixes
bluebird
) not working (#427)v4.0.1
Compare Source
Bug fixes
Error
instances (#423)v4.0.0
Compare Source
Breaking changes
5a9c76f
)stderr
andstdout
toerror.message
. A new propertyerror.shortMessage
is now available to retrieve the error message withoutstderr
norstdout
(#397)Bug fixes
childProcess.kill()
not working with Electron (#400)v3.4.0
Compare Source
Features
serialization
option. That option was added tochild_process
methods in Node.js13.2.0
. (#392)v3.3.0
Compare Source
Features
windowsHide
option (#388). The option still defaults totrue
. However previously it could not be set tofalse
.Documentation
Thanks @justsml for helping improving the documentation!
v3.2.0
Compare Source
Features
error.signalDescription
which is a human-friendly description of the signal that terminated the child process (if one did). That description is included in error messages as well. (#378)v3.1.0
Compare Source
Features
execPath
option which allows changing the path to the Node.js executable to use in child processes. (#377)v3.0.0
Compare Source
Breaking changes
buffer
option isfalse
andstdout
andstderr
are piped, the promise returned byexeca()
will resolve only after those streams are fully read. This also applies to theall
property if theall
option istrue
. This concerns you only if you've explicitly set thebuffer
option tofalse
. (#353)all
property is nowundefined
unless theall
option is set totrue
. (#353)error.exitCodeName
has been removed. (#375)error.exitCode
. Its value was previously based onerror.errno
which is incorrect. (#375)Features
error.code
property when it is defined (#375)error.originalMessage
property (#373)Bug fixes
detached: true
orcleanup: false
is used (#360)13.0.0-pre
(#370)Dependencies
npm-run-path
from3.0.0
to4.0.0
(#376)cross-spawn
to7.0.0
(#367)Documentation
v2.1.0
Compare Source
Features
error.originalMessage
property (#373)Documentation
Dependencies
7.0.0
(#367)v2.0.5
Compare Source
Bug fixes
d268fd1
v2.0.4
Compare Source
Bug fixes
detached: true
orcleanup: false
is used (#360)211febe
v2.0.3
Compare Source
Bug fixes
all
(#345)Documentation
v2.0.2
Compare Source
Bug fixes
result.all
not being constant across calls (#327, #330)v2.0.1
Compare Source
Bug fixes
engines.node
field inpackage.json
. Supported Node versions are either^8.12.0
or>=9.7.0
(#319, #323)Documentation
execa.command()
documentation (#317)v2.0.0
Compare 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()
. Theshell
option should be used instead. (#219)execa.stdout()
andexeca.stderr()
.childProcessResult.stdout
andchildProcessResult.stderr
should be used instead (#234)error.code
(number
orstring
) in favor oferror.exitCode
(number
) anderror.exitCodeName
(string
) (#187, #250)stripeEof
option tostripFinalNewline
(f8397ba9, 4d0dc88a, #238)cmd
(inchildProcessResult
anderror
) tocommand
(#194)preferLocal
option tofalse
. If you are executing locally installed binaries, you'll need to manually specifypreferLocal: true
(#314)windowsHide
option is alwaystrue
, so that no window pops up on Windows. (8c886452)error.signal
is nowundefined
instead ofnull
when no signal was used (#193)error.killed
tofalse
when child process timed out (#227)error.killed
always boolean (notundefined
) (#229, #248)error.stdout
anderror.stderr
are 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.all
andchildProcessResult.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 theforceKillAfterTimeout
option. (#208, #272, #273, #280, #284, #285)childProcess.cancel()
anderror.isCanceled
(#189, f24e7c72, #226, #309)error.stdout
,error.stderr
anderror.all
now contain the data that was sent before the child process exit. (#271)error.message
on child process failure (#180, #223, #230, #245, #269).finally()
to the child process promise (#174, 65139849)maxBuffer
option default value from10 MB
to100 MB
(#286)Bug fixes
timeout
option not working as expected (#199)error.timedOut
not working withexeca.sync()
(#249)maxBuffer
errors not using the same shape as the other errors (#266)extendEnd
option not working withshell
option (#184)stripFinalNewline
option not applied on error properties (#240)/q
parameter not added when usingcmd
instead ofcmd.exe
(#203)input
option with a non-executable file (#212, #258)stdio
option cannot be used together withstdin: 0
(#301).Documentation
Design
Tests
Maintainers
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.