Skip to content

Commit 7b1e851

Browse files
angular-robotjosephperrott
authored andcommitted
build: update dependency git-raw-commits to v5
See associated pull request for more information. Closes #2995 as a pr takeover
1 parent 1ed2eb0 commit 7b1e851

File tree

3 files changed

+56
-24
lines changed

3 files changed

+56
-24
lines changed

ng-dev/commit-message/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
import gitCommits from 'git-raw-commits';
98

9+
import {getRawCommitsStream} from 'git-raw-commits';
1010
import {CommitFromGitLog, gitLogFormatForParsing, parseCommitFromGitLog} from './parse.js';
1111

1212
/**
@@ -17,7 +17,7 @@ export function getCommitsInRange(from: string, to: string = 'HEAD'): Promise<Co
1717
/** List of parsed commit objects. */
1818
const commits: CommitFromGitLog[] = [];
1919
/** Stream of raw git commit strings in the range provided. */
20-
const commitStream = gitCommits({from, to, format: gitLogFormatForParsing});
20+
const commitStream = getRawCommitsStream({from, to, format: gitLogFormatForParsing});
2121

2222
// Accumulate the parsed commits for each commit from the Readable stream into an array, then
2323
// resolve the promise with the array when the Readable stream ends.

ng-dev/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"@types/ejs": "3.1.5",
3737
"@types/events": "3.0.3",
3838
"@types/folder-hash": "4.0.4",
39-
"@types/git-raw-commits": "2.0.4",
39+
"@types/git-raw-commits": "5.0.0",
4040
"@types/jasmine": "5.1.9",
4141
"@types/minimatch": "6.0.0",
4242
"@types/node": "24.3.0",
@@ -49,13 +49,14 @@
4949
"bufferutil": "4.0.9",
5050
"chalk": "5.6.0",
5151
"cli-progress": "3.12.0",
52+
"conventional-commits-filter": "5.0.0",
5253
"conventional-commits-parser": "5.0.0",
5354
"ejs": "3.1.10",
5455
"encoding": "0.1.13",
5556
"fast-glob": "3.3.3",
5657
"firebase": "12.1.0",
5758
"folder-hash": "4.1.1",
58-
"git-raw-commits": "4.0.0",
59+
"git-raw-commits": "5.0.0",
5960
"jasmine-core": "5.9.0",
6061
"jasmine-reporters": "2.5.2",
6162
"jasmine": "5.9.0",

pnpm-lock.yaml

Lines changed: 51 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)