victory-chart
Advanced tools
Comparing version 35.9.3 to 35.10.0
@@ -41,3 +41,3 @@ import _assign from "lodash/assign"; | ||
function getBackgroundWithProps(props, calculatedProps) { | ||
export function getBackgroundWithProps(props, calculatedProps) { | ||
var backgroundElement = props.backgroundComponent; | ||
@@ -98,3 +98,3 @@ var height = props.polar ? calculatedProps.range.y[1] : calculatedProps.range.y[0] - calculatedProps.range.y[1]; | ||
function getCalculatedProps(props, childComponents) { | ||
export function getCalculatedProps(props, childComponents) { | ||
var style = getStyles(props); | ||
@@ -142,4 +142,3 @@ props = Helpers.modifyProps(props, fallbackProps, "chart"); | ||
} | ||
function getChildren(props, childComponents, calculatedProps) { | ||
export function getChildren(props, childComponents, calculatedProps) { | ||
childComponents = childComponents || getChildComponents(props); | ||
@@ -181,4 +180,3 @@ calculatedProps = calculatedProps || getCalculatedProps(props, childComponents); | ||
} | ||
var getChildComponents = function (props, defaultAxes) { | ||
export var getChildComponents = function (props, defaultAxes) { | ||
var childComponents = React.Children.toArray(props.children); | ||
@@ -225,4 +223,2 @@ | ||
}; | ||
}; | ||
export { getBackgroundWithProps, getChildren, getCalculatedProps, getChildComponents }; | ||
}; |
@@ -7,4 +7,4 @@ "use strict"; | ||
exports.getBackgroundWithProps = getBackgroundWithProps; | ||
exports.getCalculatedProps = getCalculatedProps; | ||
exports.getChildren = getChildren; | ||
exports.getCalculatedProps = getCalculatedProps; | ||
exports.getChildComponents = void 0; | ||
@@ -11,0 +11,0 @@ |
{ | ||
"name": "victory-chart", | ||
"version": "35.9.3", | ||
"version": "35.10.0", | ||
"description": "Chart Component for Victory", | ||
@@ -25,7 +25,10 @@ "keywords": [ | ||
"react-fast-compare": "^2.0.0", | ||
"victory-axis": "^35.9.3", | ||
"victory-core": "^35.9.3", | ||
"victory-polar-axis": "^35.9.3", | ||
"victory-shared-events": "^35.9.3" | ||
"victory-axis": "^35.10.0", | ||
"victory-core": "^35.10.0", | ||
"victory-polar-axis": "^35.10.0", | ||
"victory-shared-events": "^35.10.0" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.6.0 || ^17.0.0" | ||
}, | ||
"scripts": { | ||
@@ -32,0 +35,0 @@ "version": "nps build-libs && nps build-dists" |
@@ -28,3 +28,3 @@ /* eslint-disable func-style */ | ||
function getBackgroundWithProps(props, calculatedProps) { | ||
export function getBackgroundWithProps(props, calculatedProps) { | ||
const backgroundElement = props.backgroundComponent; | ||
@@ -87,3 +87,3 @@ | ||
function getCalculatedProps(props, childComponents) { | ||
export function getCalculatedProps(props, childComponents) { | ||
const style = getStyles(props); | ||
@@ -130,3 +130,3 @@ props = Helpers.modifyProps(props, fallbackProps, "chart"); | ||
function getChildren(props, childComponents, calculatedProps) { | ||
export function getChildren(props, childComponents, calculatedProps) { | ||
childComponents = childComponents || getChildComponents(props); | ||
@@ -167,3 +167,3 @@ calculatedProps = | ||
const getChildComponents = (props, defaultAxes) => { | ||
export const getChildComponents = (props, defaultAxes) => { | ||
const childComponents = React.Children.toArray(props.children); | ||
@@ -228,8 +228,1 @@ let newChildComponents = [...childComponents]; | ||
}; | ||
export { | ||
getBackgroundWithProps, | ||
getChildren, | ||
getCalculatedProps, | ||
getChildComponents | ||
}; |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
1298612
8
23051
8
4
Updatedvictory-axis@^35.10.0
Updatedvictory-core@^35.10.0
Updatedvictory-polar-axis@^35.10.0