Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency yargs to ^11.0.0 #5269

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 23, 2018

This Pull Request updates dependency yargs from ^6.3.0 to ^11.0.0

Release Notes

v7.0.0

Bug Fixes
  • address min/max validation message regression (#​750) (2e5ce0f)
  • address positional argument strict() bug introduced in #​766 (#​784) (a8528e6)
  • console.warn() rather than throwing errors when api signatures are incorrect (#​804) (a607061)
  • context should override parsed argv (#​786) (0997288)
  • context variables are now recognized in strict() mode (#​796) (48575cd)
  • errors were not bubbling appropriately from sub-commands to top-level (#​802) (8a992f5)
  • positional arguments of sub-commands threw strict() exception (#​805) (f3f074b)
  • pull in yargs-parser with modified env precedence (#​787) (e0fbbe5)
  • running parse() multiple times on the same yargs instance caused exception if help() enabled (#​790) (07e39b7)
  • use path.resolve() to support node 0.10 (#​797) (49a93fc)
Features
  • add conflicts and implies shorthands. (#​753) (bd1472b)
  • add traditional Chinese translation (#​780) (6ab6a95)
  • allow provided config object to extend other configs (#​779) (3280dd0)
  • function argument validation (#​773) (22ed9bb)
  • if only one column is provided for examples, allow it to take up the entire line (#​749) (7931652)
  • introduce custom yargs error object (#​765) (8308efa)
  • introduces support for default commands, using the '*' identifier (#​785) (d78a0f5)
  • rethink how options are inherited by commands (#​766) (ab1fa4b)
BREAKING CHANGES
  • extends key in config file is now used for extending other config files
  • environment variables now take precedence over config files.
  • context now takes precedence over argv and defaults
  • the arguments passed to functions are now validated, there's a good chance this will throw exceptions for a few folks who are using the API in an unexpected way.
  • by default options, and many of yargs' parsing helpers will now default to being applied globally; such that they are no-longer reset before being passed into commands.
  • yargs will no longer aggressively suppress errors, allowing errors that are not generated internally to bubble.

v7.0.1

Bug Fixes
  • --help with default command should print top-level help (#​810) (9c03fa4)

v7.0.2

Bug Fixes
  • populating placeholder arguments broke validation (b3eb2fe)

v7.1.0

Bug Fixes
  • fix demandOption no longer treats 'false' as truthy (#​829) (c748dd2)
  • get terminalWidth in non interactive mode no longer causes a validation exception (#​837) (360e301)
  • we shouldn't output help if we've printed a prior help-like message (#​847) (17e89bd)
Features
  • add support for numeric commands (#​825) (fde0564)

7.0.2 (2017-03-10)

Bug Fixes
  • populating placeholder arguments broke validation (b3eb2fe)

7.0.1 (2017-03-03)

Bug Fixes
  • --help with default command should print top-level help (#​810) (9c03fa4)

v8.0.0

Bug Fixes
  • commands are now applied in order, from left to right (#​857) (baba863)
  • help now takes precedence over command recommendation (#​866) (17e3567)
  • positional arguments now work if no handler is provided to inner command (#​864) (e28ded3)
Chores
  • upgrade yargs-parser (#​867) (8f9c6c6)
Features
  • allow extends to inherit from a module (#​865) (89456d9)
  • allow strict mode to be disabled (#​840) (6f78c05)
BREAKING CHANGES
  • extends functionality now always loads the JSON provided, rather than reading from a specific key
  • Node 4+ is now required; this will allow us to start updating our dependencies.
  • the first argument to strict() is now used to enable/disable its functionality, rather than controlling whether or not it is global.

v9.0.0

Bug Fixes
  • 'undefined' default value for choices resulted in validation failing (782b896)
  • address bug with handling of arrays of implications (c240661)
  • defaulting keys to 'undefined' interfered with conflicting key logic (a8e0cff)
  • don't bother calling JSON.stringify() on string default values (#​891) (628be21)
  • exclude positional arguments from completion output (#​927) (71c7ec7)
  • strict mode should not fail for hidden options (#​949) (0e0c58d)
Features
  • allow implies and conflicts to accept array values (#​922) (abdc7da)
  • allow parse with no arguments as alias for yargs.argv (#​944) (a9f03e7)
  • enable .help() and .version() by default (#​912) (1ef44e0)
  • to allow both undefined and nulls, for benefit of TypeScript (#​945) (792564d)
BREAKING CHANGES
  • version() and help() are now enabled by default, and show up in help output; the implicit help command can no longer be enabled/disabled independently from the help command itself (which can now be disabled).
  • parse() now behaves as an alias for .argv, unless a parseCallback is provided.

8.0.2 (2017-06-12)

8.0.1 (2017-05-02)


v10.0.0

Bug Fixes
  • config and normalize can be disabled with false (#​952) (3bb8771)
  • less eager help command execution (#​972) (8c1d7bf)
  • the positional argument parse was clobbering global flag arguments (#​984) (7e58453)
Features
  • .usage() can now be used to configure a default command (#​975) (7269531)
  • hidden options are now explicitly indicated using "hidden" flag (#​962) (280d0d6)
  • introduce .positional() for configuring positional arguments (#​967) (cb16460)
  • replace $0 with file basename (#​983) (20bb99b)
BREAKING CHANGES
  • .usage() no longer accepts an options object as the second argument. It can instead be used as an alias for configuring a default command.
  • previously hidden options were simply implied using a falsy description
  • help command now only executes if it's the last positional in argv._

v10.1.0

Bug Fixes
  • 'undefined' should be taken to mean no argument was provided (#​1015) (c679e90)
Features
  • add missing simple chinese locale strings (#​1004) (3cc24ec)
  • add Norwegian Nynorsk translations (#​1028) (a5ac213)
  • async command handlers (#​1001) (241124b)
  • middleware (#​881) (77b8dbc)

10.0.3 (2017-10-21)

Bug Fixes
  • parse array rather than string, so that quotes are safe (#​993) (c351685)

10.0.2 (2017-10-21)

Bug Fixes
  • fix tiny spacing issue with usage (#​992) (7871327)

10.0.1 (2017-10-19)

Bug Fixes
  • help strings for nested commands were missing parent commands (#​990) (cd1ca15)
  • use correct completion command in generated completion script (#​988) (3c8ac1d)

v11.0.0

Bug Fixes
  • Set implicit nargs=1 when type=number requiresArg=true (#​1050) (2b56812)
Features
  • requiresArg is now simply an alias for nargs(1) (#​1054) (a3ddacc)
BREAKING CHANGES
  • requiresArg now has significantly different error output, matching nargs.

10.1.2 (2018-01-17)

Bug Fixes
  • requiresArg should only be enforced if argument exists (#​1043) (fbf41ae)

10.1.1 (2018-01-09)

Bug Fixes
  • Add dirname sanity check on findUp (#​1036) (331d103)

Commits

v7.1.0

  • 17e89bd fix: we shouldn't output help if we've printed a prior help-like message (#​847)
  • c357412 docs: switch to conventional commits badge [ci skip] (#​850)
  • e7359d6 chore(release): 7.1.0

v8.0.0

  • 89456d9 feat: allow extends to inherit from a module (#​865)
  • 17e3567 fix: help now takes precedence over command recommendation (#​866)
  • 8f9c6c6 chore: upgrade yargs-parser (#​867)
  • 6944e97 chore(release): 8.0.0
  • 4c824c9 docs: made a few tweaks to CHANGELOG

v8.0.1

  • 88b61b8 chore: upgrade dependencies (#​872)
  • 692ee20 chore: update description for strict()
  • bead82c chore(release): 8.0.1

v8.0.2

  • 7de5b91 chore: finally splitting README.md into a few sections (#​892)
  • df57dfa chore: upgrade standard-version
  • 30a1872 chore(release): 8.0.2

v9.0.0

  • 628be21 fix: don't bother calling JSON.stringify() on string default values (#​891)
  • 747d426 docs: slight tweak to yargs sample code
  • 5f0cef1 ensure presence of conflicting options before failing re: yargs/yargs#​899
  • 9168fdf fix formatting
  • a8e0cff fix: defaulting keys to 'undefined' interfered with conflicting key logic
  • 094ce28 make choices correctly observe demandOption setting
  • 086d662 Move fix from yargs.js to validation.js
  • 782b896 fix: 'undefined' default value for choices resulted in validation failing
  • eda6251 docs: switch to absolute URL for commands docs (#​909)
  • 1ef44e0 feat: enable .help() and .version() by default (#​912)
  • ab592c3 docs: add link to community slack (#​930)
  • 1d56df3 chore(package): Change engine node version to >=4 (#​926)
  • a2c0fef docs: correct typos in example.md (#​934)
  • 767d0d0 refactor: Use native Object.assign (#​936)
  • a40cbc9 refactor: ES6ify (#​937)
  • 71c7ec7 fix: exclude positional arguments from completion output (#​927)
  • 792564d feat: to allow both undefined and nulls, for benefit of TypeScript (#​945)
  • a9f03e7 feat: allow parse with no arguments as alias for yargs.argv (#​944)
  • abdc7da feat: allow implies and conflicts to accept array values (#​922)
  • c240661 fix: address bug with handling of arrays of implications
  • 0e0c58d fix: strict mode should not fail for hidden options (#​949)
  • 73be236 chore(release): 9.0.0

v9.0.1

  • ac8088b fix: implications fails only displayed once (#​954)
  • d1b23f3 chore(release): 9.0.1

v10.0.0

  • 47b3078 chore: update Dutch Translation (#​981)
  • 3757194 chore: add id translation to #​976 (#​986)
  • 7269531 feat: .usage() can now be used to configure a default command (#​975)
  • fc13dcd chore: new translations for command API overhaul (#​976)
  • c809cbe chore(release): 10.0.0
  • 4b8cfa9 docs: slight tweaks to CHANGELOG
  • 8515e4f docs: nit in CHANGELOG

v10.0.1

  • 3c8ac1d fix: use correct completion command in generated completion script (#​988)
  • cd1ca15 fix: help strings for nested commands were missing parent commands (#​990)
  • 180b5eb chore(release): 10.0.1

v10.0.2

  • 38d88d4 chore: new translations for API overhaul for locale: HI (Hindi) (#​991)
  • 4043c16 docs: add note about options
  • 532c60e docs: describe hidden option in right place
  • d1cbc75 docs: be more shameless about gratipay
  • 7871327 fix: fix tiny spacing issue with usage (#​992)
  • 0684741 chore(release): 10.0.2

v10.0.3

  • c351685 fix: parse array rather than string, so that quotes are safe (#​993)
  • 968ee06 chore(release): 10.0.3

v10.1.0

  • f8efa01 docs: document multiple array arguments (#​1009)
  • 9e6f5cc docs: fix typo (#​1002)
  • 3cc24ec feat: add missing simple chinese locale strings (#​1004)
  • e1117c5 docs: gratipay is no more
  • 77b8dbc feat: middleware (#​881)
  • a70b285 docs: fix small typo
  • c679e90 fix: 'undefined' should be taken to mean no argument was provided (#​1015)
  • 6b857d2 chore: explicitly update dependencies (#​1023)
  • a5ac213 feat: add Norwegian Nynorsk translations (#​1028)
  • c8adffb docs: remove left over line talking about git-tap donations
  • 37915fb test: add failing test for scientific notation (#​1019)
  • 6f4640d chore: docs, clarify test a bit
  • 241124b feat: async command handlers (#​1001)
  • 92faada chore: add test for happy path of async command handler (#​1034)
  • f4d01d0 chore(release): 10.1.0

v10.1.1

  • 0942a15 chore: use chai 4.x (#​1033)
  • 331d103 fix: Add dirname sanity check on findUp (#​1036)
  • e87f487 docs: fix middlware docs (#​1037)
  • 232f9ca chore(release): 10.1.1

v10.1.2

  • fbf41ae fix: requiresArg should only be enforced if argument exists (#​1043)
  • 6bad6a9 chore(release): 10.1.2

v11.0.0

  • 2b56812 fix: Set implicit nargs=1 when type=number requiresArg=true (#​1050)
  • a3ddacc feat: requiresArg is now simply an alias for nargs(1) (#​1054)
  • 57a39cb chore(release): 11.0.0

This PR has been generated by Renovate Bot.

@arcanis
Copy link
Member

arcanis commented Feb 27, 2018

Closing - no tests + I seriously doubt we can safely bump Yargs :/

@arcanis arcanis closed this Feb 27, 2018
@renovate
Copy link
Contributor Author

renovate bot commented Feb 27, 2018

Renovate Ignore Notification

As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 11.x releases. However, if you upgrade to 11.x manually then Renovate will then reenable updates for minor and patch updates automatically.

If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.

@renovate renovate bot deleted the renovate/yargs-11.x branch February 27, 2018 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants