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

victory-voronoi-container

Package Overview
Dependencies
Maintainers
3
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-voronoi-container - npm Package Compare versions

Comparing version 34.3.5 to 34.3.6

4

es/victory-voronoi-container.js

@@ -210,3 +210,5 @@ import _pick from "lodash/pick";

var labelProps = this.getLabelProps(props, activePoints);
return React.cloneElement(labelComponent, labelProps);
var text = labelProps.text;
var showLabel = Array.isArray(text) ? text.filter(Boolean).length : text;
return showLabel ? React.cloneElement(labelComponent, labelProps) : null;
} else {

@@ -213,0 +215,0 @@ return null;

@@ -226,3 +226,5 @@ "use strict";

var labelProps = this.getLabelProps(props, activePoints);
return _react.default.cloneElement(labelComponent, labelProps);
var text = labelProps.text;
var showLabel = Array.isArray(text) ? text.filter(Boolean).length : text;
return showLabel ? _react.default.cloneElement(labelComponent, labelProps) : null;
} else {

@@ -229,0 +231,0 @@ return null;

{
"name": "victory-voronoi-container",
"version": "34.3.5",
"version": "34.3.6",
"description": "Interactive Voronoi Mouseover Component for Victory",

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

"react-fast-compare": "^2.0.0",
"victory-core": "^34.3.5",
"victory-tooltip": "^34.3.5"
"victory-core": "^34.3.6",
"victory-tooltip": "^34.3.6"
},

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

@@ -185,3 +185,5 @@ import PropTypes from "prop-types";

const labelProps = this.getLabelProps(props, activePoints);
return React.cloneElement(labelComponent, labelProps);
const { text } = labelProps;
const showLabel = Array.isArray(text) ? text.filter(Boolean).length : text;
return showLabel ? React.cloneElement(labelComponent, labelProps) : null;
} else {

@@ -188,0 +190,0 @@ return null;

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