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

victory-scatter

Package Overview
Dependencies
Maintainers
28
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-scatter - npm Package Compare versions

Comparing version 36.4.1 to 36.5.0

42

es/victory-scatter.js

@@ -5,2 +5,4 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -14,3 +16,3 @@

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

@@ -25,6 +27,4 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
import PropTypes from "prop-types";

@@ -79,11 +79,7 @@ import React from "react";

_defineProperty(VictoryScatter, "animationWhitelist", ["data", "domain", "height", "maxBubbleSize", "padding", "samples", "size", "style", "width"]);
_defineProperty(VictoryScatter, "displayName", "VictoryScatter");
_defineProperty(VictoryScatter, "role", "scatter");
_defineProperty(VictoryScatter, "defaultTransitions", DefaultTransitions.discreteTransitions());
_defineProperty(VictoryScatter, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, CommonProps.baseProps), CommonProps.dataProps), {}, {
VictoryScatter.animationWhitelist = ["data", "domain", "height", "maxBubbleSize", "padding", "samples", "size", "style", "width"];
VictoryScatter.displayName = "VictoryScatter";
VictoryScatter.role = "scatter";
VictoryScatter.defaultTransitions = DefaultTransitions.discreteTransitions();
VictoryScatter.propTypes = _objectSpread(_objectSpread(_objectSpread({}, CommonProps.baseProps), CommonProps.dataProps), {}, {
bubbleProperty: PropTypes.string,

@@ -94,5 +90,4 @@ maxBubbleSize: CustomPropTypes.nonNegative,

symbol: PropTypes.oneOfType([PropTypes.oneOf(["circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp"]), PropTypes.func])
}));
_defineProperty(VictoryScatter, "defaultProps", {
});
VictoryScatter.defaultProps = {
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null),

@@ -106,14 +101,11 @@ dataComponent: /*#__PURE__*/React.createElement(Point, null),

theme: VictoryTheme.grayscale
});
};
VictoryScatter.getDomain = Domain.getDomain;
VictoryScatter.getData = Data.getData;
_defineProperty(VictoryScatter, "getDomain", Domain.getDomain);
_defineProperty(VictoryScatter, "getData", Data.getData);
_defineProperty(VictoryScatter, "getBaseProps", function (props) {
VictoryScatter.getBaseProps = function (props) {
return getBaseProps(props, fallbackProps);
});
};
_defineProperty(VictoryScatter, "expectedComponents", ["dataComponent", "labelComponent", "groupComponent", "containerComponent"]);
VictoryScatter.expectedComponents = ["dataComponent", "labelComponent", "groupComponent", "containerComponent"];
export default addEvents(VictoryScatter);

@@ -22,2 +22,4 @@ "use strict";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }

@@ -31,3 +33,3 @@

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

@@ -42,6 +44,4 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var fallbackProps = {

@@ -93,11 +93,7 @@ width: 450,

_defineProperty(VictoryScatter, "animationWhitelist", ["data", "domain", "height", "maxBubbleSize", "padding", "samples", "size", "style", "width"]);
_defineProperty(VictoryScatter, "displayName", "VictoryScatter");
_defineProperty(VictoryScatter, "role", "scatter");
_defineProperty(VictoryScatter, "defaultTransitions", _victoryCore.DefaultTransitions.discreteTransitions());
_defineProperty(VictoryScatter, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), _victoryCore.CommonProps.dataProps), {}, {
VictoryScatter.animationWhitelist = ["data", "domain", "height", "maxBubbleSize", "padding", "samples", "size", "style", "width"];
VictoryScatter.displayName = "VictoryScatter";
VictoryScatter.role = "scatter";
VictoryScatter.defaultTransitions = _victoryCore.DefaultTransitions.discreteTransitions();
VictoryScatter.propTypes = _objectSpread(_objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), _victoryCore.CommonProps.dataProps), {}, {
bubbleProperty: _propTypes.default.string,

@@ -108,5 +104,4 @@ maxBubbleSize: _victoryCore.PropTypes.nonNegative,

symbol: _propTypes.default.oneOfType([_propTypes.default.oneOf(["circle", "cross", "diamond", "plus", "minus", "square", "star", "triangleDown", "triangleUp"]), _propTypes.default.func])
}));
_defineProperty(VictoryScatter, "defaultProps", {
});
VictoryScatter.defaultProps = {
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null),

@@ -120,13 +115,11 @@ dataComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.Point, null),

theme: _victoryCore.VictoryTheme.grayscale
});
};
VictoryScatter.getDomain = _victoryCore.Domain.getDomain;
VictoryScatter.getData = _victoryCore.Data.getData;
_defineProperty(VictoryScatter, "getDomain", _victoryCore.Domain.getDomain);
_defineProperty(VictoryScatter, "getData", _victoryCore.Data.getData);
_defineProperty(VictoryScatter, "getBaseProps", function (props) {
VictoryScatter.getBaseProps = function (props) {
return (0, _helperMethods.getBaseProps)(props, fallbackProps);
});
};
_defineProperty(VictoryScatter, "expectedComponents", ["dataComponent", "labelComponent", "groupComponent", "containerComponent"]);
VictoryScatter.expectedComponents = ["dataComponent", "labelComponent", "groupComponent", "containerComponent"];

@@ -133,0 +126,0 @@ var _default = (0, _victoryCore.addEvents)(VictoryScatter);

{
"name": "victory-scatter",
"version": "36.4.1",
"version": "36.5.0",
"description": "Scatter Component for Victory",

@@ -24,6 +24,6 @@ "keywords": [

"prop-types": "^15.8.1",
"victory-core": "^36.4.1"
"victory-core": "^36.5.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
"react": ">=16.6.0"
},

@@ -34,3 +34,3 @@ "scripts": {

"sideEffects": false,
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
"gitHead": "7cecba921f751c3decc8215f7e866f51d11203c1"
}

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