Skip to content

Conversation

@dependabot
Copy link

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

Bumps yargs from 6.6.0 to 17.0.0.

Release notes

Sourced from yargs's releases.

yargs yargs-v16.2.1

Bug Fixes

yargs yargs-v7.1.2

Bug Fixes

Changelog

Sourced from yargs's changelog.

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

Code Refactoring

... (truncated)

Commits
  • a1fe863 chore: release 17.0.0 (#1876)
  • 3a3c98f docs: document hideBin (#1932)
  • 4861de7 docs: add link to list of functions to the start of the API docs for better d...
  • b5accd6 fix(builder): nested builder is now awaited (#1925)
  • 8ac32ee build: ignore string-width (#1920)
  • 5edeb9e feat(node)!: drop Node 10 (#1919)
  • 395bb67 fix(builder): apply default builder for showHelp/getHelp (#1913)
  • d2128cc fix(coerce): options using coerce now displayed in help (#1911)
  • 8f62d9a fix: completion script name clashing on bash (#1903)
  • ecbc037 test: add test demonstrating how to set custom description and aliases for he...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by oss-bot, a new releaser for yargs since your current version.


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 6.6.0 to 17.0.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](yargs/yargs@v6.6.0...v17.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 3, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 4, 2021

Superseded by #137.

@dependabot dependabot bot closed this May 4, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/yargs-17.0.0 branch May 4, 2021 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant