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.12.2 to 3.12.3

32

.size-snapshot.json
{
"build/cytoscape.umd.js": {
"bundled": 921218,
"minified": 341676,
"gzipped": 106237
"bundled": 921887,
"minified": 341814,
"gzipped": 106284
},
"build/cytoscape.cjs.js": {
"bundled": 848807,
"minified": 360099,
"gzipped": 108513
"bundled": 849442,
"minified": 360237,
"gzipped": 108559
},
"build/cytoscape.esm.js": {
"bundled": 848634,
"minified": 359956,
"gzipped": 108479,
"bundled": 849269,
"minified": 360094,
"gzipped": 108525,
"treeshaked": {
"rollup": {
"code": 336328,
"code": 336466,
"import_statements": 51
},
"webpack": {
"code": 338196
"code": 338334
}

@@ -27,12 +27,12 @@ }

"build/cytoscape.esm.min.js": {
"bundled": 341491,
"minified": 341001,
"gzipped": 106081,
"bundled": 341455,
"minified": 340937,
"gzipped": 106022,
"treeshaked": {
"rollup": {
"code": 340477,
"code": 340413,
"import_statements": 0
},
"webpack": {
"code": 341763
"code": 341699
}

@@ -39,0 +39,0 @@ }

{
"name": "cytoscape",
"version": "3.12.2",
"version": "3.12.3",
"license": "MIT",

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

@@ -8,2 +8,6 @@ import * as is from '../../is';

if( start === end ){
return end;
}
let val = easingFn( start, end, percent );

@@ -10,0 +14,0 @@

@@ -159,2 +159,4 @@ import * as util from '../util';

if( vp.panned ){ properties.pan = vp.pan; }
} else {
properties.zoom = null; // an inavalid zoom (e.g. no delta) gets automatically destroyed
}

@@ -161,0 +163,0 @@ }

@@ -78,5 +78,7 @@ var BRp = {};

BRp.recalculateRenderedStyle = function( eles, useCache ){
var edges = [];
var nodes = [];
let isCleanConnected = ele => ele._private.rstyle.cleanConnected;
let edges = [];
let nodes = [];
// the renderer can't be used for calcs when destroyed, e.g. ele.boundingBox()

@@ -93,2 +95,8 @@ if( this.destroyed ){ return; }

// an edge may be implicitly dirty b/c of one of its connected nodes
// (and a request for recalc may come in between frames)
if( ele.isEdge() && (!isCleanConnected(ele.source()) || !isCleanConnected(ele.target())) ){
rstyle.clean = false;
}
// only update if dirty and in graph

@@ -95,0 +103,0 @@ if( (useCache && rstyle.clean) || ele.removed() ){ continue; }

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

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