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

cytoscape

Package Overview
Dependencies
Maintainers
2
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 2.7.16 to 2.7.17

2

dist/thread-node-fork.js
/*!
Cytoscape.js 2.7.16 (MIT licensed)
Cytoscape.js 2.7.17 (MIT licensed)

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

{
"name": "cytoscape",
"version": "2.7.16",
"version": "2.7.17",
"license": "MIT",

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

'use strict';
var window = require('../../../window');
var document = window ? window.document : null;
var is = require( '../../../is' );

@@ -34,3 +36,5 @@ var util = require( '../../../util' );

window.addEventListener( 'test', null, opts );
} catch( err ){}
} catch( err ){
// just consume the error
}

@@ -37,0 +41,0 @@ r.supportsPassiveEvents = supportsPassive;

@@ -9,18 +9,24 @@ 'use strict';

var raf = !window ? function( fn ){
if( fn ){
setTimeout( function(){
fn( pnow() );
}, 1000 / 60 );
var pnow = performance && performance.now ? function(){ return performance.now(); } : function(){ return Date.now(); };
var raf = (function(){
if( window ) {
if( window.requestAnimationFrame ){
return function( fn ){ window.requestAnimationFrame( fn ); };
} else if( window.mozRequestAnimationFrame ){
return function( fn ){ window.mozRequestAnimationFrame( fn ); };
} else if( window.webkitRequestAnimationFrame ){
return function( fn ){ window.webkitRequestAnimationFrame( fn ); };
} else if( window.msRequestAnimationFrame ){
return function( fn ){ window.msRequestAnimationFrame( fn ); };
}
}
} : (function(){
if( window.requestAnimationFrame ){
return function( fn ){ window.requestAnimationFrame( fn ); };
} else if( window.mozRequestAnimationFrame ){
return function( fn ){ window.mozRequestAnimationFrame( fn ); };
} else if( window.webkitRequestAnimationFrame ){
return function( fn ){ window.webkitRequestAnimationFrame( fn ); };
} else if( window.msRequestAnimationFrame ){
return function( fn ){ window.msRequestAnimationFrame( fn ); };
}
return function( fn ){
if( fn ){
setTimeout( function(){
fn( pnow() );
}, 1000 / 60 );
}
};
})();

@@ -32,4 +38,2 @@

var pnow = performance && performance.now ? function(){ return performance.now(); } : function(){ return Date.now(); };
util.performanceNow = pnow;

@@ -36,0 +40,0 @@

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

module.exports = "2.7.16";
module.exports = "2.7.17";

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