You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

point-cluster

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

point-cluster - npm Package Compare versions

Comparing version

to
3.1.3

readme.md

4

package.json
{
"name": "point-cluster",
"version": "3.1.2",
"version": "3.1.3",
"description": "Fast nd point clustering.",

@@ -12,3 +12,3 @@ "main": "index.js",

"type": "git",
"url": "git://github.com/dfcreative/point-cluster.git"
"url": "git://github.com/dy/point-cluster.git"
},

@@ -15,0 +15,0 @@ "keywords": [

@@ -198,3 +198,3 @@ /**

maxLevel = Math.min(
maxLevel = Math.max(
Math.ceil(-log2(Math.abs(d[0]) / (bounds[2] - bounds[0]))),

@@ -201,0 +201,0 @@ Math.ceil(-log2(Math.abs(d[1]) / (bounds[3] - bounds[1]))),

@@ -7,3 +7,2 @@ 'use strict'

t('quad: offsets case', t => {

@@ -10,0 +9,0 @@ let points = [.15,.8, .2,.15, .6,.6, .6,.45, .8,.1, .9,.6, .91,.61]