Skip to content

build(deps-dev): bump @commitlint/cli from 20.5.3 to 21.0.2#208

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/commitlint/cli-21.0.2
Open

build(deps-dev): bump @commitlint/cli from 20.5.3 to 21.0.2#208
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/commitlint/cli-21.0.2

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps @commitlint/cli from 20.5.3 to 21.0.2.

Release notes

Sourced from @​commitlint/cli's releases.

v21.0.2

21.0.2 (2026-05-29)

Bug Fixes

Chore/CI

New Contributors

Full Changelog: conventional-changelog/commitlint@v21.0.1...v21.0.2

v21.0.1

21.0.1 (2026-05-12)

Bug Fixes

CI

New Contributors

Full Changelog: conventional-changelog/commitlint@v21.0.0...v21.0.1

v21.0.0

Heads-up: --legacy-output is a transitional escape hatch. It will be removed in a future major release. Plan to migrate your parsers / snapshots to the new format during the v21 lifecycle.

... (truncated)

Changelog

Sourced from @​commitlint/cli's changelog.

21.0.2 (2026-05-29)

Bug Fixes

  • disallow same commit hash for --from and --to (#4773) (121005e)

21.0.1 (2026-05-12)

Note: Version bump only for package @​commitlint/cli

21.0.0 (2026-05-08)

BREAKING CHANGES

  • drop node v18 and v20 support
  • Bump engines to >=v22 in all 39 package.json files
  • Update @​types/node to ^22.0.0
  • Update CI matrix to [22, 24]
  • Update Ubuntu baseline job to ubuntu:26.04
  • Update Dockerfile.ci, .mise.toml, .codesandbox/ci.json
  • Update pre-commit hook to use --ignore-engines
  • Update README and docs

Co-authored-by: Claude Opus 4.6 (1M context) noreply@anthropic.com

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@dependabot dependabot Bot requested a review from a team as a code owner June 4, 2026 02:36
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
@greptile-apps

greptile-apps Bot commented Jun 4, 2026

Copy link
Copy Markdown

Greptile Summary

This dependabot PR upgrades @commitlint/cli from v20.5.3 to v21.0.2. The new major version drops Node.js < 22 support and upgrades several internal dependencies (yargs v17→v18, @commitlint/types v21), which is compatible with the project's own engines constraint of >=24.0.0.

  • package.json: @commitlint/cli range bumped to ^21.0.2; @commitlint/config-conventional remains at ^20.5.3, creating a cross-major mismatch already noted in a prior review thread.
  • package-lock.json: Updated to resolve @commitlint/cli@21.0.2 along with its updated transitive dependencies (yargs@18, cliui@9, babel helpers, etc.).

Confidence Score: 4/5

The upgrade itself is mechanically sound and Node.js version requirements are fully compatible, but the companion @commitlint/config-conventional package has not been co-bumped to v21, leaving the CLI and its preset at different major versions.

@commitlint/cli is now at v21 while @commitlint/config-conventional remains at ^20.5.3. These packages are published in lock-step from the same monorepo, and the CLI's internal @commitlint/load uses the v21 API to load the preset. A cross-major mismatch here can cause type incompatibilities or runtime failures when commitlint resolves the config-conventional preset through its v21 loader.

package.json — @commitlint/config-conventional should be bumped to ^21.0.x alongside the CLI upgrade

Important Files Changed

Filename Overview
package.json Bumps @commitlint/cli to ^21.0.2 while @commitlint/config-conventional stays at ^20.5.3 — a cross-major mismatch for packages that are published in lock-step
package-lock.json Lock file correctly resolves @commitlint/cli@21.0.2 and its updated transitive deps (yargs@18, cliui@9, babel@7.29.x); no unexpected resolutions

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    CLI["@commitlint/cli@21.0.2\n(this PR)"]
    CFG["@commitlint/config-conventional@^20.5.3\n(unchanged)"]
    LOAD["@commitlint/load@^21.0.2"]
    LINT["@commitlint/lint@^21.0.2"]
    FMT["@commitlint/format@^21.0.1"]
    READ["@commitlint/read@^21.0.2"]
    TYPES["@commitlint/types@^21.0.1"]
    YARGS["yargs@18"]

    CLI --> LOAD
    CLI --> LINT
    CLI --> FMT
    CLI --> READ
    CLI --> TYPES
    CLI --> YARGS
    LOAD -->|extends| CFG
    CFG -.->|v20 major mismatch| LOAD

    style CFG fill:#ffcc00,stroke:#ff8800
    style CLI fill:#90ee90,stroke:#228b22
Loading

Reviews (5): Last reviewed commit: "build(deps-dev): bump @commitlint/cli fr..." | Re-trigger Greptile

Comment thread package.json
"devDependencies": {
"@commitlint/cli": "^20.5.3",
"@commitlint/cli": "^21.0.2",
"@commitlint/config-conventional": "^20.5.3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Major version mismatch: @commitlint/config-conventional not co-bumped

@commitlint/cli was updated to v21 while @commitlint/config-conventional remains at ^20.5.3. Commitlint publishes all its packages in lock-step from a single monorepo, so mixing major versions can cause type mismatches or unexpected runtime behavior when the CLI attempts to load the v20 config preset through its v21 internal loader (@commitlint/load). A companion PR or manual bump of @commitlint/config-conventional to ^21.0.x should be included.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/commitlint/cli-21.0.2 branch 3 times, most recently from 4ea5ff8 to ec8f464 Compare June 4, 2026 02:47
Bumps [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) from 20.5.3 to 21.0.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/cli/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v21.0.2/@commitlint/cli)

---
updated-dependencies:
- dependency-name: "@commitlint/cli"
  dependency-version: 21.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/commitlint/cli-21.0.2 branch from ec8f464 to 8fbbad3 Compare June 10, 2026 17:39
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.

0 participants