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

victory-chart

Package Overview
Dependencies
Maintainers
8
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 35.9.3 to 35.10.0

14

es/helper-methods.js

@@ -41,3 +41,3 @@ import _assign from "lodash/assign";

function getBackgroundWithProps(props, calculatedProps) {
export function getBackgroundWithProps(props, calculatedProps) {
var backgroundElement = props.backgroundComponent;

@@ -98,3 +98,3 @@ var height = props.polar ? calculatedProps.range.y[1] : calculatedProps.range.y[0] - calculatedProps.range.y[1];

function getCalculatedProps(props, childComponents) {
export function getCalculatedProps(props, childComponents) {
var style = getStyles(props);

@@ -142,4 +142,3 @@ props = Helpers.modifyProps(props, fallbackProps, "chart");

}
function getChildren(props, childComponents, calculatedProps) {
export function getChildren(props, childComponents, calculatedProps) {
childComponents = childComponents || getChildComponents(props);

@@ -181,4 +180,3 @@ calculatedProps = calculatedProps || getCalculatedProps(props, childComponents);

}
var getChildComponents = function (props, defaultAxes) {
export var getChildComponents = function (props, defaultAxes) {
var childComponents = React.Children.toArray(props.children);

@@ -225,4 +223,2 @@

};
};
export { getBackgroundWithProps, getChildren, getCalculatedProps, getChildComponents };
};

@@ -7,4 +7,4 @@ "use strict";

exports.getBackgroundWithProps = getBackgroundWithProps;
exports.getCalculatedProps = getCalculatedProps;
exports.getChildren = getChildren;
exports.getCalculatedProps = getCalculatedProps;
exports.getChildComponents = void 0;

@@ -11,0 +11,0 @@

{
"name": "victory-chart",
"version": "35.9.3",
"version": "35.10.0",
"description": "Chart Component for Victory",

@@ -25,7 +25,10 @@ "keywords": [

"react-fast-compare": "^2.0.0",
"victory-axis": "^35.9.3",
"victory-core": "^35.9.3",
"victory-polar-axis": "^35.9.3",
"victory-shared-events": "^35.9.3"
"victory-axis": "^35.10.0",
"victory-core": "^35.10.0",
"victory-polar-axis": "^35.10.0",
"victory-shared-events": "^35.10.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
},
"scripts": {

@@ -32,0 +35,0 @@ "version": "nps build-libs && nps build-dists"

@@ -28,3 +28,3 @@ /* eslint-disable func-style */

function getBackgroundWithProps(props, calculatedProps) {
export function getBackgroundWithProps(props, calculatedProps) {
const backgroundElement = props.backgroundComponent;

@@ -87,3 +87,3 @@

function getCalculatedProps(props, childComponents) {
export function getCalculatedProps(props, childComponents) {
const style = getStyles(props);

@@ -130,3 +130,3 @@ props = Helpers.modifyProps(props, fallbackProps, "chart");

function getChildren(props, childComponents, calculatedProps) {
export function getChildren(props, childComponents, calculatedProps) {
childComponents = childComponents || getChildComponents(props);

@@ -167,3 +167,3 @@ calculatedProps =

const getChildComponents = (props, defaultAxes) => {
export const getChildComponents = (props, defaultAxes) => {
const childComponents = React.Children.toArray(props.children);

@@ -228,8 +228,1 @@ let newChildComponents = [...childComponents];

};
export {
getBackgroundWithProps,
getChildren,
getCalculatedProps,
getChildComponents
};

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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