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.20.0 to 3.20.1

32

.size-snapshot.json
{
"build/cytoscape.umd.js": {
"bundled": 941760,
"minified": 350910,
"gzipped": 109112
"bundled": 941704,
"minified": 350892,
"gzipped": 109101
},
"build/cytoscape.cjs.js": {
"bundled": 868355,
"minified": 370356,
"gzipped": 111452
"bundled": 868305,
"minified": 370338,
"gzipped": 111439
},
"build/cytoscape.esm.js": {
"bundled": 868182,
"minified": 370213,
"gzipped": 111414,
"bundled": 868132,
"minified": 370195,
"gzipped": 111404,
"treeshaked": {
"rollup": {
"code": 345562,
"code": 345544,
"import_statements": 51
},
"webpack": {
"code": 346946
"code": 346928
}

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

"build/cytoscape.esm.min.js": {
"bundled": 350715,
"minified": 350217,
"gzipped": 108935,
"bundled": 350697,
"minified": 350199,
"gzipped": 108923,
"treeshaked": {
"rollup": {
"code": 349711,
"code": 349693,
"import_statements": 0
},
"webpack": {
"code": 350999
"code": 350981
}

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

{
"name": "cytoscape",
"version": "3.20.0",
"version": "3.20.1",
"license": "MIT",

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

@@ -14,3 +14,3 @@ <img style="width: 200px; height: 200px;" src="https://raw.githubusercontent.com/cytoscape/cytoscape.js/unstable/documentation/img/cytoscape-logo.png" width="200" height="200"></img>

[![Download](https://img.shields.io/npm/v/cytoscape.svg?label=Download)](https://github.com/cytoscape/cytoscape.js/tree/master/dist)
[![Extensions](https://img.shields.io/badge/Extensions-61-blue.svg)](https://js.cytoscape.org/#extensions)
[![Extensions](https://img.shields.io/badge/Extensions-67-blue.svg)](https://js.cytoscape.org/#extensions)
[![npm installs](https://img.shields.io/npm/dm/cytoscape.svg?label=npm%20installs)](https://www.npmjs.com/package/cytoscape)

@@ -17,0 +17,0 @@ [![master branch tests](https://img.shields.io/travis/cytoscape/cytoscape.js/master.svg?label=master%20branch)](https://travis-ci.org/cytoscape/cytoscape.js)

@@ -131,2 +131,8 @@ import define from '../../define';

let ele = this[i];
// exclude any node that is a descendant of the calling collection
if (cy.hasCompoundNodes() && ele.isChild() && ele.ancestors().anySame(this)) {
continue;
}
let pos = ele.position();

@@ -133,0 +139,0 @@ let newPos = {

@@ -161,3 +161,3 @@ import * as is from '../../../is';

if( !listHasEle ){
if( !listHasEle && ele.grabbable() && !ele.locked() ){
list.merge( ele );

@@ -185,3 +185,3 @@ setGrabbed( ele );

if( opts.addToList ){
opts.addToList.unmerge(innerNodes);
addToDragList(innerNodes, opts);
}

@@ -785,4 +785,2 @@ };

var toTrigger = cy.collection();
// now, add the elements to the drag layer if not done already

@@ -809,13 +807,5 @@ if( !r.hoverData.draggingEles ){

for( var i = 0; i < draggedElements.length; i++ ){
var dEle = draggedElements[ i ];
if( r.nodeIsDraggable( dEle ) && dEle.grabbed() ){
toTrigger.push( dEle );
}
}
r.hoverData.draggingEles = true;
( toTrigger
( draggedElements
.silentShift( totalShift )

@@ -822,0 +812,0 @@ .emit('position drag')

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

Sorry, the diff of this file is not supported yet

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