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

@nivo/pie

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/pie - npm Package Compare versions

Comparing version 0.49.0 to 0.50.0

24

cjs/nivo-pie.js

@@ -312,2 +312,4 @@ 'use strict';

onClick: PropTypes.func.isRequired,
onMouseEnter: PropTypes.func.isRequired,
onMouseLeave: PropTypes.func.isRequired,

@@ -364,2 +366,4 @@ // tooltip

onClick: core.noop,
onMouseEnter: core.noop,
onMouseLeave: core.noop,

@@ -383,2 +387,4 @@ // tooltip

onClick = _ref.onClick,
onMouseEnter = _ref.onMouseEnter,
onMouseLeave = _ref.onMouseLeave,
tooltipFormat = _ref.tooltipFormat,

@@ -399,2 +405,10 @@ tooltip = _ref.tooltip,

};
var handleMouseEnter = function handleMouseEnter(e) {
onMouseEnter(data, e);
handleTooltip(e);
};
var handleMouseLeave = function handleMouseLeave(e) {
onMouseLeave(data, e);
hideTooltip(e);
};

@@ -407,5 +421,5 @@ return React__default.createElement('path', {

stroke: borderColor,
onMouseEnter: handleTooltip,
onMouseEnter: handleMouseEnter,
onMouseMove: handleTooltip,
onMouseLeave: hideTooltip,
onMouseLeave: handleMouseLeave,
onClick: onClick

@@ -432,2 +446,4 @@ });

onClick: PropTypes.func,
onMouseEnter: PropTypes.func,
onMouseLeave: PropTypes.func,

@@ -774,2 +790,4 @@ theme: PropTypes.shape({

onClick = _props.onClick,
onMouseEnter = _props.onMouseEnter,
onMouseLeave = _props.onMouseLeave,
tooltipFormat = _props.tooltipFormat,

@@ -842,2 +860,4 @@ tooltip = _props.tooltip,

onClick: onClick,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
theme: theme

@@ -844,0 +864,0 @@ });

8

package.json
{
"name": "@nivo/pie",
"version": "0.49.0",
"version": "0.50.0",
"license": "MIT",

@@ -26,4 +26,4 @@ "author": {

"dependencies": {
"@nivo/core": "0.49.0",
"@nivo/legends": "0.49.0",
"@nivo/core": "0.50.0",
"@nivo/legends": "0.50.0",
"d3-shape": "^1.2.2",

@@ -41,3 +41,3 @@ "lodash": "^4.17.4",

},
"gitHead": "35e4fdcdcd11ff2852144efbdc1e67d0bfba8331"
"gitHead": "934117e4d2873a2a5684aa8e713d5b0e788cc67a"
}

@@ -308,2 +308,4 @@ (function (global, factory) {

onClick: PropTypes.func.isRequired,
onMouseEnter: PropTypes.func.isRequired,
onMouseLeave: PropTypes.func.isRequired,

@@ -360,2 +362,4 @@ // tooltip

onClick: core.noop,
onMouseEnter: core.noop,
onMouseLeave: core.noop,

@@ -379,2 +383,4 @@ // tooltip

onClick = _ref.onClick,
onMouseEnter = _ref.onMouseEnter,
onMouseLeave = _ref.onMouseLeave,
tooltipFormat = _ref.tooltipFormat,

@@ -395,2 +401,10 @@ tooltip = _ref.tooltip,

};
var handleMouseEnter = function handleMouseEnter(e) {
onMouseEnter(data, e);
handleTooltip(e);
};
var handleMouseLeave = function handleMouseLeave(e) {
onMouseLeave(data, e);
hideTooltip(e);
};

@@ -403,5 +417,5 @@ return React__default.createElement('path', {

stroke: borderColor,
onMouseEnter: handleTooltip,
onMouseEnter: handleMouseEnter,
onMouseMove: handleTooltip,
onMouseLeave: hideTooltip,
onMouseLeave: handleMouseLeave,
onClick: onClick

@@ -428,2 +442,4 @@ });

onClick: PropTypes.func,
onMouseEnter: PropTypes.func,
onMouseLeave: PropTypes.func,

@@ -770,2 +786,4 @@ theme: PropTypes.shape({

onClick = _props.onClick,
onMouseEnter = _props.onMouseEnter,
onMouseLeave = _props.onMouseLeave,
tooltipFormat = _props.tooltipFormat,

@@ -838,2 +856,4 @@ tooltip = _props.tooltip,

onClick: onClick,
onMouseEnter: onMouseEnter,
onMouseLeave: onMouseLeave,
theme: theme

@@ -840,0 +860,0 @@ });

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