googleapis / google-api-nodejs-client

Google's officially supported Node.js client library for accessing Google APIs. Support for authorization and authentication with OAuth 2.0, API Keys and JWT (Service Tokens) is included.
https://googleapis.dev/nodejs/googleapis/latest/
Apache License 2.0
11.26k stars 1.91k forks source link

chore(deps): update dependency @types/execa to v2 #3457

Closed renovate-bot closed 3 months ago

renovate-bot commented 3 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/execa ^0.9.0 -> ^2.0.0 age adoption passing confidence

Release Notes

sindresorhus/execa (@​types/execa) ### [`v2.0.0`](https://togithub.com/sindresorhus/execa/releases/tag/v2.0.0) [Compare Source](https://togithub.com/sindresorhus/execa/compare/v0.9.0...v2.0.0) Thanks to [@​GMartigny](https://togithub.com/GMartigny), [@​BendingBender](https://togithub.com/BendingBender), [@​tomsotte](https://togithub.com/tomsotte), [@​ammarbinfaisal](https://togithub.com/ammarbinfaisal), [@​zokker13](https://togithub.com/zokker13), [@​stroncium](https://togithub.com/stroncium), [@​satyarohith](https://togithub.com/satyarohith), [@​bradfordlemley](https://togithub.com/bradfordlemley), [@​coreyfarrell](https://togithub.com/coreyfarrell), [@​brandon93s](https://togithub.com/brandon93s), [@​dtinth](https://togithub.com/dtinth), [@​papb](https://togithub.com/papb) for the great features and bug fixes they've contributed! Please check the [Medium article](https://medium.com/@​ehmicky/execa-v2-20ffafeedfdf) about this release! #### Breaking changes - Drop support for Node.js 6 ([dce22670](https://togithub.com/sindresorhus/execa/commit/dce226705cab370c828e99cbd6de5439c4c5c60f), [#​221](https://togithub.com/sindresorhus/execa/issues/221)) - Remove `execa.shell()` and `execa.shellSync()`. The [`shell` option](https://togithub.com/sindresorhus/execa#shell) should be used instead. ([#​219](https://togithub.com/sindresorhus/execa/issues/219)) - Remove `execa.stdout()` and `execa.stderr()`. [`childProcessResult.stdout`](https://togithub.com/sindresorhus/execa#stdout) and [`childProcessResult.stderr`](https://togithub.com/sindresorhus/execa#stderr) should be used instead ([#​234](https://togithub.com/sindresorhus/execa/issues/234)) - Remove `error.code` (`number` or `string`) in favor of [`error.exitCode`](https://togithub.com/sindresorhus/execa#exitcode) (`number`) and [`error.exitCodeName`](https://togithub.com/sindresorhus/execa#exitcodename) (`string`) ([#​187](https://togithub.com/sindresorhus/execa/issues/187), [#​250](https://togithub.com/sindresorhus/execa/issues/250)) - Rename `stripeEof` option to [`stripFinalNewline`](https://togithub.com/sindresorhus/execa#stripfinalnewline) ([f8397ba9](https://togithub.com/sindresorhus/execa/commit/f8397ba9504b5fbba6cb6275b617fc5da6ced199), [4d0dc88a](https://togithub.com/sindresorhus/execa/commit/4d0dc88ae9d4870976050c60a53f8fefcfca922c), [#​238](https://togithub.com/sindresorhus/execa/issues/238)) - Rename `cmd` (in `childProcessResult` and `error`) to [`command`](https://togithub.com/sindresorhus/execa#command) ([#​194](https://togithub.com/sindresorhus/execa/issues/194)) - Default [`preferLocal` option](https://togithub.com/sindresorhus/execa#preferlocal) to `false`. If you are executing locally installed binaries, you'll need to manually specify `preferLocal: true` ([#​314](https://togithub.com/sindresorhus/execa/issues/314)) - Ensure [`windowsHide` option](https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options) is always `true`, so that no window pops up on Windows. ([8c886452](https://togithub.com/sindresorhus/execa/commit/8c886452d4d69c4d020db1561b97335f37e999d7)) - [`error.signal`](https://togithub.com/sindresorhus/execa#signal) is now `undefined` instead of `null` when no signal was used ([#​193](https://togithub.com/sindresorhus/execa/issues/193)) - Set [`error.killed`](https://togithub.com/sindresorhus/execa#killed) to `false` when child process timed out ([#​227](https://togithub.com/sindresorhus/execa/issues/227)) - Make [`error.killed`](https://togithub.com/sindresorhus/execa#killed) always boolean (not `undefined`) ([#​229](https://togithub.com/sindresorhus/execa/issues/229), [#​248](https://togithub.com/sindresorhus/execa/issues/248)) - Ensure errors always have the same shape. ([#​276](https://togithub.com/sindresorhus/execa/issues/276), [#​277](https://togithub.com/sindresorhus/execa/issues/277), [#​283](https://togithub.com/sindresorhus/execa/issues/283)) - [`error.stdout`](https://togithub.com/sindresorhus/execa#stdout) and [`error.stderr`](https://togithub.com/sindresorhus/execa#stderr) are now an empty string (instead of `null`) when the command failed. ([#​246](https://togithub.com/sindresorhus/execa/issues/246)) #### Features - Add TypeScript definition ([#​188](https://togithub.com/sindresorhus/execa/issues/188), [f2cb86ff](https://togithub.com/sindresorhus/execa/commit/f2cb86ff79657e5493f52f4a4b460d20a57fe1c5), [7702b8ef](https://togithub.com/sindresorhus/execa/commit/7702b8ef3f2f30dd3fbd281ae19a6f69c6ac4f95), [4692dcd4](https://togithub.com/sindresorhus/execa/commit/4692dcd4cec9097ded284ed6f9a71666bd560564), [#​251](https://togithub.com/sindresorhus/execa/issues/251)) - Add [`execa.command()`](https://togithub.com/sindresorhus/execa#execacommandcommand-options) and [`execa.commandSync()`](https://togithub.com/sindresorhus/execa#execacommandsynccommand-options). Those are the same as [`execa()`](https://togithub.com/sindresorhus/execa#execafile-arguments-options) except both file and arguments are specified in a single string. For example, `execa('echo', ['unicorns'])` is the same as `execa.command('echo unicorns')` ([#​182](https://togithub.com/sindresorhus/execa/issues/182), [#​261](https://togithub.com/sindresorhus/execa/issues/261), [#​262](https://togithub.com/sindresorhus/execa/issues/262), [#​278](https://togithub.com/sindresorhus/execa/issues/278), [#​279](https://togithub.com/sindresorhus/execa/issues/279), [#​282](https://togithub.com/sindresorhus/execa/issues/282)) - Retrieve interleaved stdout and stderr with [`childProcess.all`](https://togithub.com/sindresorhus/execa#all) and [`childProcessResult.all`](https://togithub.com/sindresorhus/execa#all-1) ([#​171](https://togithub.com/sindresorhus/execa/issues/171), [#​264](https://togithub.com/sindresorhus/execa/issues/264)) - Add [`execa.node()`](https://togithub.com/sindresorhus/execa#execanodescriptpath-arguments-options) which (like [`child_process.fork()`](https://nodejs.org/api/child_process.html#child_process_child_process_fork_modulepath_args_options)) allows you to execute a Node.js script as a child process ([#​200](https://togithub.com/sindresorhus/execa/issues/200), [#​297](https://togithub.com/sindresorhus/execa/issues/297), [#​299](https://togithub.com/sindresorhus/execa/issues/299), [#​302](https://togithub.com/sindresorhus/execa/issues/302), [#​303](https://togithub.com/sindresorhus/execa/issues/303), [#​305](https://togithub.com/sindresorhus/execa/issues/305), [#​306](https://togithub.com/sindresorhus/execa/issues/306)). - If [`childProcess.kill()`](https://togithub.com/sindresorhus/execa#killsignal-options) does not terminate a child process after 5 seconds, force it by sending `SIGKILL`. This can be configured using the [`forceKillAfterTimeout` option](https://togithub.com/sindresorhus/execa#optionsforcekillaftertimeout). ([#​208](https://togithub.com/sindresorhus/execa/issues/208), [#​272](https://togithub.com/sindresorhus/execa/issues/272), [#​273](https://togithub.com/sindresorhus/execa/issues/273), [#​280](https://togithub.com/sindresorhus/execa/issues/280), [#​284](https://togithub.com/sindresorhus/execa/issues/284), [#​285](https://togithub.com/sindresorhus/execa/issues/285)) - Add [`childProcess.cancel()`](https://togithub.com/sindresorhus/execa#cancel) and [`error.isCanceled`](https://togithub.com/sindresorhus/execa#iscanceled) ([#​189](https://togithub.com/sindresorhus/execa/issues/189), [f24e7c72](https://togithub.com/sindresorhus/execa/commit/f24e7c7237de2c06f19903eecf3f04f0785c29d1), [#​226](https://togithub.com/sindresorhus/execa/issues/226), [#​309](https://togithub.com/sindresorhus/execa/issues/309)) - [`error.stdout`](https://togithub.com/sindresorhus/execa#stdout), [`error.stderr`](https://togithub.com/sindresorhus/execa#stderr) and [`error.all`](https://togithub.com/sindresorhus/execa#all) now contain the data that was sent before the child process exit. ([#​271](https://togithub.com/sindresorhus/execa/issues/271)) - Improve [`error.message`](https://togithub.com/sindresorhus/execa#childprocessresult) on child process failure ([#​180](https://togithub.com/sindresorhus/execa/issues/180), [#​223](https://togithub.com/sindresorhus/execa/issues/223), [#​230](https://togithub.com/sindresorhus/execa/issues/230), [#​245](https://togithub.com/sindresorhus/execa/issues/245), [#​269](https://togithub.com/sindresorhus/execa/issues/269)) - Add `.finally()` to the [child process promise](https://togithub.com/sindresorhus/execa#childprocessresult) ([#​174](https://togithub.com/sindresorhus/execa/issues/174), [65139849](https://togithub.com/sindresorhus/execa/commit/651398491b888bf5a51022aa3859152aacb4f796)) - Increase [`maxBuffer`](https://togithub.com/sindresorhus/execa#maxbuffer) option default value from `10 MB` to `100 MB` ([#​286](https://togithub.com/sindresorhus/execa/issues/286)) #### Bug fixes - Fix [`timeout` option](https://togithub.com/sindresorhus/execa#timeout) not working as expected ([#​199](https://togithub.com/sindresorhus/execa/issues/199)) - Fix [`error.timedOut`](https://togithub.com/sindresorhus/execa#timedout) not working with `execa.sync()` ([#​249](https://togithub.com/sindresorhus/execa/issues/249)) - Fix [`maxBuffer`](https://togithub.com/sindresorhus/execa#maxbuffer) errors not using the same shape as the other errors ([#​266](https://togithub.com/sindresorhus/execa/issues/266)) - Fix [`extendEnd` option](https://togithub.com/sindresorhus/execa#extendenv) not working with [`shell` option](https://togithub.com/sindresorhus/execa#shell) ([#​184](https://togithub.com/sindresorhus/execa/issues/184)) - Fix [`stripFinalNewline` option](https://togithub.com/sindresorhus/execa#stripfinalnewline) not applied on error properties ([#​240](https://togithub.com/sindresorhus/execa/issues/240)) - Fix `/q` parameter not added when using `cmd` instead of `cmd.exe` ([#​203](https://togithub.com/sindresorhus/execa/issues/203)) - Fix uncaught exception when using [`input` option](https://togithub.com/sindresorhus/execa#input) with a non-executable file ([#​212](https://togithub.com/sindresorhus/execa/issues/212), [#​258](https://togithub.com/sindresorhus/execa/issues/258)) - Fix errors on child processes waiting for stdout/stderr to complete ([#​270](https://togithub.com/sindresorhus/execa/issues/270)) - Fix validating that the [`stdio`](https://togithub.com/sindresorhus/execa#stdio) option cannot be used together with [`stdin: 0`](https://togithub.com/sindresorhus/execa#stdin) ([#​301](https://togithub.com/sindresorhus/execa/issues/301)). #### Documentation - Improve documentation ([#​158](https://togithub.com/sindresorhus/execa/issues/158), [#​235](https://togithub.com/sindresorhus/execa/issues/235), [#​237](https://togithub.com/sindresorhus/execa/issues/237), [#​239](https://togithub.com/sindresorhus/execa/issues/239), [#​241](https://togithub.com/sindresorhus/execa/issues/241), [#​256](https://togithub.com/sindresorhus/execa/issues/256)) #### Design - Add a logo ([#​201](https://togithub.com/sindresorhus/execa/issues/201)) #### Tests - Fix various tests ([f185a0e8](https://togithub.com/sindresorhus/execa/commit/f185a0e8bee153a67dc92a8477b33a659cc5274c), [#​185](https://togithub.com/sindresorhus/execa/issues/185), [#​215](https://togithub.com/sindresorhus/execa/issues/215), [#​216](https://togithub.com/sindresorhus/execa/issues/216), [#​224](https://togithub.com/sindresorhus/execa/issues/224), [#​218](https://togithub.com/sindresorhus/execa/issues/218), [#​225](https://togithub.com/sindresorhus/execa/issues/225), [#​231](https://togithub.com/sindresorhus/execa/issues/231), [#​233](https://togithub.com/sindresorhus/execa/issues/233), [#​247](https://togithub.com/sindresorhus/execa/issues/247), [#​300](https://togithub.com/sindresorhus/execa/issues/300)) #### Maintainers - Add [@​ehmicky](https://togithub.com/ehmicky) as an additional maintainer.

Configuration

📅 Schedule: Branch creation - "after 9am and before 3pm" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, 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.