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

victory-voronoi

Package Overview
Dependencies
Maintainers
26
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-voronoi - npm Package Compare versions

Comparing version 36.4.1 to 36.5.0

42

es/victory-voronoi.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 React from "react";

@@ -77,15 +77,10 @@ import { PropTypes as CustomPropTypes, Helpers, VictoryLabel, addEvents, VictoryContainer, VictoryTheme, DefaultTransitions, Data, Domain, CommonProps, UserProps } from "victory-core";

_defineProperty(VictoryVoronoi, "animationWhitelist", ["data", "domain", "height", "padding", "samples", "size", "style", "width"]);
_defineProperty(VictoryVoronoi, "displayName", "VictoryVoronoi");
_defineProperty(VictoryVoronoi, "role", "voronoi");
_defineProperty(VictoryVoronoi, "defaultTransitions", DefaultTransitions.discreteTransitions());
_defineProperty(VictoryVoronoi, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, CommonProps.baseProps), CommonProps.dataProps), {}, {
VictoryVoronoi.animationWhitelist = ["data", "domain", "height", "padding", "samples", "size", "style", "width"];
VictoryVoronoi.displayName = "VictoryVoronoi";
VictoryVoronoi.role = "voronoi";
VictoryVoronoi.defaultTransitions = DefaultTransitions.discreteTransitions();
VictoryVoronoi.propTypes = _objectSpread(_objectSpread(_objectSpread({}, CommonProps.baseProps), CommonProps.dataProps), {}, {
size: CustomPropTypes.nonNegative
}));
_defineProperty(VictoryVoronoi, "defaultProps", {
});
VictoryVoronoi.defaultProps = {
containerComponent: /*#__PURE__*/React.createElement(VictoryContainer, null),

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

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

@@ -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 = {

@@ -91,15 +91,10 @@ width: 450,

_defineProperty(VictoryVoronoi, "animationWhitelist", ["data", "domain", "height", "padding", "samples", "size", "style", "width"]);
_defineProperty(VictoryVoronoi, "displayName", "VictoryVoronoi");
_defineProperty(VictoryVoronoi, "role", "voronoi");
_defineProperty(VictoryVoronoi, "defaultTransitions", _victoryCore.DefaultTransitions.discreteTransitions());
_defineProperty(VictoryVoronoi, "propTypes", _objectSpread(_objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), _victoryCore.CommonProps.dataProps), {}, {
VictoryVoronoi.animationWhitelist = ["data", "domain", "height", "padding", "samples", "size", "style", "width"];
VictoryVoronoi.displayName = "VictoryVoronoi";
VictoryVoronoi.role = "voronoi";
VictoryVoronoi.defaultTransitions = _victoryCore.DefaultTransitions.discreteTransitions();
VictoryVoronoi.propTypes = _objectSpread(_objectSpread(_objectSpread({}, _victoryCore.CommonProps.baseProps), _victoryCore.CommonProps.dataProps), {}, {
size: _victoryCore.PropTypes.nonNegative
}));
_defineProperty(VictoryVoronoi, "defaultProps", {
});
VictoryVoronoi.defaultProps = {
containerComponent: /*#__PURE__*/_react.default.createElement(_victoryCore.VictoryContainer, null),

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

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

@@ -128,0 +121,0 @@ var _default = (0, _victoryCore.addEvents)(VictoryVoronoi);

{
"name": "victory-voronoi",
"version": "36.4.1",
"version": "36.5.0",
"description": "Voronoi Component for Victory",

@@ -25,6 +25,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"
},

@@ -35,3 +35,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