victory-pie
Advanced tools
Comparing version
@@ -27,3 +27,3 @@ import _assign from "lodash/assign"; | ||
var endAngle = Helpers.degreesToRadians(props.sliceEndAngle); | ||
var pathFunction = d3Shape.arc().cornerRadius(cornerRadius).outerRadius(radius).innerRadius(innerRadius); | ||
var pathFunction = d3Shape.arc().cornerRadius(cornerRadius).outerRadius(radius).innerRadius(innerRadius || 0); | ||
return pathFunction(_defaults({ | ||
@@ -30,0 +30,0 @@ startAngle: startAngle, |
@@ -46,3 +46,3 @@ "use strict"; | ||
var pathFunction = d3Shape.arc().cornerRadius(cornerRadius).outerRadius(radius).innerRadius(innerRadius); | ||
var pathFunction = d3Shape.arc().cornerRadius(cornerRadius).outerRadius(radius).innerRadius(innerRadius || 0); | ||
return pathFunction((0, _defaults2.default)({ | ||
@@ -49,0 +49,0 @@ startAngle: startAngle, |
{ | ||
"name": "victory-pie", | ||
"version": "34.3.8", | ||
"version": "34.3.12", | ||
"description": "Pie Component for Victory", | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"prop-types": "^15.5.8", | ||
"victory-core": "^34.3.8" | ||
"victory-core": "^34.3.12" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
@@ -19,3 +19,3 @@ import React from "react"; | ||
.outerRadius(radius) | ||
.innerRadius(innerRadius); | ||
.innerRadius(innerRadius || 0); | ||
return pathFunction(defaults({ startAngle, endAngle, padAngle }, slice)); | ||
@@ -22,0 +22,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
1450007
-2.39%9415
-2.23%Updated