@artemis-prime/distance-sorter
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -84,2 +84,5 @@ 'use strict' | ||
} | ||
else { | ||
n = Math.min(n, parallelArrays.usableSet.length); | ||
} | ||
for (let i = 0; i < n; i++) { | ||
@@ -86,0 +89,0 @@ let each = indecesByDistance[i] |
{ | ||
"name": "@artemis-prime/distance-sorter", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Sorts an array of objects that have location data by distance from a point.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7744
7
253