- Upgrade Execa to
9.2.0
- Minimal supported Node.js version is now
18.18.0
- Fixes not being able to set the
encoding
option tonull
- Minimal supported Node.js version is now
16.17.0
- Upgrade Execa
- Fix TypeScript types
- Improve TypeScript types
- Improve tree-shaking support
- Reduce npm package size
- Add TypeScript types
- Minimal supported Node.js version is now
14.18.0
- The
cwd
option can now be a URL
- Fix examples
- Fix
main
field inpackage.json
- Minimal supported Node.js version is now
12.20.0
- This package is now an ES module. It can only be loaded with an
import
orimport()
statement, notrequire()
. See this post for more information.
- Improve colors detection
- Minimal supported Node.js version is now
10.17.0
- Add
stderr
andstdout
toerror.message
. A new propertyerror.shortMessage
is now available to retrieve the error message withoutstderr
norstdout
(#397)
- Upgrade to
Execa
4.0.0
- Add
serialization
option. That option was added tochild_process
methods in Node.js13.2.0
.
- Default the
all
option totrue
whenfrom: 'all'
is used. - Allow passing the
execPath
Execa option
- Fix errors being thrown when the
detached
orcleanup
options are used (sindresorhus/execa#360)
- Upgrade to latest execa release 2.0.0
- Fix some tests
- Only internal changes and documentation updates
error.stdout
,error.stderr
anderror.all
now contain the data that was sent before the child process exit.- If
childProcess.kill()
does not terminate a child process after 5 seconds, force it by sendingSIGKILL
. This can be configured using theforceKillAftrerTimeout
option. - Increase
maxBuffer
option default value from10 MB
to100 MB
- Ensure errors always have the same shape.
- Fix
npm install gulp-execa
sometimes failing (#2)
- Improve error messages
- Fix option
env
triggering process warnings
- Remove dependency
keep-func-props
- Upgrade to latest
execa
- Fix a bug where the wrong dependency version was installed.
- Fix bug when escaping multiple spaces with backslashes in the command.
- Fix error messages for
task()
on Node>=12.3.0
- The
function
passed tostream()
can now return an object, allowing file-specific options.