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

Update dependency yargs to v17 #27

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 3, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
yargs (source) ^6.6.0 -> 17.1.1 age adoption passing confidence

Release Notes

yargs/yargs

v17.1.1

Compare Source

v17.1.0

Compare Source

Features
Bug Fixes
17.0.1 (2021-05-03)
Bug Fixes

v17.0.1

Compare Source

v17.0.0

Compare Source

⚠ 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
Bug Fixes
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

Compare Source

Features
  • command() now accepts an array of modules (f415388)
Bug Fixes
16.1.1 (2020-11-15)
Bug Fixes

v16.1.1

Compare Source

v16.1.0

Compare Source

Features
Bug Fixes
16.0.3 (2020-09-10)
Bug Fixes
16.0.2 (2020-09-09)
Bug Fixes
16.0.1 (2020-09-09)
Bug Fixes

v16.0.3

Compare Source

v16.0.2

Compare Source

v16.0.1

Compare Source

v16.0.0

Compare Source

⚠ BREAKING CHANGES
  • tweaks to ESM/Deno API surface: now exports yargs function by default; getProcessArgvWithoutBin becomes hideBin; types now exported for Deno.
  • find-up replaced with escalade; export map added (limits importable files in Node >= 12); [email protected] (new decamelize/camelcase implementation).
  • usage: single character aliases are now shown first in help output
  • rebase helper is no longer provided on yargs instance.
  • drop support for EOL Node 8 (#​1686)
Features
Bug Fixes

Older CHANGELOG Entries

v15.4.1

Compare Source

decamelize had 12mb dependency, we have downgraded to an earlier version.

v15.4.0

Compare Source

Features
Bug Fixes
  • docs: describe usage of .check() in more detail (932cd11)
  • i18n: Japanese translation phrasing (#​1619) (0894175)
  • strict mode: report default command unknown arguments (#​1626) (69f29a9)
  • usage: translate 'options' group only when displaying help (#​1600) (e60b39b)
Reverts

v15.3.1

Compare Source

Bug Fixes
  • _proto__ will now be replaced with __proto___ in parse (#​258), patching a potential
    prototype pollution vulnerability. This was reported by the Snyk Security Research Team. (63810ca)

v15.3.0

Compare Source

Features
Bug Fixes
  • address ambiguity between nargs of 1 and requiresArg (#​1572) (a5edc32)

v15.2.0

Compare Source

⚠ BREAKING CHANGES
  • deps: [email protected] no longer implicitly creates arrays out of boolean
    arguments when duplicates are provided
Features
Bug Fixes
  • help always displayed for the first command parsed having an async handler (#​1535) (d585b30)
  • deps: fix enumeration for normalized path arguments (#​1567) (0b5b1b0)
  • locales: only translate default option group name (acc16de)
  • locales: remove extra space in French for 'default' (#​1564) (ecfc2c4)
  • translations: add French translation for unknown command (#​1563) (18b0b75)
  • translations: fix pluralization in error messages. (#​1557) (94fa38c)
  • yargs: correct support of bundled electron apps (#​1554) (a0b61ac)

v15.1.0

Compare Source

Features
Bug Fixes

v15.0.2

Compare Source

Bug Fixes
  • temporary fix for libraries that call Object.freeze() (#​1483) (99c2dc8)

v15.0.1

Compare Source

Bug Fixes
  • deps: cliui, find-up, and string-width, all drop Node 6 support (#​1479) (6a9ebe2)

v15.0.0

Compare Source

⚠ BREAKING CHANGES
Features
Bug Fixes
  • docs: TypeScript import to prevent a future major release warning (#​1441) (b1b156a)
  • stop-parse was not being respected by commands (#​1459) (12c82e6)
  • update to yargs-parser with fix for array default values (#​1463) (ebee59d)
  • docs: update boolean description and examples in docs (#​1474) (afd5b48)
Miscellaneous Chores
Code Refactoring

v14.2.3

Compare Source

v14.2.2

Compare Source

v14.2.1

Compare Source

v14.2.0

Compare Source

v14.1.0

Compare Source

v14.0.0

Compare Source

v13.3.2

Compare Source

v13.3.0

Compare Source

Bug Fixes
  • deps: yargs-parser update addressing several parsing bugs (#​1357) (e230d5b)
Features
  • i18n: swap out os-locale dependency for simple inline implementation (#​1356) (4dfa19b)
  • support defaultDescription for positional arguments (812048c)

v13.2.4

Compare Source

v13.2.2

Compare Source

v13.2.1

Compare Source

v13.2.0

Compare Source

v13.1.0

Compare Source

v12.0.5

Compare Source

v12.0.4

Compare Source

v12.0.2

Compare Source

v12.0.1

Compare Source

v12.0.0

Compare Source

v11.1.1

Compare Source

v11.1.0

Compare Source

v11.0.0

Compare Source

v10.1.2

Compare Source

v10.1.1

Compare Source

v10.1.0

Compare Source

v10.0.3

Compare Source

v10.0.2

Compare Source

v10.0.1

Compare Source

v10.0.0

Compare Source

v9.0.1

Compare Source

v9.0.0

Compare Source

v8.0.2

Compare Source

v8.0.1

Compare Source

v8.0.0

Compare Source

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
Features
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.

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

Features
Bug Fixes
17.0.1 (2021-05-03)
Bug Fixes

v7.0.2

Compare Source

Bug Fixes
  • populating placeholder arguments broke validation (b3eb2fe)

v7.0.1

Compare Source

v7.0.0

Compare Source

⚠ 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
Bug Fixes
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)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

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.

1 participant