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

@oncokb/oncotree

Package Overview
Dependencies
Maintainers
0
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.8.3 to 0.8.4

17

dist/oncotree.js

@@ -661,4 +661,9 @@ import "./index.css";

}
__privateSet(this, _viewerHeight, containerNode.clientHeight);
__privateSet(this, _viewerWidth, containerNode.clientWidth);
if (containerNode.clientHeight < containerNode.clientWidth) {
__privateSet(this, _viewerHeight, containerNode.clientWidth);
__privateSet(this, _viewerWidth, containerNode.clientHeight);
} else {
__privateSet(this, _viewerHeight, containerNode.clientHeight);
__privateSet(this, _viewerWidth, containerNode.clientWidth);
}
__privateSet(

@@ -758,10 +763,2 @@ this,

const scaleY = __privateGet(this, _viewerHeight) / (height + 75);
window.addEventListener("resize", () => {
const scaleX2 = containerNode.clientWidth / (width + 75);
const scaleY2 = containerNode.clientHeight / (height + 75);
__privateGet(this, _zoomListener).scaleTo(
__privateGet(this, _svg),
Math.min(scaleX2, scaleY2),
);
});
__privateGet(this, _zoomListener).scaleTo(

@@ -768,0 +765,0 @@ __privateGet(this, _svg),

{
"name": "@oncokb/oncotree",
"version": "0.8.3",
"version": "0.8.4",
"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