Socket
Socket
Sign inDemoInstall

victory-scatter

Package Overview
Dependencies
31
Maintainers
20
Versions
152
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 36.8.2 to 36.8.3

2

CHANGELOG.md
# victory-scatter
## 36.8.3
## 36.8.2

@@ -4,0 +6,0 @@

2

es/helper-methods.d.ts
export declare const getSymbol: (data: any, props: any) => any;
export declare const getBubbleSize: (datum: any, props: any) => number;
export declare const getSize: (datum: any, props: any) => any;
export declare const getBaseProps: (props: any, fallbackProps: any) => any;
export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
//# sourceMappingURL=helper-methods.d.ts.map

@@ -99,23 +99,24 @@ import _isNil from "lodash/isNil";

export var getBaseProps = function (props, fallbackProps) {
var modifiedProps = Helpers.modifyProps(props, fallbackProps, "scatter");
props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps));
var _props = props,
data = _props.data,
domain = _props.domain,
events = _props.events,
height = _props.height,
origin = _props.origin,
padding = _props.padding,
polar = _props.polar,
scale = _props.scale,
name = _props.name,
sharedEvents = _props.sharedEvents,
standalone = _props.standalone,
style = _props.style,
theme = _props.theme,
width = _props.width,
labels = _props.labels,
horizontal = _props.horizontal,
disableInlineStyles = _props.disableInlineStyles;
export var getBaseProps = function (initialProps, fallbackProps) {
var modifiedProps = Helpers.modifyProps(initialProps, fallbackProps, "scatter");
var props = _assign({}, modifiedProps, getCalculatedValues(modifiedProps));
var data = props.data,
domain = props.domain,
events = props.events,
height = props.height,
origin = props.origin,
padding = props.padding,
polar = props.polar,
scale = props.scale,
name = props.name,
sharedEvents = props.sharedEvents,
standalone = props.standalone,
style = props.style,
theme = props.theme,
width = props.width,
labels = props.labels,
horizontal = props.horizontal,
disableInlineStyles = props.disableInlineStyles;
var initialChildProps = {

@@ -122,0 +123,0 @@ parent: {

@@ -52,2 +52,3 @@ import PropTypes from "prop-types";

containerComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined;
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined;
externalEventMutations?: React.Validator<import("victory-core").EventCallbackInterface<string | string[], import("victory-core").StringOrNumberOrList>[] | null | undefined> | undefined;

@@ -54,0 +55,0 @@ groupComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined;

export declare const getSymbol: (data: any, props: any) => any;
export declare const getBubbleSize: (datum: any, props: any) => number;
export declare const getSize: (datum: any, props: any) => any;
export declare const getBaseProps: (props: any, fallbackProps: any) => any;
export declare const getBaseProps: (initialProps: any, fallbackProps: any) => any;
//# sourceMappingURL=helper-methods.d.ts.map

@@ -123,24 +123,23 @@ "use strict";

var getBaseProps = function (props, fallbackProps) {
var modifiedProps = _victoryCore.Helpers.modifyProps(props, fallbackProps, "scatter");
var getBaseProps = function (initialProps, fallbackProps) {
var modifiedProps = _victoryCore.Helpers.modifyProps(initialProps, fallbackProps, "scatter");
props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps));
var _props = props,
data = _props.data,
domain = _props.domain,
events = _props.events,
height = _props.height,
origin = _props.origin,
padding = _props.padding,
polar = _props.polar,
scale = _props.scale,
name = _props.name,
sharedEvents = _props.sharedEvents,
standalone = _props.standalone,
style = _props.style,
theme = _props.theme,
width = _props.width,
labels = _props.labels,
horizontal = _props.horizontal,
disableInlineStyles = _props.disableInlineStyles;
var props = (0, _assign2.default)({}, modifiedProps, getCalculatedValues(modifiedProps));
var data = props.data,
domain = props.domain,
events = props.events,
height = props.height,
origin = props.origin,
padding = props.padding,
polar = props.polar,
scale = props.scale,
name = props.name,
sharedEvents = props.sharedEvents,
standalone = props.standalone,
style = props.style,
theme = props.theme,
width = props.width,
labels = props.labels,
horizontal = props.horizontal,
disableInlineStyles = props.disableInlineStyles;
var initialChildProps = {

@@ -147,0 +146,0 @@ parent: {

@@ -52,2 +52,3 @@ import PropTypes from "prop-types";

containerComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined;
disableInlineStyles?: React.Validator<boolean | null | undefined> | undefined;
externalEventMutations?: React.Validator<import("victory-core").EventCallbackInterface<string | string[], import("victory-core").StringOrNumberOrList>[] | null | undefined> | undefined;

@@ -54,0 +55,0 @@ groupComponent?: React.Validator<React.ReactElement<any, string | React.JSXElementConstructor<any>> | null | undefined> | undefined;

{
"name": "victory-scatter",
"version": "36.8.2",
"version": "36.8.3",
"description": "Scatter Component for Victory",

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

"prop-types": "^15.8.1",
"victory-core": "^36.8.2"
"victory-core": "^36.8.3"
},

@@ -28,0 +28,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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc