Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bump commander from 2.16.0 to 8.0.0#50

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

dependabot-preview[bot]
Copy link

Bumpscommander from 2.16.0 to 8.0.0.

Release notes

Sourced fromcommander's releases.

v8.0.0

Added

  • .argument(name, description) for adding command-arguments (#1490)
    • supports default value for optional command-arguments (#1508)
    • supports custom processing function (#1508)
  • .createArgument() factory method (#1497)
  • .addArgument() (#1490)
  • Argument supports.choices() (#1525)
  • .showHelpAfterError() to display full help or a custom message after an error (#1534)
  • .hook() with support for'preAction' and'postAction' callbacks (#1514)
  • client typing of.opts() return type using TypeScript generics (#1539)
  • the number of command-arguments is checked for programs without an action handler (#1502)
  • .getOptionValue() and.setOptionValue() (#1521)

Changed

  • refactor and simplify TypeScript declarations (with no default export) (#1520)
  • .parseAsync() is now declared asasync (#1513)
  • Breaking:Help method.visibleArguments() returns array ofArgument (#1490)
  • Breaking: Commander 8 requires Node.js 12 or higher (#1500)
  • Breaking:CommanderError codecommander.invalidOptionArgument renamedcommander.invalidArgument (#1508)
  • Breaking: TypeScript declaration for.addTextHelp() callback no longer allows result ofundefined, now juststring (#1516)
  • refactorindex.tab into a file per class (#1522)
  • remove help suggestion from "unknown command" error message (see.showHelpAfteError()) (#1534)
  • Command property.arg initialised to empty array (was previously undefined) (#1529)
  • update dependencies

Deprecated

  • second parameter ofcmd.description(desc, argDescriptions) for adding argument descriptions (#1490)
    • (use new.argument(name, description) instead)
  • InvalidOptionArgumentError (replaced byInvalidArgumentError) (#1508)

Removed

  • Breaking: TypeScript declaration for default export of globalCommand object (#1520)
    • (still available as namedprogram export)

Migration Tips

If you have a simple program without an action handler, you will now get an error ifthere are missing command-arguments.

program.option('-d, --debug').arguments('<file>');program.parse();

... (truncated)

Changelog

Sourced fromcommander's changelog.

[8.0.0] (2021-06-25)

Added

  • .argument(name, description) for adding command-arguments (#1490)
    • supports default value for optional command-arguments (#1508)
    • supports custom processing function (#1508)
  • .createArgument() factory method (#1497)
  • .addArgument() (#1490)
  • Argument supports.choices() (#1525)
  • .showHelpAfterError() to display full help or a custom message after an error (#1534)
  • .hook() with support for'preAction' and'postAction' callbacks (#1514)
  • client typing of.opts() return type using TypeScript generics (#1539)
  • the number of command-arguments is checked for programs without an action handler (#1502)
  • .getOptionValue() and.setOptionValue() (#1521)

Changed

  • refactor and simplify TypeScript declarations (with no default export) (#1520)
  • .parseAsync() is now declared asasync (#1513)
  • Breaking:Help method.visibleArguments() returns array ofArgument (#1490)
  • Breaking: Commander 8 requires Node.js 12 or higher (#1500)
  • Breaking:CommanderError codecommander.invalidOptionArgument renamedcommander.invalidArgument (#1508)
  • Breaking: TypeScript declaration for.addTextHelp() callback no longer allows result ofundefined, now juststring (#1516)
  • refactorindex.tab into a file per class (#1522)
  • remove help suggestion from "unknown command" error message (see.showHelpAfteError()) (#1534)
  • Command property.arg initialised to empty array (was previously undefined) (#1529)
  • update dependencies

Deprecated

  • second parameter ofcmd.description(desc, argDescriptions) for adding argument descriptions (#1490)
    • (use new.argument(name, description) instead)
  • InvalidOptionArgumentError (replaced byInvalidArgumentError) (#1508)

Removed

  • Breaking: TypeScript declaration for default export of globalCommand object (#1520)
    • (still available as namedprogram export)

Migration Tips

If you have a simple program without an action handler, you will now get an error ifthere are missing command-arguments.

program.option('-d, --debug').arguments('<file>');program.parse();</tr></table>

... (truncated)

Commits

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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabotdashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [commander](https://github.com/tj/commander.js) from 2.16.0 to 8.0.0.- [Release notes](https://github.com/tj/commander.js/releases)- [Changelog](https://github.com/tj/commander.js/blob/master/CHANGELOG.md)- [Commits](tj/commander.js@v2.16.0...v8.0.0)Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-previewdependabot-previewbot added the dependenciesPull requests that update a dependency file labelJun 25, 2021
@dependabot-preview
Copy link
Author

Superseded by#52.

@dependabot-previewdependabot-previewbot deleted the dependabot/npm_and_yarn/commander-8.0.0 branchJuly 27, 2021 20:20
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
dependenciesPull requests that update a dependency file
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

0 participants

[8]ページ先頭

©2009-2025 Movatter.jp