Socket
Socket
Sign inDemoInstall

@nivo/heatmap

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/heatmap - npm Package Compare versions

Comparing version 0.47.1 to 0.48.0

114

cjs/nivo-heatmap.js

@@ -309,2 +309,46 @@ 'use strict';

var classCallCheck = function (instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
};
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var inherits = function (subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
};
var possibleConstructorReturn = function (self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
};
var style = { cursor: 'pointer' };

@@ -326,3 +370,4 @@

onLeave = _ref.onLeave,
_onClick = _ref.onClick;
_onClick = _ref.onClick,
theme = _ref.theme;
return React__default.createElement(

@@ -356,3 +401,5 @@ 'g',

textAnchor: 'middle',
style: { fill: textColor },
style: _extends({}, theme.labels, {
fill: textColor
}),
fillOpacity: opacity

@@ -379,3 +426,4 @@ },

onLeave: PropTypes.func.isRequired,
onClick: PropTypes.func.isRequired
onClick: PropTypes.func.isRequired,
theme: core.themePropType.isRequired
};

@@ -401,3 +449,4 @@

onLeave = _ref.onLeave,
_onClick = _ref.onClick;
_onClick = _ref.onClick,
theme = _ref.theme;
return React__default.createElement(

@@ -428,3 +477,5 @@ 'g',

textAnchor: 'middle',
style: { fill: textColor },
style: _extends({}, theme.labels, {
fill: textColor
}),
fillOpacity: opacity

@@ -451,3 +502,4 @@ },

onLeave: PropTypes.func.isRequired,
onClick: PropTypes.func.isRequired
onClick: PropTypes.func.isRequired,
theme: core.themePropType.isRequired
};

@@ -457,46 +509,2 @@

var classCallCheck = function (instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
};
var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var inherits = function (subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function, not " + typeof superClass);
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
enumerable: false,
writable: true,
configurable: true
}
});
if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;
};
var possibleConstructorReturn = function (self, call) {
if (!self) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return call && (typeof call === "object" || typeof call === "function") ? call : self;
};
var HeatMapCellTooltip = function HeatMapCellTooltip(_ref) {

@@ -672,3 +680,4 @@ var node = _ref.node,

onLeave: onLeave,
onClick: onClick
onClick: onClick,
theme: theme
});

@@ -726,3 +735,4 @@ }),

onLeave: onLeave,
onClick: onClick
onClick: onClick,
theme: theme
});

@@ -729,0 +739,0 @@ })

{
"name": "@nivo/heatmap",
"version": "0.47.1",
"version": "0.48.0",
"license": "MIT",

@@ -13,3 +13,3 @@ "main": "./index.js",

"dependencies": {
"@nivo/core": "^0.47.1",
"@nivo/core": "^0.48.0",
"d3-scale": "^2.1.2",

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

},
"gitHead": "a75e0f87f5e3e240a7fdc1e2420dcf63fec8f6ff"
"gitHead": "acf00e8f498cbcce7fc22b7c11106b870feac472"
}
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