Releases: sindresorhus/execa
Releases · sindresorhus/execa
v3.3.0
v3.2.0
Features
- Add
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
v3.0.0
Breaking changes
- When the
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) - The
all
property is nowundefined
unless theall
option is set totrue
. (#353) error.exitCodeName
has been removed. (#375)- Fix
error.exitCode
. Its value was previously based onerror.errno
which is incorrect. (#375)
Features
- Do not remove
error.code
property when it is defined (#375) - Improve error messages (#375)
- Add
error.originalMessage
property (#373)
Bug fixes
- Fix errors being thrown when
detached: true
orcleanup: false
is used (#360) - Make execa compatible with Node.js
13.0.0-pre
(#370)
Dependencies
Documentation
- Document the reasons why the returned promise might fail (#364)