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

Bump command-line-args from 4.0.7 to 5.2.1 #143

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2022

Bumps command-line-args from 4.0.7 to 5.2.1.

Release notes

Sourced from command-line-args's releases.

v5.2.0

New features since v5.1.3

v5.1.0

New features since v5.0.2

Library rewritten using ECMAScript Modules to facilitate use with rollup and --experimental-modules. Fixes 75lb/command-line-args#99. This is a non-functional change - the library API and functionality has not changed.

v5.0.0

Breaking changes from v4.0.7

  • Unknown values now throw an exception (UNKNOWN_VALUE) by default in the same way unknown options do. Command-line-args is now strict by default - all options and values must be accounted for in the option definitions.
    • An example of an unknown value is the arg 5 in the command --verbose 5 where verbose is defined as a Boolean.
    • "Strict by default" behaviour can be disabled using either partial or stopAtFIrstUnknown parse options.
  • Setting a singular, non-multiple option more than once (e.g. --help --help) now throws an ALREADY_SET exception.
  • The multiple error names (NAME_MISSING, INVALID_TYPE etc) thrown by commandLineArgs in the case of an invalid definition have been consolidated to just one error name: INVALID_DEFINITIONS. Given broken option definitions are a programmer error they'd never be handled anyway, making the various names pointless.

New documentation

Wiki introduced.

New parse features

  • stopAtFirstUnknown
  • camelCase
  • the UNKNOWN_OPTION exception now has a optionName property containing the arg that specified an unknown option, e.g. --one
  • the ALREADY_SET exception has a optionName property containing the option name that has already been set, e.g. one
  • the UNKNOWN_VALUE exception has a value property containing the unknown value, e.g. 5

New option definition features

Bug fixes

  • #67 unknown "--option=value notation" value consumed as defaultOption
  • #68 unknown --option=value arg split when defaultOption set

Upgrade notes

No API changes were introduced in v5.0.0 - it is backward-compatible. If you're comfortable with the new version throwing exceptions on unknown values, you are safe to upgrade without code change.

Commits
  • bfc3d9d 5.2.1
  • e14b9bb update CI, deps and dates
  • f68a854 Merge branch 'sblackstone-allow-default-option-false'
  • 62db1ea additional testing for duplicate defaultOptions
  • 8920ca5 Allow for defaultOption to be set to false
  • 78bc342 5.2.0
  • f6b9735 update docs
  • f7df343 revert to rollup v1.7.4 for Node.js v4 compatibility
  • cff71b1 upgrade rollup and jsdoc-to-markdown
  • 654bbba Node.js 4.x compatibility
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 31, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/command-line-args-5.2.1 branch from b95e86a to 4c8c1c7 Compare February 7, 2022 10:07
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/command-line-args-5.2.1 branch from 4c8c1c7 to 372692f Compare February 17, 2022 10:04
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/command-line-args-5.2.1 branch 3 times, most recently from dabacb7 to ce53238 Compare May 2, 2022 10:05
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/command-line-args-5.2.1 branch from ce53238 to fa9b65b Compare June 3, 2022 23:39
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/command-line-args-5.2.1 branch from fa9b65b to f3661e5 Compare October 10, 2022 10:07
Bumps [command-line-args](https://github.com/75lb/command-line-args) from 4.0.7 to 5.2.1.
- [Release notes](https://github.com/75lb/command-line-args/releases)
- [Commits](75lb/command-line-args@v4.0.7...v5.2.1)

---
updated-dependencies:
- dependency-name: command-line-args
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/command-line-args-5.2.1 branch from f3661e5 to de965c9 Compare November 8, 2022 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants