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.2.11 to 3.2.12

2

package.json
{
"name": "cytoscape",
"version": "3.2.11",
"version": "3.2.12",
"license": "MIT",

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

@@ -29,2 +29,14 @@ let is = require('../../is');

function getValue( prop, spec ){
if( prop.pfValue != null || prop.value != null ){
if( prop.pfValue != null && (spec == null || spec.type.units !== '%') ){
return prop.pfValue;
} else {
return prop.value;
}
} else {
return prop;
}
}
function ease( startProp, endProp, percent, easingFn, propSpec ){

@@ -39,16 +51,5 @@ let type = propSpec != null ? propSpec.type : null;

let start, end;
let start = getValue( startProp, propSpec );
let end = getValue( endProp, propSpec );
if( startProp.pfValue != null || startProp.value != null ){
start = startProp.pfValue != null ? startProp.pfValue : startProp.value;
} else {
start = startProp;
}
if( endProp.pfValue != null || endProp.value != null ){
end = endProp.pfValue != null ? endProp.pfValue : endProp.value;
} else {
end = endProp;
}
if( is.number( start ) && is.number( end ) ){

@@ -55,0 +56,0 @@ return getEasedValue( type, start, end, percent, easingFn );

@@ -8,9 +8,9 @@ let CRp = {};

if( !edge.visible() ){ return; }
// if bezier ctrl pts can not be calculated, then die
if( rs.badLine || isNaN(rs.allpts[0]) ){ // isNaN in case edge is impossible and browser bugs (e.g. safari)
if( rs.badLine || rs.allpts == null || isNaN(rs.allpts[0]) ){ // isNaN in case edge is impossible and browser bugs (e.g. safari)
return;
}
if( !edge.visible() ){ return; }
let bb;

@@ -17,0 +17,0 @@ if( shiftToOriginWithBb ){

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

module.exports = "3.2.11";
module.exports = "3.2.12";

Sorry, the diff of this file is not supported yet

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