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

cytoscape-cxtmenu

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cytoscape-cxtmenu - npm Package Compare versions

Comparing version 2.8.0 to 2.8.1

16

cytoscape-cxtmenu.js

@@ -332,2 +332,3 @@ /*!

var panEnabled;
var gestureStartEvent;

@@ -358,2 +359,12 @@ var restoreZoom = function(){

if (inGesture) {
$parent.hide();
inGesture = false;
restoreGrab();
restoreZoom();
restorePan();
}
if( typeof options.commands === 'function' ){

@@ -379,3 +390,3 @@ commands = options.commands(target);

var rp, rw, rh;
if( !isCy && ele.isNode() && !options.atMouse ){
if( !isCy && ele.isNode() && !ele.isParent() && !options.atMouse ){
rp = ele.renderedPosition();

@@ -411,2 +422,3 @@ rw = ele.renderedWidth();

inGesture = true;
gestureStartEvent = e;
})

@@ -485,3 +497,3 @@

if( select ){
select.apply( ele, [ele] );
select.apply( ele, [ele, gestureStartEvent] );
activeCommandI = undefined;

@@ -488,0 +500,0 @@ }

2

package.json
{
"name": "cytoscape-cxtmenu",
"version": "2.8.0",
"version": "2.8.1",
"description": "A context menu for Cytoscape.js",

@@ -5,0 +5,0 @@ "main": "cytoscape-cxtmenu.js",

@@ -76,3 +76,4 @@ cytoscape-cxtmenu

console.log( ele.id() ) // `ele` holds the reference to the active element
}
},
disabled: false // disables the item on true
}

@@ -79,0 +80,0 @@ */

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