Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ng-dev/commit-message/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import gitCommits from 'git-raw-commits';

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

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

// Accumulate the parsed commits for each commit from the Readable stream into an array, then
// resolve the promise with the array when the Readable stream ends.
Expand Down
5 changes: 3 additions & 2 deletions ng-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/ejs": "3.1.5",
"@types/events": "3.0.3",
"@types/folder-hash": "4.0.4",
"@types/git-raw-commits": "2.0.4",
"@types/git-raw-commits": "5.0.0",
"@types/jasmine": "5.1.9",
"@types/minimatch": "6.0.0",
"@types/node": "24.3.0",
Expand All @@ -49,13 +49,14 @@
"bufferutil": "4.0.9",
"chalk": "5.6.0",
"cli-progress": "3.12.0",
"conventional-commits-filter": "5.0.0",
"conventional-commits-parser": "5.0.0",
"ejs": "3.1.10",
"encoding": "0.1.13",
"fast-glob": "3.3.3",
"firebase": "12.1.0",
"folder-hash": "4.1.1",
"git-raw-commits": "4.0.0",
"git-raw-commits": "5.0.0",
"jasmine-core": "5.9.0",
"jasmine-reporters": "2.5.2",
"jasmine": "5.9.0",
Expand Down
71 changes: 51 additions & 20 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.