Skip to content

Bump commander from 12.1.0 to 15.0.0 and add CLI flag compatibility tests#143

Open
dependabot[bot] wants to merge 4 commits into
masterfrom
dependabot/npm_and_yarn/commander-15.0.0
Open

Bump commander from 12.1.0 to 15.0.0 and add CLI flag compatibility tests#143
dependabot[bot] wants to merge 4 commits into
masterfrom
dependabot/npm_and_yarn/commander-15.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps commander from 12.1.0 to 15.0.0.

Also adds automated CLI compatibility coverage to ensure existing flags continue to parse as expected with commander 15:

  • Added src/flags.test.ts to validate help output and parsing for all defined flags (--endpoint/-e, --color/-c, --title/-T, --text/-x)
  • Updated scripts so npm test runs the new flag compatibility test suite via test:flags

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.


Bumps [commander](https://github.com/tj/commander.js) from 12.1.0 to 15.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@v12.1.0...v15.0.0)

---
updated-dependencies:
- dependency-name: commander
  dependency-version: 15.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jun 2, 2026
@donatj

donatj commented Jun 3, 2026

Copy link
Copy Markdown
Member

@copilot can you do some testing ensure that all our flags as defined continue to parse in commander 15 as they do in 12? You will probably want to lift them into a test script to test.

I have had trouble with this package breaking in the past so I am hesitant to upgrade.

Copilot AI commented Jun 3, 2026

Copy link
Copy Markdown

@copilot can you do some testing ensure that all our flags as defined continue to parse in commander 15 as they do in 12? You will probably want to lift them into a test script to test.

I have had ...

Implemented in commits 26a66a4, ea4f2a6, and 8740555. I added src/flags.test.ts to exercise the CLI’s defined flags (--endpoint/-e, --color/-c, --title/-T, --text/-x) and verify both help output and long/short flag parsing behavior with commander 15. npm test now runs this compatibility test (npm run test:flags), and it passes.

Copilot AI changed the title Bump commander from 12.1.0 to 15.0.0 Bump commander from 12.1.0 to 15.0.0 and add CLI flag compatibility tests Jun 3, 2026
Copilot finished work on behalf of donatj June 3, 2026 11:31
Copilot AI requested a review from donatj June 3, 2026 11:31
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants