Repository navigation
build(deps-dev): update dependency conventional-commits-parser to v7.1.3 - #268
renovate[bot] wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
conventional-commits-parser 7.1.2 -> 7.1.3 のパッチ更新(devDependencies)です。中身はバグ修正2件のみで、破壊的変更やセキュリティ上の懸念はありません。commit-msgフックの参照判定は、意図した方向に厳密化されます。詳細はインラインコメントを参照してください。マージして問題ありません。
Review metadata
- Reviewed commit: cafc884f107d5d70e02311c1d757f17a18276ee6
- PR: #268
- kyosei: 3.6.0
- kyosei-action: 2.4.1
- Claude Code: 2.1.283
- Model: claude-opus-5-5
- Execution: GitHub Actions (run)
| "@types/mdast": "4.0.4", | ||
| "@types/node": "22.20.4", | ||
| "conventional-commits-parser": "7.1.2", | ||
| "conventional-commits-parser": "7.1.3", |
There was a problem hiding this comment.
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の追加・削除はありません。
- fix(conventional-commits-parser): match reference actions as whole words conventional-changelog/conventional-changelog#1557 : reference actionを単語全体でマッチするよう修正。修正前は
add prefix #12 supportのprefixに含まれるfixがactionとして扱われていました。 - 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 等を実パーサ経由で検証するケースを追加するとよいでしょう。
This PR contains the following updates:
7.1.2→7.1.3Release Notes
conventional-changelog/conventional-changelog (conventional-commits-parser)
v7.1.3Compare Source
Bug Fixes
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.