gh-actions-stats
Advanced tools
Comparing version 0.0.0-rc.99b631c to 2.0.0
@@ -26,3 +26,2 @@ #!/usr/bin/env node | ||
for (const repo of repos) { | ||
spinner.text = `[${repo.name}] Loading runs ...`; | ||
const formatedDate = dayjs() | ||
@@ -32,2 +31,7 @@ .subtract(argv.days, "days") | ||
const created = argv.created || `>${formatedDate}+10:00`; | ||
spinner.text = `[${repo.name}] Loading runs ${colors.dim( | ||
`(${created})` | ||
)} ...`; | ||
const runs = await octokit.paginate( | ||
@@ -34,0 +38,0 @@ `GET /repos/{owner}/{repo}/actions/runs`, |
{ | ||
"name": "gh-actions-stats", | ||
"version": "0.0.0-rc.99b631c", | ||
"version": "2.0.0", | ||
"description": "Simple cli helper to get stats on your Github Action usage", | ||
@@ -10,4 +10,4 @@ "type": "module", | ||
"engines": { | ||
"node": ">=12.20" | ||
}, | ||
"node": ">=12.20" | ||
}, | ||
"keywords": [], | ||
@@ -22,4 +22,2 @@ "author": "Julian Burr <hello@julianburr.de>", | ||
"@octokit/rest": "^19.0.4", | ||
"@types/node": "^18.7.13", | ||
"@types/yargs": "^17.0.11", | ||
"cli-table": "^0.3.11", | ||
@@ -29,5 +27,4 @@ "colors": "^1.4.0", | ||
"ora": "^6.1.2", | ||
"typescript": "^4.7.4", | ||
"yargs": "^17.5.1" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6
136
1
1
6608
- Removed@types/node@^18.7.13
- Removed@types/yargs@^17.0.11
- Removedtypescript@^4.7.4
- Removed@types/node@18.19.76(transitive)
- Removed@types/yargs@17.0.33(transitive)
- Removed@types/yargs-parser@21.0.3(transitive)
- Removedtypescript@4.9.5(transitive)
- Removedundici-types@5.26.5(transitive)