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

@lunit/heatmap

Package Overview
Dependencies
Maintainers
7
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lunit/heatmap - npm Package Compare versions

Comparing version 5.0.0-alpha.1 to 5.0.0-alpha.2

14

components/HeatmapScaleSVGImage.js
"use strict";
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -12,3 +23,4 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

*/
function HeatmapScaleSVGImage({ threshold = 0, width, height, ...imageProps }) {
function HeatmapScaleSVGImage(_a) {
var { threshold = 0, width, height } = _a, imageProps = __rest(_a, ["threshold", "width", "height"]);
const dataUri = useHeatmapScaleImageURI_1.useHeatmapScaleImageURI({ width, height, threshold });

@@ -15,0 +27,0 @@ return dataUri ? react_1.default.createElement("image", Object.assign({}, imageProps, { xlinkHref: dataUri, width: width, height: height })) : null;

2

package.json

@@ -14,3 +14,3 @@ {

"name": "@lunit/heatmap",
"version": "5.0.0-alpha.1",
"version": "5.0.0-alpha.2",
"dependencies": {

@@ -17,0 +17,0 @@ "react": "^16.13.1"

Sorry, the diff of this file is not supported yet

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