Comparing version 0.0.178 to 0.0.179
@@ -6,4 +6,7 @@ "use strict"; | ||
}); | ||
exports.default = computeStats; | ||
exports.default = function (numericalArray) { | ||
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
function computeStats(numericalArray) { | ||
var points = [].concat(_toConsumableArray(numericalArray)).sort(function (a, b) { | ||
@@ -62,4 +65,2 @@ return a - b; | ||
}; | ||
}; | ||
function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } | ||
} |
@@ -412,3 +412,3 @@ import React from 'react'; | ||
function computeStats (numericalArray) { | ||
function computeStats(numericalArray) { | ||
var points = [].concat(toConsumableArray(numericalArray)).sort(function (a, b) { | ||
@@ -415,0 +415,0 @@ return a - b; |
{ | ||
"name": "@vx/stats", | ||
"version": "0.0.178", | ||
"version": "0.0.179", | ||
"description": "vx stats box violin", | ||
@@ -38,3 +38,3 @@ "sideEffects": false, | ||
"@vx/group": "0.0.170", | ||
"@vx/scale": "0.0.178", | ||
"@vx/scale": "0.0.179", | ||
"classnames": "^2.2.5", | ||
@@ -41,0 +41,0 @@ "d3-shape": "^1.2.0" |
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
41801
879
+ Added@vx/scale@0.0.179(transitive)
- Removed@vx/scale@0.0.178(transitive)
Updated@vx/scale@0.0.179