Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release *beep* *boop*
15.2.0 (2020-07-19)
⚠ BREAKING CHANGES
yargs.getOptions()
contained the state of the last command to execute.argv
(not set via CLI argument) are now absent from the parsed result object rather tahn being set withundefined
defaults
alias fordefault
.help
command which outputs help, as an alternative to a help flag.Features
Parser
fromrequire('yargs/yargs')
(#1477) (1840ba2).parserConfiguration()
method, deprecating package.json config (#1262) (3c6869a)setPlaceholderKeys
(#1105) (6ee2c82)Bug Fixes
.check()
in more detail (932cd11)dirname
sanity check onfindUp
(#1036) (331d103)true
, check if the parsed arg istrue
(#619) (658a34c)hidden
options from help output even if they are in a group (#1221) (da54028)engines
field (0891d0e)extends
(#1376) (3d26d11), closes #1372Performance Improvements
Reverts
Revert "chore(deps): update dependency eslint to v7 (chore(deps): update dependency eslint to v7 #1656)" (revert(deps): update dependency eslint back to v6.8 #1673) (34949f8), closes #1656 #1673
Revert "Fixed issue which caused .demand function not to work correctly." (f33bbb0)
fix! yargs.parsed now populated before returning, when yargs.parse() called with no args (fix! yargs.parsed now populated before returning, when yargs.parse() called with no args #1382) (e3981fd), closes #1382
Miscellaneous Chores
Code Refactoring
This PR was generated with Release Please.