Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2026

Bumps @commander-js/extra-typings from 12.1.0 to 14.0.0.

Release notes

Sourced from @​commander-js/extra-typings's releases.

v14.0.0

Added

  • support for groups of options and commands in the help using low-level .helpGroup() on Option and Command, and higher-level .optionsGroup() and .commandsGroup() which can be used in chaining way to specify group title for following options/commands (#100)
  • TypeScript: add parseArg property to Argument class (#93)

Changed

  • Breaking: peer dependency on Commander 14.0.x which requires Node.js 20 or higher
  • internal refactor of Help class adding .formatItemList() and .groupItems() methods (#93)

v13.1.0

Changed

  • peer dependency on Commander 13.1.x
  • update dependencies

v13.0.0

Added

  • strongly type .optsWithGlobals() to include inferred globals (#78)
  • weakly type .getOptionValueSourceWithGlobals() to include inferred globals (#78)
  • infer narrow types for choices, so no longer need to specify as const (#79)

Changed

  • Breaking: Typescript 5.0 or higher is required (#79)

v13.0.0-1

Added

  • strongly type .optsWithGlobals() to include inferred globals (#78)
  • weakly type .getOptionValueSourceWithGlobals() to include inferred globals (#78)
  • infer narrow types for choices, so no longer need to specify as const (#79)

Changed

  • Breaking: Typescript 5.0 or higher is required (#79)
Changelog

Sourced from @​commander-js/extra-typings's changelog.

[14.0.0] (2025-05-18)

Added

  • support for groups of options and commands in the help using low-level .helpGroup() on Option and Command, and higher-level .optionsGroup() and .commandsGroup() which can be used in chaining way to specify group title for following options/commands (#100)
  • TypeScript: add parseArg property to Argument class (#93)

Changed

  • Breaking: peer dependency on Commander 14.0.x which requires Node.js 20 or higher
  • internal refactor of Help class adding .formatItemList() and .groupItems() methods (#93)

[13.1.0] (2025-01-25)

Changed

  • peer dependency on Commander 13.1.x
  • update dependencies

[13.0.0] (2024-12-31)

Added

  • strongly type .optsWithGlobals() to include inferred globals (#78)
  • weakly type .getOptionValueSourceWithGlobals() to include inferred globals (#78)
  • infer narrow types for choices, so no longer need to specify as const (#79)

Changed

  • Breaking: Typescript 5.0 or higher is required (#79)

[13.0.0-1] (2024-12-08)

(Released in 13.0.0)

13.0.0-0 (2024-12-08) [YANKED]

Published from wrong branch.

Commits
  • dc825b1 Update peer dependency to Commander 14.0.0
  • 9adf096 Prepare for 14.0.0 (#101)
  • 510ef18 Add typings for helpGroup support (#100)
  • 5a69d92 Configure target branch for dependabot and add npm ecosystem (#99)
  • 2c2e904 Export types used in exported methods for easier overriding (#98)
  • 4ee5441 Bump actions/setup-node from 3 to 4 (#97)
  • 7215a4f Bump actions/checkout from 3 to 4 (#96)
  • be7d95f Merge branch 'main' into develop
  • bb9c783 ci: Update node-version (#94)
  • 0dd406c Monitor 'GitHub Actions' with Dependabot (#95)
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Greptile Summary

This PR updates @commander-js/extra-typings from 12.1.0 to 14.0.0, bringing new features like help grouping support and improved TypeScript typing. The update includes breaking changes:

  • Requires Commander 14.0.x as peer dependency (currently v12.0.0 is specified)
  • Requires Node.js 20+ (project uses Bun which is compatible)
  • Requires TypeScript 5.0+ (project has TS 5.7.3 ✓)

The package is used in two CLI tools (cli/analyze-pipeline.ts and cli/data-sync.ts) via the Command import. The code usage is straightforward and doesn't use any deprecated APIs, so the upgrade should be smooth once the peer dependency is resolved.

Confidence Score: 3/5

  • This PR requires the commander package to be updated to v14.x to satisfy peer dependency requirements before merging
  • The dependency update is well-documented and the breaking changes are clearly outlined in the release notes. However, there's a peer dependency mismatch with the commander package (requires 14.x, currently using 12.x) that must be resolved. The TypeScript and runtime requirements are already satisfied. Once the commander package is updated, this should be safe to merge.
  • Check package.json to ensure commander is updated to v14.x to match the peer dependency requirement

Important Files Changed

Filename Overview
package.json Bumps @commander-js/extra-typings from 12.1.0 to 14.0.0 with peer dependency on Commander 14.0.x; requires verification of commander package compatibility

Sequence Diagram

sequenceDiagram
    participant PJ as package.json
    participant ET as @commander-js/extra-typings
    participant C as commander
    participant CLI1 as cli/analyze-pipeline.ts
    participant CLI2 as cli/data-sync.ts
    
    Note over PJ: Version Upgrade
    PJ->>ET: Bump 12.1.0 → 14.0.0
    ET->>C: Requires peer dependency 14.0.x
    PJ->>C: Currently specifies ^12.0.0
    
    Note over CLI1,CLI2: CLI Tools Usage
    CLI1->>ET: import { Command }
    CLI2->>ET: import { Command }
    CLI1->>C: No direct usage
    CLI2->>C: No direct usage
    
    Note over ET,C: Compatibility Check
    ET-->>C: Peer dependency mismatch risk
    C-->>PJ: May need upgrade to 14.x
Loading

Bumps [@commander-js/extra-typings](https://github.com/commander-js/extra-typings) from 12.1.0 to 14.0.0.
- [Release notes](https://github.com/commander-js/extra-typings/releases)
- [Changelog](https://github.com/commander-js/extra-typings/blob/main/CHANGELOG.md)
- [Commits](commander-js/extra-typings@v12.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: "@commander-js/extra-typings"
  dependency-version: 14.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 19, 2026
@coderabbitai
Copy link

coderabbitai bot commented Jan 19, 2026

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Comments (1)

  1. package.json, line 51 (link)

    logic: The @commander-js/extra-typings v14.0.0 has a peer dependency on Commander 14.0.x, but this project specifies commander ^12.0.0. Update to 14.x to match the peer dependency requirement.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

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.

1 participant