Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Update dependency yargs to v7 - autoclosed #12

Closed
wants to merge 1 commit into from

Conversation

mend-app-cvent[bot]
Copy link

@mend-app-cvent mend-app-cvent bot commented Sep 29, 2022

This PR contains the following updates:

Package Type Update Change
yargs (source) dependencies major ^4.8.0 -> ^7.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
High 9.8 CVE-2020-7774 #8
High 7.5 CVE-2021-23343 #7
Medium 5.3 CVE-2020-7608 #4
Medium 5.3 CVE-2021-23362 #6

Release Notes

yargs/yargs

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)

v6.6.0

Compare Source

Bug Fixes
  • [object Object] was accidentally being populated on options object (#​736) (f755e27)
  • do not use cwd when resolving package.json for yargs parsing config (#​726) (9bdaab7)
Features

v6.5.0

Compare Source

Bug Fixes
  • still freeze/unfreeze if parse() is called in isolation (#​717) (30a9492)
Features

v6.4.0

Compare Source

Bug Fixes
Features
Performance Improvements
  • normalizing package data is an expensive operation (#​705) (49cf533)

v6.3.0

Compare Source

Bug Fixes
  • command: subcommands via commandDir() now supported for parse(msg, cb) (#​678) (6b85cc6)
Features

v6.2.0

Compare Source

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

v6.1.1

Compare Source

v6.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); yarser-parser@19.x.x (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

v5.0.0

Compare Source

Bug Fixes
Features
Performance Improvements
BREAKING CHANGES
  • fail is now applied globally.
  • we now default to an empty builder function when command is executed with no builder.
  • yargs-parser now better handles negative integer values, at the cost of handling numeric option names, e.g., -1 hello
  • default: removed undocumented defaults alias for default.
  • introduces a default help command which outputs help, as an alternative to a help flag.
  • interpret demand() numbers as relative to executing command (#​582) (927810c)

  • If you want to rebase/retry this PR, click this checkbox.

@mend-app-cvent mend-app-cvent bot added the security fix Security fix generated by WhiteSource label Sep 29, 2022
@mend-app-cvent mend-app-cvent bot changed the title Update dependency yargs to v7 Update dependency yargs to v7 - autoclosed Jan 20, 2023
@mend-app-cvent mend-app-cvent bot closed this Jan 20, 2023
@mend-app-cvent mend-app-cvent bot deleted the whitesource-remediate/yargs-7.x branch January 20, 2023 06:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
security fix Security fix generated by WhiteSource
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants