github-portfolio-analyzer 1.4.2 → 1.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/analyzer.manifest.json +1 -1
- package/package.json +1 -1
- package/src/github/repos.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.4.3] - 2026-04-04
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- `classifyFork`: removed unused `asOfDate` parameter from signature and all call sites.
|
|
12
|
+
The parameter was added for a date-based heuristic removed in v1.4.1 and was never
|
|
13
|
+
read inside the function body.
|
|
14
|
+
|
|
7
15
|
## [1.4.2] - 2026-04-03
|
|
8
16
|
|
|
9
17
|
### Fixed
|
package/analyzer.manifest.json
CHANGED
package/package.json
CHANGED
package/src/github/repos.js
CHANGED
|
@@ -4,7 +4,7 @@ const PAGE_SIZE = 100;
|
|
|
4
4
|
* Classifies a fork as active or passive.
|
|
5
5
|
* Active forks are ahead of the upstream default branch.
|
|
6
6
|
*/
|
|
7
|
-
export async function classifyFork(client, repo
|
|
7
|
+
export async function classifyFork(client, repo) {
|
|
8
8
|
if (!repo?.fork) {
|
|
9
9
|
return null;
|
|
10
10
|
}
|
|
@@ -68,7 +68,7 @@ export async function fetchAllRepositories(client, asOfDate = new Date().toISOSt
|
|
|
68
68
|
const batch = forks.slice(index, index + 5);
|
|
69
69
|
await Promise.all(
|
|
70
70
|
batch.map(async (repository) => {
|
|
71
|
-
repository.forkType = await classifyFork(client, repository
|
|
71
|
+
repository.forkType = await classifyFork(client, repository);
|
|
72
72
|
})
|
|
73
73
|
);
|
|
74
74
|
}
|