fix(deps): update dependency yargs to v17 - abandoned
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| yargs (source) | ^16.0.0 -> ^17.0.0 |
||||
| @types/yargs (source) | ^13.0.0 -> ^17.0.0 |
Release Notes
yargs/yargs
v17.7.1
Bug Fixes
v17.7.0
Features
- add method to hide option extras (#β2156) (2c144c4)
- convert line break to whitespace for the description of the option (#β2271) (4cb41dc)
Bug Fixes
v17.6.2
Bug Fixes
- deps: update dependency yargs-parser to v21.1.1 (#β2231) (75b4d52)
- lang: typo in Finnish unknown argument singular form (#β2222) (a6dfd0a)
v17.6.1
Bug Fixes
v17.6.0
Features
- lang: Czech locale (#β2220) (5895cf1)
- usage: add YARGS_DISABLE_WRAP env variable to disable wrap (#β2210) (b680ace)
Bug Fixes
- deno: use 'globalThis' instead of 'window' (#β2186) (#β2215) (561fc7a)
- deps: cliui with forced strip-ansi update (#β2241) (38e8df1)
- dont clobber description for multiple option calls (#β2171) (f91d9b3)
- typescript: address warning with objectKeys (394f5f8)
17.5.1 (2022-05-16)
Bug Fixes
- add missing entries to published files (#β2185) (5685382)
- address bug when strict and async middleware used together (#β2164) (cbc2eb7)
- completion: correct zsh installation instructions (22e9af2)
- handle multiple node_modules folders determining mainFilename for ESM (#β2123) (e0823dd)
- lang: add missing terms to Russian translation (#β2181) (1c331f2)
- prevent infinite loop with empty locale (#β2179) (b672e70)
- veriadic arguments override array provided in config (the same as multiple dash arguments). (4dac5b8)
v17.5.1
v17.5.0
Features
Bug Fixes
- completion: support for default flags (db35423)
- import yargs/yargs in esm projects (#β2151) (95aed1c)
17.4.1 (2022-04-09)
Bug Fixes
- coerce pollutes argv (#β2161) (2d1136d)
- completion: don't show positional args choices with option choices (#β2148) (b58b5bc)
- hide hidden options from completion (#β2143) (e086dfa), closes #β2142
- show message when showHelpOnFail is chained globally (#β2154) (ad9fcac)
v17.4.1
v17.4.0
Features
- completion: choices will now work for all possible aliases of an option and not just the default long option (30edd50)
- completion: positional arguments completion (#β2090) (00e4ebb)
Bug Fixes
- completion: changed the check for option arguments to match options that begin with '-', instead of '--', to include short options (30edd50)
- completion: fix for completions that contain non-leading hyphens (30edd50)
- failed command usage string is missing arg descriptions and optional args (#β2105) (d6e342d)
- wrap unknown args in quotes (#β2092) (6a29778)
17.3.1 (2021-12-23)
Bug Fixes
v17.3.1
v17.3.0
Features
- fallback to default bash completion (74c0ba5)
Bug Fixes
- avoid legacy accessors (#β2013) (adb0d11)
- deps: update dependency yargs-parser to v21 (#β2063) (76c1951)
- don't fail if "fileURLToPath(import.meta.url)" throws (3a44796)
- re-add options to check callback (#β2079) (e75319d)
17.2.1 (2021-09-25)
Bug Fixes
v17.2.1
v17.2.0
Features
- autocomplete choices for options (#β2018) (01b2c6a)
- locales: Added Uzbek translation (#β2024) (ee047b9)
Bug Fixes
- boolean option should work with strict (#β1996) (e9379e2)
- cast error types as TypeScript 4.4 infers them as unknown instead of any (#β2016) (01b2c6a)
- conflicts and strip-dashed (#β1998) (59a86fb)
- emit warning on version name collision (#β1986) (d0e8292)
- help command spacing when scriptName is empty (#β1994) (d33e997)
17.1.1 (2021-08-13)
Bug Fixes
v17.1.1
v17.1.0
Features
Bug Fixes
- coerce middleware should be applied once (#β1978) (14bd6be)
- implies should not fail when implied key's value is 0, false or empty string (#β1985) (8010472)
- positionals should not overwrite options (#β1992) (9d84309)
- strict should fail unknown arguments (#β1977) (c804f0d)
- wrap(null) no longer causes strange indentation behavior (#β1988) (e1871aa)
17.0.1 (2021-05-03)
Bug Fixes
v17.0.1
v17.0.0
β 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 toshowHelp(#β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)
- exclude positionals from default completion (#β1881) (0175677)
- https://github.com/yargs/yargs/issues/1841#issuecomment-804770453 (b96ef01)
- showHelp() and .getHelp() now return same output for commands as --help (#β1826) (36abf26)
- zsh completion is now autoloadable (#β1856) (d731f9f)
Code Refactoring
- coerce: coerce is now applied before validation. (8b95f57)
- deprecated reset() method is now private (call yargs() instead). (376f892)
- implicitly private methods are now actually private (376f892)
- yargs-factory: refactor yargs-factory to use class (#β1895) (376f892)
v16.2.0
Features
- command() now accepts an array of modules (f415388)
Bug Fixes
16.1.1 (2020-11-15)
Bug Fixes
- expose helpers for legacy versions of Node.js (#β1801) (107deaa)
- deno: get yargs working on [email protected] (#β1799) (cb01c98)
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 is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
Merging #136 (d65861d) into main (01b7e45) will not change coverage. The diff coverage is
n/a.
:exclamation: Current head d65861d differs from pull request most recent head 23e18d3. Consider uploading reports for the commit 23e18d3 to get more accurate results
@@ Coverage Diff @@
## main #136 +/- ##
=======================================
Coverage 69.64% 69.64%
=======================================
Files 2 2
Lines 56 56
Branches 12 12
=======================================
Hits 39 39
Misses 17 17
Continue to review full report at Codecov.
Legend - Click here to learn more
Ξ = absolute <relative> (impact),ΓΈ = not affected,? = missing dataPowered by Codecov. Last update 01b7e45...23e18d3. Read the comment docs.
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
β Warning: custom changes will be lost.