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

victory-stack

Package Overview
Dependencies
Maintainers
3
Versions
149
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 34.2.2 to 34.3.0

1

es/index.d.ts

@@ -20,2 +20,3 @@ import * as React from "react";

VictoryMultiLabelableProps {
bins?: number | number[] | Date[];
categories?: CategoryPropType;

@@ -22,0 +23,0 @@ children?: React.ReactNode | React.ReactNode[];

3

es/victory-stack.js

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

import React from "react";
import { Helpers, VictoryContainer, VictoryTheme, CommonProps, Wrapper } from "victory-core";
import { Helpers, VictoryContainer, VictoryTheme, CommonProps, Wrapper, PropTypes as CustomPropTypes } from "victory-core";
import { VictorySharedEvents } from "victory-shared-events";

@@ -176,2 +176,3 @@ import { getChildren, getCalculatedProps } from "./helper-methods";

value: _objectSpread({}, CommonProps.baseProps, {
bins: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([CustomPropTypes.nonNegative, PropTypes.instanceOf(Date)])), CustomPropTypes.nonNegative]),
categories: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.string), PropTypes.shape({

@@ -178,0 +179,0 @@ x: PropTypes.arrayOf(PropTypes.string),

@@ -20,2 +20,3 @@ import * as React from "react";

VictoryMultiLabelableProps {
bins?: number | number[] | Date[];
categories?: CategoryPropType;

@@ -22,0 +23,0 @@ children?: React.ReactNode | React.ReactNode[];

@@ -198,2 +198,3 @@ "use strict";

value: _objectSpread({}, _victoryCore.CommonProps.baseProps, {
bins: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_victoryCore.PropTypes.nonNegative, _propTypes.default.instanceOf(Date)])), _victoryCore.PropTypes.nonNegative]),
categories: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.string), _propTypes.default.shape({

@@ -200,0 +201,0 @@ x: _propTypes.default.arrayOf(_propTypes.default.string),

{
"name": "victory-stack",
"version": "34.2.2",
"version": "34.3.0",
"description": "Stack Layout Component for Victory",

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

"react-fast-compare": "^2.0.0",
"victory-core": "^34.2.2",
"victory-shared-events": "^34.2.2"
"victory-core": "^34.3.0",
"victory-shared-events": "^34.3.0"
},

@@ -29,0 +29,0 @@ "scripts": {

@@ -20,2 +20,3 @@ import * as React from "react";

VictoryMultiLabelableProps {
bins?: number | number[] | Date[];
categories?: CategoryPropType;

@@ -22,0 +23,0 @@ children?: React.ReactNode | React.ReactNode[];

import { assign, defaults, isEmpty } from "lodash";
import PropTypes from "prop-types";
import React from "react";
import { Helpers, VictoryContainer, VictoryTheme, CommonProps, Wrapper } from "victory-core";
import {
Helpers,
VictoryContainer,
VictoryTheme,
CommonProps,
Wrapper,
PropTypes as CustomPropTypes
} from "victory-core";
import { VictorySharedEvents } from "victory-shared-events";

@@ -22,2 +29,8 @@ import { getChildren, getCalculatedProps } from "./helper-methods";

...CommonProps.baseProps,
bins: PropTypes.oneOfType([
PropTypes.arrayOf(
PropTypes.oneOfType([CustomPropTypes.nonNegative, PropTypes.instanceOf(Date)])
),
CustomPropTypes.nonNegative
]),
categories: PropTypes.oneOfType([

@@ -24,0 +37,0 @@ PropTypes.arrayOf(PropTypes.string),

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