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

statistics

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

statistics - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

18

index.js

@@ -9,6 +9,7 @@ module.exports = function reduce (acc, value) {

mean: value,
stdev: 0,
count: 1,
sum: value,
sqsum: value*value,
count: 1,
stdev: 0
sqsum: value*value
}

@@ -35,8 +36,5 @@

module.exports.initial = {
mean: 0, stdev: 0,
count: 0, sum: 0, sqsum: 0
}
{
"name": "statistics",
"version": "3.0.0",
"version": "3.1.0",
"description": "calculate mean standard deviation in one pass",

@@ -5,0 +5,0 @@ "homepage": "http://github.com/dominictarr/statistics",

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