cytoscape
Advanced tools
Comparing version 3.6.1 to 3.6.2
{ | ||
"build/cytoscape.umd.js": { | ||
"bundled": 906816, | ||
"minified": 334437, | ||
"gzipped": 103927 | ||
"bundled": 907018, | ||
"minified": 334561, | ||
"gzipped": 103964 | ||
}, | ||
"build/cytoscape.cjs.js": { | ||
"bundled": 835254, | ||
"minified": 354672, | ||
"gzipped": 106751 | ||
"bundled": 835450, | ||
"minified": 354810, | ||
"gzipped": 106789 | ||
}, | ||
"build/cytoscape.esm.js": { | ||
"bundled": 835081, | ||
"minified": 354529, | ||
"gzipped": 106718, | ||
"bundled": 835277, | ||
"minified": 354667, | ||
"gzipped": 106751, | ||
"treeshaked": { | ||
"rollup": { | ||
"code": 328986, | ||
"code": 329110, | ||
"import_statements": 51 | ||
}, | ||
"webpack": { | ||
"code": 330994 | ||
"code": 331118 | ||
} | ||
@@ -24,0 +24,0 @@ } |
{ | ||
"name": "cytoscape", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", |
@@ -34,4 +34,5 @@ import * as util from './util'; | ||
let defaultsKeys = Object.keys( defaults ); | ||
let emptyOpts = {}; | ||
function Emitter( opts, context ){ | ||
function Emitter( opts = emptyOpts, context ){ | ||
// micro-optimisation vs Object.assign() -- reduces Element instantiation time | ||
@@ -158,3 +159,3 @@ for( let i = 0; i < defaultsKeys.length; i++ ){ | ||
( listener.type === type ) && | ||
( !namespace || listener.namespace === namespace ) && | ||
( (!namespace && listener.namespace !== '.*') || listener.namespace === namespace ) && | ||
( !qualifier || self.qualifierCompare( listener.qualifier, qualifier ) ) && | ||
@@ -161,0 +162,0 @@ ( !callback || listener.callback === callback ) |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3777399
102609