Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

victory-chart

Package Overview
Dependencies
Maintainers
21
Versions
286
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-chart - npm Package Compare versions

Comparing version 36.8.6 to 36.9.0

6

CHANGELOG.md
# 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 @@

19

es/victory-chart.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc