Socket
Socket
Sign inDemoInstall

tdigest

Package Overview
Dependencies
1
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.1 to 0.1.2

4

package.json
{
"name": "tdigest",
"version": "0.1.1",
"version": "0.1.2",
"description": "javascript implementation of Dunning's T-Digest for streaming quantile approximation",

@@ -27,3 +27,3 @@ "main": "tdigest.js",

"dependencies": {
"bintrees": "1.0.1"
"bintrees": "1.0.2"
},

@@ -30,0 +30,0 @@ "devDependencies": {

@@ -20,2 +20,6 @@ tdigest

**changes in 0.1.2:**
Updated the bintree dependency to 1.0.2 to pick up its licencing declaration
**changes in 0.1.1:**

@@ -22,0 +26,0 @@

@@ -116,3 +116,2 @@ //

var cumn = 0;
var self = this;
this.centroids.each(function(c) {

@@ -299,4 +298,2 @@ c.mean_cumn = cumn + c.n / 2; // half of n at the mean

this._cumulate(true); // be sure cumns are exact
var min = this.centroids.min();
var max = this.centroids.max();
var h = this.n * p;

@@ -303,0 +300,0 @@ var bound = this.bound_mean_cumn(h);

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc