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

victory-group

Package Overview
Dependencies
Maintainers
16
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-group - npm Package Compare versions

Comparing version 36.7.0 to 36.8.1

8

CHANGELOG.md
# victory-group
## 36.8.1
## 36.8.0
### Patch Changes
- Remove usage of defaultProps from components ([#2679](https://github.com/FormidableLabs/victory/pull/2679))
## 36.7.0

@@ -4,0 +12,0 @@

16

es/victory-group.js

@@ -23,2 +23,9 @@ import _isEmpty from "lodash/isEmpty";

};
var defaultProps = {
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null),
groupComponent: /*#__PURE__*/React.createElement("g", null),
samples: 50,
standalone: true,
theme: VictoryTheme.grayscale
};

@@ -34,2 +41,3 @@ var VictoryGroupBase = function (initialProps) {

initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps);
var props = getProps(initialProps);

@@ -125,10 +133,2 @@ var modifiedProps = Helpers.modifyProps(props, fallbackProps, role);

});
VictoryGroupBase.defaultProps = {
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null),
groupComponent: /*#__PURE__*/React.createElement("g", null),
samples: 50,
sortOrder: "ascending",
standalone: true,
theme: VictoryTheme.grayscale
};
var componentConfig = {

@@ -135,0 +135,0 @@ role: "group",

@@ -40,2 +40,9 @@ "use strict";

};
var defaultProps = {
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null),
groupComponent: /*#__PURE__*/_react.default.createElement("g", null),
samples: 50,
standalone: true,
theme: _victoryCore.VictoryTheme.grayscale
};

@@ -51,2 +58,3 @@ var VictoryGroupBase = function (initialProps) {

initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps);
var props = getProps(initialProps);

@@ -151,10 +159,2 @@

});
VictoryGroupBase.defaultProps = {
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null),
groupComponent: /*#__PURE__*/_react.default.createElement("g", null),
samples: 50,
sortOrder: "ascending",
standalone: true,
theme: _victoryCore.VictoryTheme.grayscale
};
var componentConfig = {

@@ -161,0 +161,0 @@ role: "group",

{
"name": "victory-group",
"version": "36.7.0",
"version": "36.8.1",
"description": "Group Layout Component for Victory",

@@ -26,4 +26,4 @@ "keywords": [

"react-fast-compare": "^3.2.0",
"victory-core": "^36.7.0",
"victory-shared-events": "^36.7.0"
"victory-core": "^36.8.1",
"victory-shared-events": "^36.8.1"
},

@@ -30,0 +30,0 @@ "devDependencies": {

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