simonepri / phc-argon2

🔒 Node.JS Argon2 password hashing algorithm following the PHC string format.
MIT License
17 stars 6 forks source link

Update execa requirement from ^1.0.0 to ^2.0.0 #17

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on execa to permit the latest version.

Release notes *Sourced from [execa's releases](https://github.com/sindresorhus/execa/releases).* > ## v2.0.0 > Thanks to [@​GMartigny](https://github.com/GMartigny), [@​BendingBender](https://github.com/BendingBender), [@​tomsotte](https://github.com/tomsotte), [@​ammarbinfaisal](https://github.com/ammarbinfaisal), [@​zokker13](https://github.com/zokker13), [@​stroncium](https://github.com/stroncium), [@​satyarohith](https://github.com/satyarohith), [@​bradfordlemley](https://github.com/bradfordlemley), [@​coreyfarrell](https://github.com/coreyfarrell), [@​brandon93s](https://github.com/brandon93s), [@​dtinth](https://github.com/dtinth), [@​papb](https://github.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://github.com/sindresorhus/execa/commit/dce226705cab370c828e99cbd6de5439c4c5c60f), [#221](https://github-redirect.dependabot.com/sindresorhus/execa/issues/221)) > - Remove `execa.shell()` and `execa.shellSync()`. The [`shell` option](https://github.com/sindresorhus/execa#shell) should be used instead. ([#219](https://github-redirect.dependabot.com/sindresorhus/execa/issues/219)) > - Remove `execa.stdout()` and `execa.stderr()`. [`childProcessResult.stdout`](https://github.com/sindresorhus/execa#stdout) and [`childProcessResult.stderr`](https://github.com/sindresorhus/execa#stderr) should be used instead ([#234](https://github-redirect.dependabot.com/sindresorhus/execa/issues/234)) > - Remove `error.code` (`number` or `string`) in favor of [`error.exitCode`](https://github.com/sindresorhus/execa#exitcode) (`number`) and [`error.exitCodeName`](https://github.com/sindresorhus/execa#exitcodename) (`string`) ([#187](https://github-redirect.dependabot.com/sindresorhus/execa/issues/187), [#250](https://github-redirect.dependabot.com/sindresorhus/execa/issues/250)) > - Rename `stripeEof` option to [`stripFinalNewline`](https://github.com/sindresorhus/execa#stripfinalnewline) ([f8397ba9](https://github.com/sindresorhus/execa/commit/f8397ba9504b5fbba6cb6275b617fc5da6ced199), [4d0dc88a](https://github.com/sindresorhus/execa/commit/4d0dc88ae9d4870976050c60a53f8fefcfca922c), [#238](https://github-redirect.dependabot.com/sindresorhus/execa/issues/238)) > - Rename `cmd` (in `childProcessResult` and `error`) to [`command`](https://github.com/sindresorhus/execa#command) ([#194](https://github-redirect.dependabot.com/sindresorhus/execa/issues/194)) > - Default [`preferLocal` option](https://github.com/sindresorhus/execa#preferlocal) to `false`. If you are executing locally installed binaries, you'll need to manually specify `preferLocal: true` ([#314](https://github-redirect.dependabot.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://github.com/sindresorhus/execa/commit/8c886452d4d69c4d020db1561b97335f37e999d7)) > - [`error.signal`](https://github.com/sindresorhus/execa#signal) is now `undefined` instead of `null` when no signal was used ([#193](https://github-redirect.dependabot.com/sindresorhus/execa/issues/193)) > - Set [`error.killed`](https://github.com/sindresorhus/execa#killed) to `false` when child process timed out ([#227](https://github-redirect.dependabot.com/sindresorhus/execa/issues/227)) > - Make [`error.killed`](https://github.com/sindresorhus/execa#killed) always boolean (not `undefined`) ([#229](https://github-redirect.dependabot.com/sindresorhus/execa/issues/229), [#248](https://github-redirect.dependabot.com/sindresorhus/execa/issues/248)) > - Ensure errors always have the same shape. ([#276](https://github-redirect.dependabot.com/sindresorhus/execa/issues/276), [#277](https://github-redirect.dependabot.com/sindresorhus/execa/issues/277), [#283](https://github-redirect.dependabot.com/sindresorhus/execa/issues/283)) > - [`error.stdout`](https://github.com/sindresorhus/execa#stdout) and [`error.stderr`](https://github.com/sindresorhus/execa#stderr) are now an empty string (instead of `null`) when the command failed. ([#246](https://github-redirect.dependabot.com/sindresorhus/execa/issues/246)) > > ## Features > > - Add TypeScript definition ([#188](https://github-redirect.dependabot.com/sindresorhus/execa/issues/188), [f2cb86ff](https://github.com/sindresorhus/execa/commit/f2cb86ff79657e5493f52f4a4b460d20a57fe1c5), [7702b8ef](https://github.com/sindresorhus/execa/commit/7702b8ef3f2f30dd3fbd281ae19a6f69c6ac4f95), [4692dcd4](https://github.com/sindresorhus/execa/commit/4692dcd4cec9097ded284ed6f9a71666bd560564), [#251](https://github-redirect.dependabot.com/sindresorhus/execa/issues/251)) > - Add [`execa.command()`](https://github.com/sindresorhus/execa#execacommandcommand-options) and [`execa.commandSync()`](https://github.com/sindresorhus/execa#execacommandsynccommand-options). Those are the same as [`execa()`](https://github.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://github-redirect.dependabot.com/sindresorhus/execa/issues/182), [#261](https://github-redirect.dependabot.com/sindresorhus/execa/issues/261), [#262](https://github-redirect.dependabot.com/sindresorhus/execa/issues/262), [#278](https://github-redirect.dependabot.com/sindresorhus/execa/issues/278), [#279](https://github-redirect.dependabot.com/sindresorhus/execa/issues/279), [#282](https://github-redirect.dependabot.com/sindresorhus/execa/issues/282)) > - Retrieve interleaved stdout and stderr with [`childProcess.all`](https://github.com/sindresorhus/execa#all) and [`childProcessResult.all`](https://github.com/sindresorhus/execa#all-1) ([#171](https://github-redirect.dependabot.com/sindresorhus/execa/issues/171), [#264](https://github-redirect.dependabot.com/sindresorhus/execa/issues/264)) > - Add [`execa.node()`](https://github.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://github-redirect.dependabot.com/sindresorhus/execa/issues/200), [#297](https://github-redirect.dependabot.com/sindresorhus/execa/issues/297), [#299](https://github-redirect.dependabot.com/sindresorhus/execa/issues/299), [#302](https://github-redirect.dependabot.com/sindresorhus/execa/issues/302), [#303](https://github-redirect.dependabot.com/sindresorhus/execa/issues/303), [#305](https://github-redirect.dependabot.com/sindresorhus/execa/issues/305), [#306](https://github-redirect.dependabot.com/sindresorhus/execa/issues/306)). > - If [`childProcess.kill()`](https://github.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://github.com/sindresorhus/execa#optionsforcekillaftertimeout). ([#208](https://github-redirect.dependabot.com/sindresorhus/execa/issues/208), [#272](https://github-redirect.dependabot.com/sindresorhus/execa/issues/272), [#273](https://github-redirect.dependabot.com/sindresorhus/execa/issues/273), [#280](https://github-redirect.dependabot.com/sindresorhus/execa/issues/280), [#284](https://github-redirect.dependabot.com/sindresorhus/execa/issues/284), [#285](https://github-redirect.dependabot.com/sindresorhus/execa/issues/285)) > - Add [`childProcess.cancel()`](https://github.com/sindresorhus/execa#cancel) and [`error.isCanceled`](https://github.com/sindresorhus/execa#iscanceled) ([#189](https://github-redirect.dependabot.com/sindresorhus/execa/issues/189), [f24e7c72](https://github.com/sindresorhus/execa/commit/f24e7c7237de2c06f19903eecf3f04f0785c29d1), [#226](https://github-redirect.dependabot.com/sindresorhus/execa/issues/226), [#309](https://github-redirect.dependabot.com/sindresorhus/execa/issues/309)) > - [`error.stdout`](https://github.com/sindresorhus/execa#stdout), [`error.stderr`](https://github.com/sindresorhus/execa#stderr) and [`error.all`](https://github.com/sindresorhus/execa#all) now contain the data that was sent before the child process exit. ([#271](https://github-redirect.dependabot.com/sindresorhus/execa/issues/271)) > - Improve [`error.message`](https://github.com/sindresorhus/execa#childprocessresult) on child process failure ([#180](https://github-redirect.dependabot.com/sindresorhus/execa/issues/180), [#223](https://github-redirect.dependabot.com/sindresorhus/execa/issues/223), [#230](https://github-redirect.dependabot.com/sindresorhus/execa/issues/230), [#245](https://github-redirect.dependabot.com/sindresorhus/execa/issues/245), [#269](https://github-redirect.dependabot.com/sindresorhus/execa/issues/269)) > - Add `.finally()` to the [child process promise](https://github.com/sindresorhus/execa#childprocessresult) ([#174](https://github-redirect.dependabot.com/sindresorhus/execa/issues/174), [65139849](https://github.com/sindresorhus/execa/commit/651398491b888bf5a51022aa3859152aacb4f796)) > - Increase [`maxBuffer`](https://github.com/sindresorhus/execa#maxbuffer) option default value from `10 MB` to `100 MB` ([#286](https://github-redirect.dependabot.com/sindresorhus/execa/issues/286)) > > ## Bug fixes > > - Fix [`timeout` option](https://github.com/sindresorhus/execa#timeout) not working as expected ([#199](https://github-redirect.dependabot.com/sindresorhus/execa/issues/199)) > - Fix [`error.timedOut`](https://github.com/sindresorhus/execa#timedout) not working with `execa.sync()` ([#249](https://github-redirect.dependabot.com/sindresorhus/execa/issues/249)) > - Fix [`maxBuffer`](https://github.com/sindresorhus/execa#maxbuffer) errors not using the same shape as the other errors ([#266](https://github-redirect.dependabot.com/sindresorhus/execa/issues/266)) > - Fix [`extendEnd` option](https://github.com/sindresorhus/execa#extendenv) not working with [`shell` option](https://github.com/sindresorhus/execa#shell) ([#184](https://github-redirect.dependabot.com/sindresorhus/execa/issues/184)) > - Fix [`stripFinalNewline` option](https://github.com/sindresorhus/execa#stripfinalnewline) not applied on error properties ([#240](https://github-redirect.dependabot.com/sindresorhus/execa/issues/240)) > - Fix `/q` parameter not added when using `cmd` instead of `cmd.exe` ([#203](https://github-redirect.dependabot.com/sindresorhus/execa/issues/203)) > - Fix uncaught exception when using [`input` option](https://github.com/sindresorhus/execa#input) with a non-executable file ([#212](https://github-redirect.dependabot.com/sindresorhus/execa/issues/212), [#258](https://github-redirect.dependabot.com/sindresorhus/execa/issues/258)) > - Fix errors on child processes waiting for stdout/stderr to complete ([#270](https://github-redirect.dependabot.com/sindresorhus/execa/issues/270)) > - Fix validating that the [`stdio`](https://github.com/sindresorhus/execa#stdio) option cannot be used together with [`stdin: 0`](https://github.com/sindresorhus/execa#stdin) ([#301](https://github-redirect.dependabot.com/sindresorhus/execa/issues/301)). > > ## Documentation > > - Improve documentation ([#158](https://github-redirect.dependabot.com/sindresorhus/execa/issues/158), [#235](https://github-redirect.dependabot.com/sindresorhus/execa/issues/235), [#237](https://github-redirect.dependabot.com/sindresorhus/execa/issues/237), [#239](https://github-redirect.dependabot.com/sindresorhus/execa/issues/239), [#241](https://github-redirect.dependabot.com/sindresorhus/execa/issues/241), [#256](https://github-redirect.dependabot.com/sindresorhus/execa/issues/256)) > > ... (truncated)
Commits - [`ec10a4c`](https://github.com/sindresorhus/execa/commit/ec10a4c7b5732edb76e7a20e29ffa3996bcde80a) 2.0.0 - [`2752f49`](https://github.com/sindresorhus/execa/commit/2752f494e8bba7b46bcf4c9ec85adaa89f915eea) Fix linting - [`eb22ff7`](https://github.com/sindresorhus/execa/commit/eb22ff7a2204ddb7bdcc7a3873b63bcc25be91fc) Change default value of the `preferLocal` option to `false` ([#314](https://github-redirect.dependabot.com/sindresorhus/execa/issues/314)) - [`4dd258d`](https://github.com/sindresorhus/execa/commit/4dd258d062722e69317707da5c1b73ffa506d42a) Separate error creation logic into its own file ([#311](https://github-redirect.dependabot.com/sindresorhus/execa/issues/311)) - [`8af8c96`](https://github.com/sindresorhus/execa/commit/8af8c96d7a066ae7228d041aacff8fe4cc6df026) Improve/refactor `.cancel()` ([#309](https://github-redirect.dependabot.com/sindresorhus/execa/issues/309)) - [`4503764`](https://github.com/sindresorhus/execa/commit/4503764e74505603c21528f2ad74f6f9b87d4d3e) Simplify code related to `context` ([#310](https://github-redirect.dependabot.com/sindresorhus/execa/issues/310)) - [`c2787e5`](https://github.com/sindresorhus/execa/commit/c2787e5f6ba6806af8f4168af8e6899b37c641c8) Separate `cleanup` into its own function ([#308](https://github-redirect.dependabot.com/sindresorhus/execa/issues/308)) - [`a9fa13f`](https://github.com/sindresorhus/execa/commit/a9fa13f4878ca520c0aca14a198ae44e33d42f65) Rename variables in `stdio` file ([#306](https://github-redirect.dependabot.com/sindresorhus/execa/issues/306)) - [`85a54d5`](https://github.com/sindresorhus/execa/commit/85a54d51e883d35b23f3daba008a4b852dd2612c) Separate `cleanup` option handling into its own function ([#307](https://github-redirect.dependabot.com/sindresorhus/execa/issues/307)) - [`b979534`](https://github.com/sindresorhus/execa/commit/b9795349aa74a0a9f666fe051976854345c40a65) Rename `nodeArguments` to `nodeOptions` ([#299](https://github-redirect.dependabot.com/sindresorhus/execa/issues/299)) - Additional commits viewable in [compare view](https://github.com/sindresorhus/execa/compare/v1.0.0...v2.0.0)
Maintainer changes This version was pushed to npm by [ehmicky](https://www.npmjs.com/~ehmicky), a new releaser for execa since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #18.