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

cytoscape-edgehandles

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cytoscape-edgehandles - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

6

package.json
{
"name": "cytoscape-edgehandles",
"version": "3.0.2",
"version": "3.1.0",
"description": "Edge creation UI extension for Cytoscape",

@@ -15,5 +15,7 @@ "main": "cytoscape-edgehandles.js",

"gh-pages:cleanup": "rimraf index.html",
"copyright": "update license",
"lint": "eslint src",
"build": "cross-env NODE_ENV=production webpack",
"build:min": "cross-env NODE_ENV=production MIN=true webpack",
"build:release": "run-s build copyright",
"watch": "webpack --progress --watch",

@@ -49,2 +51,4 @@ "dev": "webpack-dev-server --open",

"rimraf": "^2.6.2",
"update": "^0.7.4",
"updater-license": "^1.0.0",
"webpack": "^2.6.1",

@@ -51,0 +55,0 @@ "webpack-dev-server": "^2.4.5"

9

README.md

@@ -11,3 +11,3 @@ cytoscape-edgehandles

This extension creates handles on nodes that can be dragged to create edges between nodes.
This extension creates handles on nodes that can be dragged to create edges between nodes ([demo](https://cytoscape.github.io/cytoscape.js-edgehandles/))

@@ -147,2 +147,3 @@

* `stop()` : manually completes or cancels the gesture
* `hide()` : remove the handle node from the graph
* `disable()` : disables edgehandles behaviour

@@ -159,2 +160,3 @@ * `enable()` : enables edgehandles behaviour

* `eh-handle` : The handle node
* `eh-source` : The source node

@@ -232,3 +234,3 @@ * `eh-target` : A target node

1. Build the extension : `npm run build`
1. Build the extension : `npm run build:release`
1. Commit the build : `git commit -am "Build for release"`

@@ -238,2 +240,3 @@ 1. Bump the version number and tag: `npm version major|minor|patch`

1. Publish to npm: `npm publish .`
1. If publishing to bower for the first time, you'll need to run `bower register cytoscape-edgehandles https://github.com/cytoscape/edgehandles.git`
1. If publishing to bower for the first time, you'll need to run `bower register cytoscape-edgehandles https://github.com/cytoscape/edgehandles.git`a
1. [Make a new release](https://github.com/cytoscape/cytoscape.js-edgehandles/releases/new) for Zenodo.

@@ -140,2 +140,4 @@ function canStartOn( node ){

clearTimeout( this.previewTimeout );
this.active = false;

@@ -142,0 +144,0 @@

@@ -9,5 +9,6 @@ const path = require('path');

const MIN = env.MIN;
const PROD = NODE_ENV === 'production';
let config = {
devtool: 'inline-source-map',
devtool: PROD ? false : 'inline-source-map',
entry: './src/index.js',

@@ -25,3 +26,3 @@ output: {

},
externals: NODE_ENV === 'production' ? Object.keys( pkg.dependencies || {} ) : [],
externals: PROD ? Object.keys( pkg.dependencies || {} ) : [],
plugins: MIN ? [

@@ -28,0 +29,0 @@ new webpack.optimize.UglifyJsPlugin({

Sorry, the diff of this file is not supported yet

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