Skip to content
This repository has been archived by the owner on Jun 2, 2021. It is now read-only.

Bump yargs from 16.2.0 to 17.0.1 #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 7, 2021

Bumps yargs from 16.2.0 to 17.0.1.

Release notes

Sourced from yargs's releases.

yargs yargs-v16.2.1

Bug Fixes

Changelog

Sourced from yargs's changelog.

17.0.1 (2021-05-03)

Bug Fixes

17.0.0 (2021-05-02)

⚠ BREAKING CHANGES

  • node: drop Node 10 (#1919)
  • implicitly private methods are now actually private
  • deprecated reset() method is now private (call yargs() instead).
  • yargs-factory: refactor yargs-factory to use class (#1895)
  • .positional() now allowed at root level of yargs.
  • coerce: coerce is now applied before validation.
  • async: yargs now returns a promise if async or check are asynchronous.
  • middleware: global middleware now applied when no command is configured.
  • #1823 contains the following breaking API changes:
    • now returns a promise if handler is async.
    • onFinishCommand removed, in favor of being able to await promise.
    • getCompletion now invokes callback with err and `completions, returns promise of completions.

Features

  • add commands alias (similar to options function) (#1850) (00b74ad)
  • add parseSync/parseAsync method (#1898) (6130ad8)
  • add support for showVersion, similar to showHelp (#1831) (1a1e2d5)
  • adds support for async builder (#1888) (ade29b8), closes #1042
  • allow calling standard completion function from custom one (#1855) (31765cb)
  • allow default completion to be referenced and modified, in custom completion (#1878) (01619f6)
  • async: add support for async check and coerce (#1872) (8b95f57)
  • improve support for async/await (#1823) (169b815)
  • locale: add Ukrainian locale (#1893) (c872dfc)
  • middleware: async middleware can now be used before validation. (e0f9363)
  • middleware: global middleware now applied when no command is configured. (e0f9363)
  • node: drop Node 10 (#1919) (5edeb9e)

Bug Fixes

  • always cache help message when running commands (#1865) (d57ca77), closes #1853
  • async: don't call parse callback until async ops complete (#1896) (a93f5ff), closes #1888
  • builder: apply default builder for showHelp/getHelp (#1913) (395bb67), closes #1912
  • builder: nested builder is now awaited (#1925) (b5accd6)
  • coerce: options using coerce now displayed in help (#1911) (d2128cc), closes #1909
  • completion script name clashing on bash (#1903) (8f62d9a)
  • deno: use actual names for keys instead of inferring (#1891) (b96ef01)

... (truncated)

Commits

Dependabot compatibility score

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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

Bumps [yargs](https://github.com/yargs/yargs) from 16.2.0 to 17.0.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](yargs/yargs@v16.2.0...v17.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants