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

[Snyk] Upgrade command-line-usage from 4.1.0 to 6.1.3 #16

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

Conversation

lirantal
Copy link
Owner

@lirantal lirantal commented Feb 5, 2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade command-line-usage from 4.1.0 to 6.1.3.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 16 versions ahead of your current version.
  • The recommended version was released 10 months ago, on 2022-04-13.
Release notes
Package name: command-line-usage
  • 6.1.3 - 2022-04-13

    6.1.3

  • 6.1.2 - 2022-04-01

    6.1.2

  • 6.1.1 - 2020-11-07

    6.1.1

  • 6.1.0 - 2019-11-03

    New feature since v6.0.2

    In the list of option definitions passed to an optionList, the name property is no longer mandatory. Previously, the following example would have thrown validation errors due to the lack of name properties.

    const commandLineUsage = require('command-line-usage')

    const usage = commandLineUsage([
    {
    header: 'Options',
    optionList: [
    {
    description: 'Display this usage guide.',
    alias: 'h',
    type: Boolean
    },
    {
    description: 'Timeout value in ms.',
    alias: 't',
    type: Number,
    typeLabel: '{underline ms}'
    }
    ]
    }
    ])

    console.log(usage)

    Now, it returns the following output.


    Options

    -h Display this usage guide.
    -t ms Timeout value in ms.




  • 6.0.2 - 2019-07-05

    6.0.2




  • 6.0.1 - 2019-07-01

    6.0.1




  • 6.0.0 - 2019-06-30

    Breaking changes since v5.0.5

    • Support for node versions less than v8 removed.

    Bug fixes

    • typeLabel now indicates an array for lazyMultiple options. #22
    • typeLabel now defaults to a string. #23

    Other improvements

    • Upgraded dependency tree. Bundle size reduced by 33%.
    • Moved all the examples to the wiki
    • Increased test coverage.

    Upgrade notes

    There have been no changes to the public API of this module. If you are using node v8 or above, you can upgrade safely.

  • 6.0.0-2 - 2019-06-30

    6.0.0-2

  • 6.0.0-1 - 2019-06-27

    6.0.0-1

  • 6.0.0-0 - 2019-06-26

    6.0.0-0

  • 5.0.5 - 2018-05-06
  • 5.0.4 - 2018-03-25
  • 5.0.3 - 2018-03-14
  • 5.0.2 - 2018-03-09
  • 5.0.1 - 2018-03-09
  • 5.0.0 - 2018-03-09
  • 4.1.0 - 2018-01-17
from command-line-usage GitHub release notes
Commit messages
Package name: command-line-usage

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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