Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progfay/github-streaks

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progfay/github-streaks - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

dist/index.js

@@ -16,3 +16,3 @@ "use strict";

Min: statistics.min.toString(),
Median: statistics.median.toFixed(2),
Mean: statistics.mean.toFixed(2),
'Std dev': statistics.stddev.toFixed(2)

@@ -36,3 +36,3 @@ });

];
const table = convertToTable_1.convertToTable(rows, ['Category', ' From ~ To ', 'Day Count', 'Sum', 'Max', 'Min', 'Median', 'Std dev']);
const table = convertToTable_1.convertToTable(rows, ['Category', ' From ~ To ', 'Day Count', 'Sum', 'Max', 'Min', 'Mean', 'Std dev']);
console.log(table);

@@ -39,0 +39,0 @@ };

@@ -12,3 +12,3 @@ "use strict";

min: 0,
median: 0,
mean: 0,
stddev: 0

@@ -31,5 +31,5 @@ };

}
statistics.median = statistics.sum / statistics.days;
statistics.stddev = Math.sqrt((sumOfSquare / statistics.days) - statistics.median ** 2);
statistics.mean = statistics.sum / statistics.days;
statistics.stddev = Math.sqrt((sumOfSquare / statistics.days) - statistics.mean ** 2);
return statistics;
};

@@ -16,3 +16,3 @@ "use strict";

min: 0,
median: 0,
mean: 0,
stddev: 0

@@ -19,0 +19,0 @@ };

{
"name": "@progfay/github-streaks",
"version": "2.0.0",
"version": "2.0.1",
"description": "Check GitHub streaks from CLI",

@@ -5,0 +5,0 @@ "main": "src/index.ts",

@@ -16,3 +16,3 @@ import { range } from './lib/range'

'Min': string
'Median': string
'Mean': string
'Std dev': string

@@ -28,3 +28,3 @@ }

Min: statistics.min.toString(),
Median: statistics.median.toFixed(2),
Mean: statistics.mean.toFixed(2),
'Std dev': statistics.stddev.toFixed(2)

@@ -53,3 +53,3 @@ })

]
const table = convertToTable(rows, ['Category', ' From ~ To ', 'Day Count', 'Sum', 'Max', 'Min', 'Median', 'Std dev'])
const table = convertToTable(rows, ['Category', ' From ~ To ', 'Day Count', 'Sum', 'Max', 'Min', 'Mean', 'Std dev'])
console.log(table)

@@ -56,0 +56,0 @@ }

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