create-react-microservice
create-react-microservice copied to clipboard
TASK: Update dependency execa to v6
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| execa | 1.0.0 -> 6.1.0 |
Release Notes
sindresorhus/execa
v6.1.0
- Support
AbortController(#β490)c6e791a - Allow
cwdandlocalDiroptions to be URLs (#β492)93ab929
v6.0.0
Breaking
- Require Node.js 12.20 (#β478)
7707880 - This package is now pure ESM. Please read this.
- Moved from a default export to named exports.
require('execa')βimport {execa} from 'execa'require('execa').syncβimport {execaSync} from 'execa'require('execa').commandβimport {execaCommand} from 'execa'require('execa').commandSyncβimport {execaCommandSync} from 'execa'require('execa').nodeβimport {execaNode} from 'execa'
v5.1.1
v5.1.0
- Add
.escapedCommandproperty to the results (#β466)712bafc
v5.0.1
v5.0.0
Breaking
- Remove faulty emulated ENOENT error on Windows (#β447)
bdbd975This is only a breaking change if you depend on the exact error message.
Improvements
- Upgrade dependencies
5d64878
v4.1.0
v4.0.3
v4.0.2
Bug fixes
- Fix with third-party promises (like
bluebird) not working (#β427)
v4.0.1
Bug fixes
- Fix checking for
Errorinstances (#β423)
v4.0.0
Breaking changes
- Require Node.js 10 (
5a9c76f) - Add
stderrandstdouttoerror.message. A new propertyerror.shortMessageis now available to retrieve the error message withoutstderrnorstdout(#β397)
Bug fixes
- Fix
childProcess.kill()not working with Electron (#β400)
v3.4.0
Features
- Add
serializationoption. That option was added tochild_processmethods in Node.js13.2.0. (#β392)
v3.3.0
Features
- Allow setting the
windowsHideoption (#β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
Features
- Add
error.signalDescriptionwhich 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
Features
- Add
execPathoption which allows changing the path to the Node.js executable to use in child processes. (#β377)
v3.0.0
Breaking changes
- When the
bufferoption isfalseandstdoutandstderrare piped, the promise returned byexeca()will resolve only after those streams are fully read. This also applies to theallproperty if thealloption istrue. This concerns you only if you've explicitly set thebufferoption tofalse. (#β353) - The
allproperty is nowundefinedunless thealloption is set totrue. (#β353) error.exitCodeNamehas been removed. (#β375)- Fix
error.exitCode. Its value was previously based onerror.errnowhich is incorrect. (#β375)
Features
- Do not remove
error.codeproperty when it is defined (#β375) - Improve error messages (#β375)
- Add
error.originalMessageproperty (#β373)
Bug fixes
- Fix errors being thrown when
detached: trueorcleanup: falseis 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)
v2.1.0
Features
- Add
error.originalMessageproperty (#β373)
Documentation
- Document the reasons why the returned promise might fail (#β364)
Dependencies
- Upgrade cross-spawn to
7.0.0(#β367)
v2.0.5
Bug fixes
v2.0.4
Bug fixes
v2.0.3
Bug fixes
- Add missing TypeScript definition for
all(#β345)
Documentation
v2.0.2
Bug fixes
- Fix memory leak (#β321, #β330)
- Fix
result.allnot being constant across calls (#β327, #β330)
v2.0.1
Bug fixes
- Correctly set the
engines.nodefield inpackage.json. Supported Node versions are either^8.12.0or>=9.7.0(#β319, #β323)
Documentation
- Improve the
execa.command()documentation (#β317)
v2.0.0
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
- Drop support for Node.js 6 (dce22670, #β221)
- Remove
execa.shell()andexeca.shellSync(). Theshelloption should be used instead. (#β219) - Remove
execa.stdout()andexeca.stderr().childProcessResult.stdoutandchildProcessResult.stderrshould be used instead (#β234) - Remove
error.code(numberorstring) in favor oferror.exitCode(number) anderror.exitCodeName(string) (#β187, #β250) - Rename
stripeEofoption tostripFinalNewline(f8397ba9, 4d0dc88a, #β238) - Rename
cmd(inchildProcessResultanderror) tocommand(#β194) - Default
preferLocaloption tofalse. If you are executing locally installed binaries, you'll need to manually specifypreferLocal: true(#β314) - Ensure
windowsHideoption is alwaystrue, so that no window pops up on Windows. (8c886452) error.signalis nowundefinedinstead ofnullwhen no signal was used (#β193)- Set
error.killedtofalsewhen child process timed out (#β227) - Make
error.killedalways boolean (notundefined) (#β229, #β248) - Ensure errors always have the same shape. (#β276, #β277, #β283)
error.stdoutanderror.stderrare now an empty string (instead ofnull) when the command failed. (#β246)
Features
- Add TypeScript definition (#β188, f2cb86ff, 7702b8ef, 4692dcd4, #β251)
- Add
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) - Retrieve interleaved stdout and stderr with
childProcess.allandchildProcessResult.all(#β171, #β264) - Add
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). - If
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) - Add
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)- Improve
error.messageon child process failure (#β180, #β223, #β230, #β245, #β269) - Add
.finally()to the child process promise (#β174, 65139849) - Increase
maxBufferoption default value from10 MBto100 MB(#β286)
Bug fixes
- Fix
timeoutoption not working as expected (#β199) - Fix
error.timedOutnot working withexeca.sync()(#β249) - Fix
maxBuffererrors not using the same shape as the other errors (#β266) - Fix
extendEndoption not working withshelloption (#β184) - Fix
stripFinalNewlineoption not applied on error properties (#β240) - Fix
/qparameter not added when usingcmdinstead ofcmd.exe(#β203) - Fix uncaught exception when using
inputoption with a non-executable file (#β212, #β258) - Fix errors on child processes waiting for stdout/stderr to complete (#β270)
- Fix validating that the
stdiooption cannot be used together withstdin: 0(#β301).
Documentation
Design
- Add a logo (#β201)
Tests
- Fix various tests (f185a0e8, #β185, #β215, #β216, #β224, #β218, #β225, #β231, #β233, #β247, #β300)
Maintainers
- Add @βehmicky as an additional maintainer.
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 this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by Mend Renovate. View repository job log here.