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

@oncokb/oncotree

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oncokb/oncotree - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

34

dist/oncotree.js

@@ -52,2 +52,3 @@ import "./index.css";

_tooltipContainer,
_showTooltipTimeout,
_isHoveringTooltip,

@@ -243,2 +244,3 @@ _isHoveringNode,

__privateAdd(this, _tooltipContainer);
__privateAdd(this, _showTooltipTimeout);
__privateAdd(this, _isHoveringTooltip, false);

@@ -358,2 +360,3 @@ __privateAdd(this, _isHoveringNode, false);

__publicField(this, "enterCopyJsonMode", (copyHandlers) => {
__privateGet(this, _svg).style("cursor", "copy");
__privateGet(this, _svgGroup)

@@ -386,2 +389,3 @@ .selectAll("g.node")

__publicField(this, "exitCopyJsonMode", () => {
__privateGet(this, _svg).style("cursor", "auto");
__privateGet(this, _svgGroup)

@@ -523,15 +527,23 @@ .selectAll("g.node")

.on("mouseover", (event, d) => {
__privateSet(this, _isHoveringNode, true);
__privateGet(this, _tooltipContainer)
.transition()
.duration(200)
.style("opacity", 1)
.style("pointer-events", "all");
__privateGet(this, _tooltipContainer)
.html(buildTooltip(d).outerHTML)
.style("left", `${event.pageX - 12}px`)
.style("top", `${event.pageY + 12}px`);
clearTimeout(__privateGet(this, _showTooltipTimeout));
__privateSet(
this,
_showTooltipTimeout,
setTimeout(() => {
__privateSet(this, _isHoveringNode, true);
__privateGet(this, _tooltipContainer)
.transition()
.duration(200)
.style("opacity", 1)
.style("pointer-events", "all");
__privateGet(this, _tooltipContainer)
.html(buildTooltip(d).outerHTML)
.style("left", `${event.pageX - 12}px`)
.style("top", `${event.pageY + 12}px`);
}, 300),
);
})
.on("mouseout", () => {
__privateSet(this, _isHoveringNode, false);
clearTimeout(__privateGet(this, _showTooltipTimeout));
setTimeout(() => {

@@ -719,2 +731,3 @@ if (

__privateSet(this, _isHoveringTooltip, false);
clearTimeout(__privateGet(this, _showTooltipTimeout));
setTimeout(() => {

@@ -762,2 +775,3 @@ if (

_tooltipContainer = new WeakMap();
_showTooltipTimeout = new WeakMap();
_isHoveringTooltip = new WeakMap();

@@ -764,0 +778,0 @@ _isHoveringNode = new WeakMap();

{
"name": "@oncokb/oncotree",
"version": "0.7.0",
"version": "0.8.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/oncotree.js",

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