victory-voronoi
Advanced tools
Comparing version 35.5.1 to 35.6.0
@@ -43,3 +43,2 @@ import _isNil from "lodash/isNil"; | ||
var style = Helpers.getStyles(props.style, defaultStyles); | ||
var data = Data.getData(props); | ||
var range = { | ||
@@ -57,2 +56,4 @@ x: Helpers.getRange(props, "x"), | ||
}; | ||
var data = Data.getData(props); | ||
data = Data.formatDataFromDomain(data, domain); | ||
var voronoi = getVoronoi(props, range, scale); | ||
@@ -59,0 +60,0 @@ var polygons = voronoi.polygons(data); |
@@ -57,4 +57,2 @@ "use strict"; | ||
var data = _victoryCore.Data.getData(props); | ||
var range = { | ||
@@ -72,2 +70,6 @@ x: _victoryCore.Helpers.getRange(props, "x"), | ||
}; | ||
var data = _victoryCore.Data.getData(props); | ||
data = _victoryCore.Data.formatDataFromDomain(data, domain); | ||
var voronoi = getVoronoi(props, range, scale); | ||
@@ -74,0 +76,0 @@ var polygons = voronoi.polygons(data); |
{ | ||
"name": "victory-voronoi", | ||
"version": "35.5.1", | ||
"version": "35.6.0", | ||
"description": "Voronoi Component for Victory", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"prop-types": "^15.5.8", | ||
"victory-core": "^35.5.1" | ||
"victory-core": "^35.6.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
@@ -34,3 +34,2 @@ import { assign, without, isNil } from "lodash"; | ||
const style = Helpers.getStyles(props.style, defaultStyles); | ||
const data = Data.getData(props); | ||
const range = { | ||
@@ -52,2 +51,6 @@ x: Helpers.getRange(props, "x"), | ||
}; | ||
let data = Data.getData(props); | ||
data = Data.formatDataFromDomain(data, domain); | ||
const voronoi = getVoronoi(props, range, scale); | ||
@@ -54,0 +57,0 @@ const polygons = voronoi.polygons(data); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
1397708
24460
Updatedvictory-core@^35.6.0