victory-box-plot
Advanced tools
Comparing version 36.4.0 to 36.4.1
@@ -176,4 +176,4 @@ import _isNil from "lodash/isNil"; | ||
var children = this.renderBoxPlot(props); | ||
var container = /*#__PURE__*/React.cloneElement(props.containerComponent, UserProps.getSafeUserProps(props)); | ||
return props.standalone ? this.renderContainer(container, children) : children; | ||
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children; | ||
return UserProps.withSafeUserProps(component, props); | ||
} | ||
@@ -180,0 +180,0 @@ }]); |
@@ -188,6 +188,4 @@ "use strict"; | ||
var children = this.renderBoxPlot(props); | ||
var container = /*#__PURE__*/_react.default.cloneElement(props.containerComponent, _victoryCore.UserProps.getSafeUserProps(props)); | ||
return props.standalone ? this.renderContainer(container, children) : children; | ||
var component = props.standalone ? this.renderContainer(props.containerComponent, children) : children; | ||
return _victoryCore.UserProps.withSafeUserProps(component, props); | ||
} | ||
@@ -194,0 +192,0 @@ }]); |
{ | ||
"name": "victory-box-plot", | ||
"version": "36.4.0", | ||
"version": "36.4.1", | ||
"description": "Box Plot Component for Victory", | ||
@@ -23,4 +23,4 @@ "keywords": [ | ||
"lodash": "^4.17.19", | ||
"prop-types": "^15.5.8", | ||
"victory-core": "^36.4.0", | ||
"prop-types": "^15.8.1", | ||
"victory-core": "^36.4.1", | ||
"victory-vendor": "^36.4.0" | ||
@@ -35,3 +35,3 @@ }, | ||
"sideEffects": false, | ||
"gitHead": "2e05481eeb34f9801a90023a131a21aa7deff082" | ||
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46" | ||
} |
@@ -312,9 +312,7 @@ import React from "react"; | ||
const children = this.renderBoxPlot(props); | ||
const container = React.cloneElement( | ||
props.containerComponent, | ||
UserProps.getSafeUserProps(props) | ||
); | ||
return props.standalone | ||
? this.renderContainer(container, children) | ||
const component = props.standalone | ||
? this.renderContainer(props.containerComponent, children) | ||
: children; | ||
return UserProps.withSafeUserProps(component, props); | ||
} | ||
@@ -321,0 +319,0 @@ } |
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
1184756
21170
Updatedprop-types@^15.8.1
Updatedvictory-core@^36.4.1