cdaringe / webhookup

create or delete GitHub webhooks, real fast, real easy :zap:
1 stars 0 forks source link

chore(deps): update dependency execa to v8 - autoclosed #58

Closed renovate[bot] closed 5 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
execa ^2.0.0 -> ^8.0.0 age adoption passing confidence

Release Notes

sindresorhus/execa (execa) ### [`v8.0.1`](https://togithub.com/sindresorhus/execa/releases/tag/v8.0.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v8.0.0...v8.0.1) ##### Fixes - Fix and document support for the [`{encoding: 'buffer'}` option](https://togithub.com/sindresorhus/execa#encoding). It is the same as `{encoding: null}`, but preferred over it. ([#​572](https://togithub.com/sindresorhus/execa/issues/572)) ### [`v8.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v8.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v7.2.0...v8.0.0) ##### Breaking - Require Node.js 16.17.0 and later ([#​569](https://togithub.com/sindresorhus/execa/issues/569)) ### [`v7.2.0`](https://togithub.com/sindresorhus/execa/releases/tag/v7.2.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v7.1.1...v7.2.0) - Add `cwd` error property ([#​565](https://togithub.com/sindresorhus/execa/issues/565)) [`f57fdec`](https://togithub.com/sindresorhus/execa/commit/f57fdec) ### [`v7.1.1`](https://togithub.com/sindresorhus/execa/releases/tag/v7.1.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v7.1.0...v7.1.1) #### Features - Improve error message when `` $.sync(options)`command` `` is used instead of [`` $(options).sync`command` ``](https://togithub.com/sindresorhus/execa#synccommand) ([#​551](https://togithub.com/sindresorhus/execa/issues/551)) #### Bug fixes - Fix argument concatenation when using [`` $`command argument${value}` ``](https://togithub.com/sindresorhus/execa#command) ([#​553](https://togithub.com/sindresorhus/execa/issues/553)) - Fix default value of the [`stdin` option](https://togithub.com/sindresorhus/execa#stdin) when using [`` $`command` ``](https://togithub.com/sindresorhus/execa#command): it should be `inherit` ([#​550](https://togithub.com/sindresorhus/execa/issues/550)) ### [`v7.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v7.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v7.0.0...v7.1.0) #### Features - Add [`$` method](https://togithub.com/sindresorhus/execa#command) to write Node.js scripts like zx. For more information, please see [this blog post](https://medium.com/@​ehmicky/shell-free-scripts-with-execa-7-885fb3b42f83), [this section](https://togithub.com/sindresorhus/execa#scripts-interface) and [this page](https://togithub.com/sindresorhus/execa/blob/main/docs/scripts.md). Thanks [@​aaronccasanova](https://togithub.com/aaronccasanova) for this great feature! ```js import {$} from 'execa'; const branch = await $`git branch --show-current`; await $`dep deploy --branch=${branch}`; ``` - Add [`.pipeStdout()`](https://togithub.com/sindresorhus/execa#pipestdouttarget), [`.pipeStderr()`](https://togithub.com/sindresorhus/execa#pipestderrtarget) and [`.pipeAll()`](https://togithub.com/sindresorhus/execa#pipealltarget) methods to redirect `stdout`/`stderr` to a file, a stream or another process. ```js // Similar to `echo unicorns > stdout.txt` in Bash await execa('echo', ['unicorns']).pipeStdout('stdout.txt'); // Similar to `echo unicorns 2> stdout.txt` in Bash await execa('echo', ['unicorns']).pipeStderr('stderr.txt'); // Similar to `echo unicorns &> stdout.txt` in Bash await execa('echo', ['unicorns'], {all: true}).pipeAll('all.txt'); ``` - Add [`inputFile` option](https://togithub.com/sindresorhus/execa#inputfile) to use a file as `stdin`. ```js // Similar to `cat < stdin.txt` in Bash const {stdout} = await execa('cat', {inputFile: 'stdin.txt'}); console.log(stdout); //=> 'unicorns' ``` - Add [`verbose` option](https://togithub.com/sindresorhus/execa#verbose) to print each command on `stderr` before executing it. This can also be enabled by setting the `NODE_DEBUG=execa` environment variable in the current process. > node file.js unicorns rainbows > NODE_DEBUG=execa node file.js [16:50:03.305] echo unicorns unicorns [16:50:03.308] echo rainbows rainbows ### [`v7.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v7.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v6.1.0...v7.0.0) ##### Breaking - Require Node.js 14 and later ([#​497](https://togithub.com/sindresorhus/execa/issues/497)) [`a09cbc0`](https://togithub.com/sindresorhus/execa/commit/a09cbc0) ##### Fixes - Emit `end` event on streams when process fails ([#​518](https://togithub.com/sindresorhus/execa/issues/518)) [`30c7a7a`](https://togithub.com/sindresorhus/execa/commit/30c7a7a) - Fix incorrect `execaNode` signature in `index.d.ts` ([#​506](https://togithub.com/sindresorhus/execa/issues/506)) [`1f7677c`](https://togithub.com/sindresorhus/execa/commit/1f7677c) ### [`v6.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v6.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v6.0.0...v6.1.0) - Support [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController) ([#​490](https://togithub.com/sindresorhus/execa/issues/490)) [`c6e791a`](https://togithub.com/sindresorhus/execa/commit/c6e791a) - Allow `cwd` and `localDir` options to be URLs ([#​492](https://togithub.com/sindresorhus/execa/issues/492)) [`93ab929`](https://togithub.com/sindresorhus/execa/commit/93ab929) ### [`v6.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v6.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v5.1.1...v6.0.0) ##### Breaking - Require Node.js 12.20 ([#​478](https://togithub.com/sindresorhus/execa/issues/478)) [`7707880`](https://togithub.com/sindresorhus/execa/commit/7707880) - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - 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`](https://togithub.com/sindresorhus/execa/releases/tag/v5.1.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v5.1.0...v5.1.1) - Fix error message when user passes a single array argument ([#​468](https://togithub.com/sindresorhus/execa/issues/468)) [`2b9c0e1`](https://togithub.com/sindresorhus/execa/commit/2b9c0e1) ### [`v5.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v5.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v5.0.1...v5.1.0) - Add [`.escapedCommand`](https://togithub.com/sindresorhus/execa#escapedcommand) property to the results ([#​466](https://togithub.com/sindresorhus/execa/issues/466)) [`712bafc`](https://togithub.com/sindresorhus/execa/commit/712bafc) ### [`v5.0.1`](https://togithub.com/sindresorhus/execa/releases/tag/v5.0.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v5.0.0...v5.0.1) - Fix `timeout` option validation ([#​463](https://togithub.com/sindresorhus/execa/issues/463)) [`427c5c2`](https://togithub.com/sindresorhus/execa/commit/427c5c2) ### [`v5.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v5.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v4.1.0...v5.0.0) ##### Breaking - Remove faulty emulated ENOENT error on Windows ([#​447](https://togithub.com/sindresorhus/execa/issues/447)) [`bdbd975`](https://togithub.com/sindresorhus/execa/commit/bdbd975) This is only a breaking change if you depend on the exact error message. ##### Improvements - Upgrade dependencies [`5d64878`](https://togithub.com/sindresorhus/execa/commit/5d64878) ### [`v4.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v4.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v4.0.3...v4.1.0) - Remove `--inspect` & `--inspect-brk` from `execArgv` ([#​435](https://togithub.com/sindresorhus/execa/issues/435)) [`8fd3f64`](https://togithub.com/sindresorhus/execa/commit/8fd3f64) ### [`v4.0.3`](https://togithub.com/sindresorhus/execa/releases/tag/v4.0.3) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v4.0.2...v4.0.3) - Fix use of floating number for the `timeout` and `forceKillAfterTimeout` options ([#​431](https://togithub.com/sindresorhus/execa/issues/431)) [`9a157b3`](https://togithub.com/sindresorhus/execa/commit/9a157b3) ### [`v4.0.2`](https://togithub.com/sindresorhus/execa/releases/tag/v4.0.2) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v4.0.1...v4.0.2) ### Bug fixes - Fix with third-party promises (like `bluebird`) not working ([#​427](https://togithub.com/sindresorhus/execa/issues/427)) ### [`v4.0.1`](https://togithub.com/sindresorhus/execa/releases/tag/v4.0.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v4.0.0...v4.0.1) #### Bug fixes - Fix checking for `Error` instances ([#​423](https://togithub.com/sindresorhus/execa/issues/423)) ### [`v4.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v4.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v3.4.0...v4.0.0) #### Breaking changes - Require Node.js 10 ([`5a9c76f`](https://togithub.com/sindresorhus/execa/commit/5a9c76f)) - Add `stderr` and `stdout` to [`error.message`](https://togithub.com/sindresorhus/execa#message). A new property [`error.shortMessage`](https://togithub.com/sindresorhus/execa#shortmessage) is now available to retrieve the error message without `stderr` nor `stdout` ([#​397](https://togithub.com/sindresorhus/execa/issues/397)) #### Bug fixes - Fix `childProcess.kill()` not working with Electron ([#​400](https://togithub.com/sindresorhus/execa/issues/400)) ### [`v3.4.0`](https://togithub.com/sindresorhus/execa/releases/tag/v3.4.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v3.3.0...v3.4.0) #### Features - Add [`serialization` option](https://togithub.com/sindresorhus/execa/blob/master/readme.md#serialization). That option was added to `child_process` methods in Node.js `13.2.0`. ([#​392](https://togithub.com/sindresorhus/execa/issues/392)) ### [`v3.3.0`](https://togithub.com/sindresorhus/execa/releases/tag/v3.3.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v3.2.0...v3.3.0) #### Features - Allow setting the `windowsHide` option ([#​388](https://togithub.com/sindresorhus/execa/issues/388)). The option still defaults to `true`. However previously it could not be set to `false`. #### Documentation - Add tip on how to retry Execa on failure ([#​386](https://togithub.com/sindresorhus/execa/issues/386)). - Improve examples ([#​385](https://togithub.com/sindresorhus/execa/issues/385)) Thanks [@​justsml](https://togithub.com/justsml) for helping improving the documentation! ### [`v3.2.0`](https://togithub.com/sindresorhus/execa/releases/tag/v3.2.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v3.1.0...v3.2.0) #### Features - Add [`error.signalDescription`](https://togithub.com/sindresorhus/execa#signaldescription) which is a [human-friendly](https://togithub.com/ehmicky/human-signals) description of the signal that terminated the child process (if one did). That description is included in error messages as well. ([#​378](https://togithub.com/sindresorhus/execa/issues/378)) ### [`v3.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v3.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v3.0.0...v3.1.0) #### Features - Add [`execPath` option](https://togithub.com/sindresorhus/execa#execpath) which allows changing the path to the Node.js executable to use in child processes. ([#​377](https://togithub.com/sindresorhus/execa/issues/377)) ### [`v3.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v3.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.1.0...v3.0.0) #### Breaking changes - When the [`buffer` option](https://togithub.com/sindresorhus/execa/blob/master/readme.md#buffer) is `false` and [`stdout`](https://togithub.com/sindresorhus/execa/blob/master/readme.md#stdout) and [`stderr`](https://togithub.com/sindresorhus/execa/blob/master/readme.md#stderr) are [piped](https://nodejs.org/api/child_process.html#child_process_options_stdio), [the promise returned](https://togithub.com/sindresorhus/execa/blob/master/readme.md#execafile-arguments-options) by `execa()` will resolve only after those streams are fully read. This also applies to the [`all`](https://togithub.com/sindresorhus/execa/blob/master/readme.md#all) property if the [`all` option](https://togithub.com/sindresorhus/execa/blob/master/readme.md#all-1) is `true`. This concerns you only if you've explicitly set the `buffer` option to `false`. ([#​353](https://togithub.com/sindresorhus/execa/issues/353)) - The [`all`](https://togithub.com/sindresorhus/execa/blob/master/readme.md#all) property is now `undefined` unless the [`all` option](https://togithub.com/sindresorhus/execa/blob/master/readme.md#all-1) is set to `true`. ([#​353](https://togithub.com/sindresorhus/execa/issues/353)) - [`error.exitCodeName`](https://togithub.com/sindresorhus/execa/blob/master/readme.md#childprocessresult) has been removed. ([#​375](https://togithub.com/sindresorhus/execa/issues/375)) - Fix [`error.exitCode`](https://togithub.com/sindresorhus/execa/blob/master/readme.md#exitcode). Its value was previously based on [`error.errno`](https://nodejs.org/api/errors.html#errors_error_errno) which is incorrect. ([#​375](https://togithub.com/sindresorhus/execa/issues/375)) #### Features - Do not remove [`error.code` property](https://nodejs.org/api/errors.html#errors_error_code\_1) when it is defined ([#​375](https://togithub.com/sindresorhus/execa/issues/375)) - Improve error messages ([#​375](https://togithub.com/sindresorhus/execa/issues/375)) - Add [`error.originalMessage` property](https://togithub.com/sindresorhus/execa/blob/master/readme.md#originalmessage) ([#​373](https://togithub.com/sindresorhus/execa/issues/373)) #### Bug fixes - Fix errors being thrown when `detached: true` or `cleanup: false` is used ([#​360](https://togithub.com/sindresorhus/execa/issues/360)) - Make execa compatible with Node.js `13.0.0-pre` ([#​370](https://togithub.com/sindresorhus/execa/issues/370)) #### Dependencies - Upgrade `npm-run-path` from `3.0.0` to `4.0.0` ([#​376](https://togithub.com/sindresorhus/execa/issues/376)) - Upgrade `cross-spawn` to `7.0.0` ([#​367](https://togithub.com/sindresorhus/execa/issues/367)) #### Documentation - Document the reasons why the returned promise might fail ([#​364](https://togithub.com/sindresorhus/execa/issues/364)) ### [`v2.1.0`](https://togithub.com/sindresorhus/execa/releases/tag/v2.1.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.0.5...v2.1.0) ##### Features - Add [`error.originalMessage`](https://togithub.com/sindresorhus/execa#originalmessage) property ([#​373](https://togithub.com/sindresorhus/execa/issues/373)) ##### Documentation - Document the reasons why the returned promise might fail ([#​364](https://togithub.com/sindresorhus/execa/issues/364)) ##### Dependencies - Upgrade cross-spawn to `7.0.0` ([#​367](https://togithub.com/sindresorhus/execa/issues/367)) ### [`v2.0.5`](https://togithub.com/sindresorhus/execa/releases/tag/v2.0.5) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.0.4...v2.0.5) #### Bug fixes - Make execa compatible with Node.js 13.0.0-pre ([#​370](https://togithub.com/sindresorhus/execa/issues/370)) [`d268fd1`](https://togithub.com/sindresorhus/execa/commit/d268fd1) ### [`v2.0.4`](https://togithub.com/sindresorhus/execa/releases/tag/v2.0.4) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.0.3...v2.0.4) #### Bug fixes - Fix errors being thrown when `detached: true` or `cleanup: false` is used ([#​360](https://togithub.com/sindresorhus/execa/issues/360)) [`211febe`](https://togithub.com/sindresorhus/execa/commit/211febe) ### [`v2.0.3`](https://togithub.com/sindresorhus/execa/releases/tag/v2.0.3) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.0.2...v2.0.3) #### Bug fixes - Add missing TypeScript definition for `all` ([#​345](https://togithub.com/sindresorhus/execa/issues/345)) #### Documentation - Add tip on how to execute the current package's binary ([#​339](https://togithub.com/sindresorhus/execa/issues/339), [#​340](https://togithub.com/sindresorhus/execa/issues/340)) ### [`v2.0.2`](https://togithub.com/sindresorhus/execa/releases/tag/v2.0.2) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.0.1...v2.0.2) ### Bug fixes - Fix memory leak ([#​321](https://togithub.com/sindresorhus/execa/issues/321), [#​330](https://togithub.com/sindresorhus/execa/issues/330)) - Fix `result.all` not being constant across calls ([#​327](https://togithub.com/sindresorhus/execa/issues/327), [#​330](https://togithub.com/sindresorhus/execa/issues/330)) ### [`v2.0.1`](https://togithub.com/sindresorhus/execa/releases/tag/v2.0.1) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v2.0.0...v2.0.1) #### Bug fixes - Correctly set the `engines.node` field in `package.json`. Supported Node versions are either `^8.12.0` or `>=9.7.0` ([#​319](https://togithub.com/sindresorhus/execa/issues/319), [#​323](https://togithub.com/sindresorhus/execa/issues/323)) #### Documentation - Improve the [`execa.command()`](https://togithub.com/sindresorhus/execa#execacommandcommand-options) documentation ([#​317](https://togithub.com/sindresorhus/execa/issues/317))

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.



This PR has been generated by Mend Renovate. View repository job log here.