New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gh-actions-stats

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gh-actions-stats - npm Package Compare versions

Comparing version 0.0.0-rc.99b631c to 2.0.0

6

index.js

@@ -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`,

9

package.json
{
"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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc