cytoscape
Advanced tools
Comparing version 3.29.0 to 3.29.1
{ | ||
"name": "cytoscape", | ||
"version": "3.29.0", | ||
"version": "3.29.1", | ||
"license": "MIT", | ||
@@ -34,7 +34,17 @@ "description": "Graph theory (a.k.a. network) library for analysis and visualisation", | ||
"main": "dist/cytoscape.cjs.js", | ||
"module": "dist/cytoscape.esm.js", | ||
"module": "dist/cytoscape.esm.mjs", | ||
"exports": { | ||
".": { | ||
"import": "./dist/cytoscape.esm.js", | ||
"import": "./dist/cytoscape.esm.mjs", | ||
"require": "./dist/cytoscape.cjs.js" | ||
}, | ||
"./dist/cytoscape.esm": { | ||
"import": "./dist/cytoscape.esm.mjs" | ||
}, | ||
"./dist/cytoscape.esm.min": { | ||
"import": "./dist/cytoscape.esm.min.mjs" | ||
}, | ||
"./dist/*": { | ||
"import": "./dist/*.js", | ||
"require": "./dist/*.js" | ||
} | ||
@@ -54,3 +64,3 @@ }, | ||
"copyright": "node -r esm license-update", | ||
"dist:copy": "cpy build/cytoscape.umd.js build/cytoscape.min.js build/cytoscape.cjs.js build/cytoscape.esm.js build/cytoscape.esm.min.js dist", | ||
"dist:copy": "cpy build/cytoscape.umd.js build/cytoscape.min.js build/cytoscape.cjs.js build/cytoscape.esm.mjs build/cytoscape.esm.min.mjs dist", | ||
"dist": "cross-env NODE_ENV=production run-s build dist:*", | ||
@@ -57,0 +67,0 @@ "release": "run-s copyright dist docs", |
@@ -80,3 +80,3 @@ import nodeResolve from '@rollup/plugin-node-resolve'; | ||
output: { | ||
file: 'build/cytoscape.esm.min.js', | ||
file: 'build/cytoscape.esm.min.mjs', | ||
format: 'es' | ||
@@ -108,3 +108,3 @@ }, | ||
input, | ||
output: { file: 'build/cytoscape.esm.js', format: 'es' }, | ||
output: { file: 'build/cytoscape.esm.mjs', format: 'es' }, | ||
plugins: [ | ||
@@ -121,3 +121,3 @@ nodeResolve(), | ||
export default FILE | ||
? configs.filter(config => config.output.file.endsWith(FILE + '.js')) | ||
? configs.filter(config => config.output.file.endsWith(FILE + '.js') || config.output.file.endsWith(FILE + '.mjs')) | ||
: configs; |
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
4620663