Skip to content

build(deps-dev): update dependency conventional-commits-parser to v7.1.3 - #268

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/conventional-commits-parser-7.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/conventional-commits-parser-7.x

Conversation

@renovate

@renovate renovate Bot commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
conventional-commits-parser (source) 7.1.2 → 7.1.3 age confidence

Release Notes

conventional-changelog/conventional-changelog (conventional-commits-parser)

v7.1.3

Compare Source

Bug Fixes

Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the Type: Dependencies Dependency issues or Changes to dependency files label Oct 8, 2026

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

conventional-commits-parser 7.1.2 -> 7.1.3 のパッチ更新(devDependencies)です。中身はバグ修正2件のみで、破壊的変更やセキュリティ上の懸念はありません。commit-msgフックの参照判定は、意図した方向に厳密化されます。詳細はインラインコメントを参照してください。マージして問題ありません。

Review metadata

Comment thread package.json
"@types/mdast": "4.0.4",
"@types/node": "22.20.4",
"conventional-commits-parser": "7.1.2",
"conventional-commits-parser": "7.1.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.

Note

📦 Dependency

conventional-commits-parser 7.1.2 -> 7.1.3 のパッチ更新です(devDependencies)。リリースノート(https://github.com/conventional-changelog/conventional-changelog/releases/tag/conventional-commits-parser-v7.1.3)に載っているのはバグ修正2件のみで、破壊的変更、セキュリティ修正、APIの追加・削除はありません。

  1. fix(conventional-commits-parser): match reference actions as whole words conventional-changelog/conventional-changelog#1557 : reference actionを単語全体でマッチするよう修正。修正前は add prefix #12 support の prefix に含まれる fix がactionとして扱われていました。
  2. fix(conventional-commits-parser): parse reference actions of footers followed by a colon conventional-changelog/conventional-changelog#1558 : Closes: #123 のようにコロン区切りのfooterでもactionを解釈するよう修正。修正前はactionがnullになっていました。

@commitlint側は ^7.0.0 を要求しており、lockfile上ではこのパッケージが1つだけhoistされています。そのため実際のcommit-msgフックで使われるパーサも7.1.3になり、src/@commitlint/config.ts の referenceActions と自作ルール references-action-enum の判定結果が変わります。

  • 誤検出が減ります。prefix #12 のような語が fix のactionとして拒否されなくなります。
  • 判定が厳しくなります。Fixes: #1 のようなコロン形式のfooterは、これまでactionがnullだったためすり抜けていました。今後はactionとして抽出され、close/ref 以外は拒否されます。

どちらもこのリポジトリのキーワード設計の意図に沿った変更です。直近のコミットにはコロン形式の参照footerがないため、既存運用への実害はないと見込みます。テストでは参照を手で組み立てているので、テストへの影響もありません。

補足として、コロン形式のfooterを拒否する挙動を回帰テストで固定したい場合は、Refs: #1 等を実パーサ経由で検証するケースを追加するとよいでしょう。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Dependencies Dependency issues or Changes to dependency files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants