Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

[Snyk] Upgrade command-line-usage from 6.1.0 to 6.1.3 #76

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

Conversation

rdower
Copy link
Contributor

@rdower rdower commented Aug 25, 2022

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 6.1.0 to 6.1.3.

merge advice
ℹ️ 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.


  • The recommended version is 3 versions ahead of your current version.
  • The recommended version was released 4 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.




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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants