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

victory-stack

Package Overview
Dependencies
Maintainers
16
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-stack - npm Package Compare versions

Comparing version 36.7.0 to 36.8.1

8

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

7

es/victory-stack.d.ts

@@ -73,11 +73,4 @@ import PropTypes from "prop-types";

};
defaultProps: {
containerComponent: JSX.Element;
groupComponent: JSX.Element;
standalone: boolean;
theme: import("victory-core").VictoryThemeDefinition;
fillInMissingData: boolean;
};
};
} & VictoryComponentConfiguration<VictoryStackProps>;
//# sourceMappingURL=victory-stack.d.ts.map

15

es/victory-stack.js

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

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

@@ -27,2 +34,3 @@ var VictoryStackBase = function (initialProps) {

var role = VictoryStack.role;
initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps);

@@ -143,9 +151,2 @@ var _Hooks$useAnimationSt = Hooks.useAnimationState(),

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

@@ -152,0 +153,0 @@ role: "stack",

@@ -73,11 +73,4 @@ import PropTypes from "prop-types";

};
defaultProps: {
containerComponent: JSX.Element;
groupComponent: JSX.Element;
standalone: boolean;
theme: import("victory-core").VictoryThemeDefinition;
fillInMissingData: boolean;
};
};
} & VictoryComponentConfiguration<VictoryStackProps>;
//# sourceMappingURL=victory-stack.d.ts.map

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

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

@@ -44,2 +51,3 @@ var VictoryStackBase = function (initialProps) {

var role = VictoryStack.role;
initialProps = _objectSpread(_objectSpread({}, defaultProps), initialProps);

@@ -169,9 +177,2 @@ var _Hooks$useAnimationSt = _victoryCore.Hooks.useAnimationState(),

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

@@ -178,0 +179,0 @@ role: "stack",

{
"name": "victory-stack",
"version": "36.7.0",
"version": "36.8.1",
"description": "Stack 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 @@ "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