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

cytoscape-cxtmenu

Package Overview
Dependencies
Maintainers
3
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 3.1.1 to 3.1.2

.github/stale.yml

4

cytoscape-cxtmenu.js

@@ -541,4 +541,4 @@ (function webpackUniversalModuleDefinition(root, factory) {

var pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.scrollX;
var pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.scrollY;
var pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.pageXOffset;
var pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.pageYOffset;

@@ -545,0 +545,0 @@ activeCommandI = undefined;

{
"name": "cytoscape-cxtmenu",
"version": "3.1.1",
"version": "3.1.2",
"description": "A circular, swipeable context menu extension for Cytoscape.js",

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

@@ -81,3 +81,3 @@ cytoscape-cxtmenu

fillColor: 'rgba(200, 200, 200, 0.75)', // optional: custom background color for item
content: 'a command name' // html/text content to be displayed in the menu
content: 'a command name', // html/text content to be displayed in the menu
contentStyle: {}, // css key:value pairs to set the command's css in js if you want

@@ -84,0 +84,0 @@ select: function(ele){ // a function to execute when the command is selected

@@ -451,4 +451,4 @@ const defaults = require('./defaults');

let pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.scrollX;
let pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.scrollY;
let pageX = (isTouch ? origE.touches[0].pageX : origE.pageX) - window.pageXOffset;
let pageY = (isTouch ? origE.touches[0].pageY : origE.pageY) - window.pageYOffset;

@@ -455,0 +455,0 @@ activeCommandI = undefined;

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