New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cytoscape

Package Overview
Dependencies
Maintainers
3
Versions
255
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 2.7.24 to 2.7.25

2

dist/thread-node-fork.js
/*!
Cytoscape.js 2.7.24 (MIT licensed)
Cytoscape.js 2.7.25 (MIT licensed)

@@ -6,0 +6,0 @@ Copyright (c) The Cytoscape Consortium

{
"name": "cytoscape",
"version": "2.7.24",
"version": "2.7.25",
"license": "MIT",

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

@@ -281,2 +281,5 @@ 'use strict';

// don't update with null dim
if( x1 == null || y1 == null || x2 == null || y2 == null ){ return; }
b.x1 = x1 < b.x1 ? x1 : b.x1;

@@ -297,2 +300,4 @@ b.x2 = x2 > b.x2 ? x2 : b.x2;

var updateBoundsFromArrow = function( bounds, ele, prefix, options ){
if( ele.cy().headless() ){ return; }
var _p = ele._private;

@@ -322,2 +327,4 @@ var rstyle = _p.rstyle;

var updateBoundsFromLabel = function( bounds, ele, prefix, options ){
if( ele.cy().headless() ){ return; }
var prefixDash;

@@ -455,2 +462,3 @@

var styleEnabled = cy_p.styleEnabled;
var headless = cy.headless();

@@ -515,3 +523,3 @@ var bounds = {

//////////////////////////////////////////////
if( styleEnabled ){
if( styleEnabled && !headless ){
ex1 = Math.min( rstyle.srcX, rstyle.midX, rstyle.tgtX );

@@ -533,3 +541,3 @@ ex2 = Math.max( rstyle.srcX, rstyle.midX, rstyle.tgtX );

////////////////////
if( styleEnabled && ele.pstyle( 'curve-style' ).strValue === 'haystack' ){
if( styleEnabled && !headless && ele.pstyle( 'curve-style' ).strValue === 'haystack' ){
var hpts = rstyle.haystackPts;

@@ -536,0 +544,0 @@

@@ -1,1 +0,1 @@

module.exports = "2.7.24";
module.exports = "2.7.25";

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