victory-chart
Advanced tools
Comparing version 36.8.6 to 36.9.0
# victory-chart | ||
## 36.9.0 | ||
### Minor Changes | ||
- Remove prop-types definitions and dependency ([#2758](https://github.com/FormidableLabs/victory/pull/2758)) | ||
## 36.8.6 | ||
@@ -4,0 +10,0 @@ |
@@ -10,5 +10,4 @@ import _isEmpty from "lodash/isEmpty"; | ||
import PropTypes from "prop-types"; | ||
import React from "react"; | ||
import { Background, CommonProps, Helpers, Hooks, PropTypes as CustomPropTypes, UserProps, VictoryContainer, VictoryTheme, Wrapper } from "victory-core"; | ||
import { Background, Helpers, Hooks, UserProps, VictoryContainer, VictoryTheme, Wrapper } from "victory-core"; | ||
import { VictorySharedEvents } from "victory-shared-events"; | ||
@@ -152,18 +151,2 @@ import { VictoryAxis } from "victory-axis"; | ||
VictoryChartImpl.propTypes = _objectSpread(_objectSpread({}, CommonProps.baseProps), {}, { | ||
backgroundComponent: PropTypes.element, | ||
children: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.node), PropTypes.node]), | ||
defaultAxes: PropTypes.shape({ | ||
independent: PropTypes.element, | ||
dependent: PropTypes.element | ||
}), | ||
defaultPolarAxes: PropTypes.shape({ | ||
independent: PropTypes.element, | ||
dependent: PropTypes.element | ||
}), | ||
endAngle: PropTypes.number, | ||
innerRadius: CustomPropTypes.nonNegative, | ||
prependDefaultAxes: PropTypes.bool, | ||
startAngle: PropTypes.number | ||
}); | ||
export var VictoryChart = /*#__PURE__*/React.memo(VictoryChartImpl, isEqual); | ||
@@ -170,0 +153,0 @@ VictoryChart.displayName = "VictoryChart"; // @ts-expect-error FIXME: Does this "expectedComponents" do anything? |
@@ -12,4 +12,2 @@ "use strict"; | ||
var _propTypes = _interopRequireDefault(require("prop-types")); | ||
var _react = _interopRequireDefault(require("react")); | ||
@@ -181,19 +179,2 @@ | ||
VictoryChartImpl.propTypes = _objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), {}, { | ||
backgroundComponent: _propTypes.default.element, | ||
children: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.node), _propTypes.default.node]), | ||
defaultAxes: _propTypes.default.shape({ | ||
independent: _propTypes.default.element, | ||
dependent: _propTypes.default.element | ||
}), | ||
defaultPolarAxes: _propTypes.default.shape({ | ||
independent: _propTypes.default.element, | ||
dependent: _propTypes.default.element | ||
}), | ||
endAngle: _propTypes.default.number, | ||
innerRadius: _victoryCore.PropTypes.nonNegative, | ||
prependDefaultAxes: _propTypes.default.bool, | ||
startAngle: _propTypes.default.number | ||
}); | ||
var VictoryChart = /*#__PURE__*/_react.default.memo(VictoryChartImpl, _reactFastCompare.default); | ||
@@ -200,0 +181,0 @@ |
{ | ||
"name": "victory-chart", | ||
"version": "36.8.6", | ||
"version": "36.9.0", | ||
"description": "Chart Component for Victory", | ||
@@ -24,8 +24,7 @@ "keywords": [ | ||
"lodash": "^4.17.19", | ||
"prop-types": "^15.8.1", | ||
"react-fast-compare": "^3.2.0", | ||
"victory-axis": "^36.8.6", | ||
"victory-core": "^36.8.6", | ||
"victory-polar-axis": "^36.8.6", | ||
"victory-shared-events": "^36.8.6" | ||
"victory-axis": "^36.9.0", | ||
"victory-core": "^36.9.0", | ||
"victory-polar-axis": "^36.9.0", | ||
"victory-shared-events": "^36.9.0" | ||
}, | ||
@@ -32,0 +31,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
7
1325440
21558
3
- Removedprop-types@^15.8.1
- Removedobject-assign@4.1.1(transitive)
- Removedprop-types@15.8.1(transitive)
- Removedreact-is@16.13.1(transitive)
Updatedvictory-axis@^36.9.0
Updatedvictory-core@^36.9.0
Updatedvictory-polar-axis@^36.9.0