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 5.0.5 to 7.0.1 #116

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

Conversation

Exnadella
Copy link
Owner

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 5.0.5 to 7.0.1.

ℹ️ 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 13 versions ahead of your current version.
  • The recommended version was released a year ago, on 2023-03-06.
Release notes
Package name: command-line-usage
  • 7.0.1 - 2023-03-06

    7.0.1

  • 7.0.0 - 2023-03-05

    This release freshens up the codebase and dependency tree. There are no functional changes to the API or behaviour.

    Breaking changes since v6.1.3

    • Dropped support for node versions less than v12.20.

    Non-breaking changes

    • Updated chalk so command-line-usage now works in deno. Fixes #40.

    Non-functional changes

    • Updated codebase (including all examples) from CommonJS to ES Modules. A CJS build is included for backwards compatibility.
    • Added an example showing how to use table-layout in a content section, also updated the wiki docs
  • 7.0.0-beta.0 - 2023-02-14

    7.0.0-beta.0

  • 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-1 - 2019-06-27
  • 6.0.0-0 - 2019-06-26
  • 5.0.5 - 2018-05-06
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.

2 participants