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

cytoscape

Package Overview
Dependencies
Maintainers
3
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cytoscape - npm Package Compare versions

Comparing version 3.5.6 to 3.5.7

22

.size-snapshot.json
{
"build/cytoscape.umd.js": {
"bundled": 899745,
"minified": 333140,
"gzipped": 103676
"bundled": 903730,
"minified": 333306,
"gzipped": 103604
},
"build/cytoscape.cjs.js": {
"bundled": 828963,
"minified": 350400,
"gzipped": 105733
"bundled": 832342,
"minified": 353485,
"gzipped": 106377
},
"build/cytoscape.esm.js": {
"bundled": 828790,
"minified": 350257,
"gzipped": 105693,
"bundled": 832169,
"minified": 353342,
"gzipped": 106338,
"treeshaked": {
"rollup": {
"code": 327836,
"code": 327855,
"import_statements": 51
},
"webpack": {
"code": 329703
"code": 329863
}

@@ -24,0 +24,0 @@ }

{
"name": "cytoscape",
"version": "3.5.6",
"version": "3.5.7",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation",

@@ -299,4 +299,4 @@ import * as is from '../../is';

let lh = labelHeight + 2 * padding;
let lw = labelWidth + 2 * padding;
let lh = labelHeight;
let lw = labelWidth;
let lw_2 = lw / 2;

@@ -348,6 +348,6 @@ let lh_2 = lh / 2;

// shift by margin and expand by outline and border
lx1 += marginX - Math.max( outlineWidth, halfBorderWidth );
lx2 += marginX + Math.max( outlineWidth, halfBorderWidth );
ly1 += marginY - Math.max( outlineWidth, halfBorderWidth );
ly2 += marginY + Math.max( outlineWidth, halfBorderWidth );
lx1 += marginX - Math.max( outlineWidth, halfBorderWidth ) - padding;
lx2 += marginX + Math.max( outlineWidth, halfBorderWidth ) + padding;
ly1 += marginY - Math.max( outlineWidth, halfBorderWidth ) - padding;
ly2 += marginY + Math.max( outlineWidth, halfBorderWidth ) + padding;

@@ -354,0 +354,0 @@ // always store the unrotated label bounds separately

@@ -284,2 +284,4 @@ import window from '../window';

cy.invalidateSize();
cy.initRenderer( rOpts );

@@ -286,0 +288,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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