Repository navigation
Behavior changes
These are bug fixes, but they might affect code that relied on the previous incorrect behavior.
- Exceeding
maxBuffernow terminates the subprocess withkillSignal, instead of leaving it running and the promise pending f6de9be maxBuffer: 0now limits the output of synchronous methods, like asynchronous methods 224dd20- Options of
$set toundefinednow use$'s defaults, such as inheritingstdinf61a6e9
Fixes
- Fix invalid file descriptor objects, such as closed file handles, crashing the current process instead of throwing d0a5968
- Fix synchronous transforms: errors being hidden, filtered output being returned on failure, mixed text and byte chunks being reordered, and
final()being skipped without input 0ba2b6e ed80079 9c54833 - Fix
result.allchanging objects when onlystdoutorstderris buffered 8629132 - Fix writing objects to a web
WritableStream5ea2900 - Fix an invalid
subprocess.duplex()option making later stream conversions hang 5e4345b - Fix
execaNode()not running its file when the current process uses--printe747872
Types
- Fix result and subprocess types when the options are a union, including IPC f5772f3 355d917 cb8aaf6
- Fix result types when options bound with
execa(options)are overridden or reset withundefined708fed7 - Fix
subprocess.stdintypes with theinputandinputFileoptions 236c831 - Fix chunk types of
subprocess.iterable()with object-mode transforms a2912e5 - Fix fd-specific option types, and
execaNode()types withnode: undefined80b01e9 523cf9b