[Snyk] Upgrade command-line-usage from 5.0.5 to 7.0.1 #105
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Release notes
Package name: command-line-usage
7.0.1
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
Non-breaking changes
Non-functional changes
7.0.0-beta.0
6.1.3
6.1.2
6.1.1
New feature since v6.0.2
In the list of option definitions passed to an
optionList
, thename
property is no longer mandatory. Previously, the following example would have thrown validation errors due to the lack ofname
properties.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
Bug fixes
lazyMultiple
options. #22string
. #23Other improvements
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.
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