arctic-viewer
Advanced tools
Comparing version 1.7.2 to 1.7.4
@@ -11,3 +11,3 @@ { | ||
"arctic-viewer": "latest", | ||
"electron": "1.4.1", | ||
"electron": "2.0.0", | ||
"shelljs": "0.7.4", | ||
@@ -14,0 +14,0 @@ "about-window": "1.4.0" |
@@ -5,3 +5,3 @@ { | ||
"license": "BSD-3-Clause", | ||
"version": "1.7.2", | ||
"version": "1.7.4", | ||
"main": "./lib/arctic-viewer.js", | ||
@@ -22,3 +22,3 @@ "repository": { | ||
"shelljs": "0.7.8", | ||
"tarball-extract": "0.0.3" | ||
"tarball-extract": "0.0.6" | ||
}, | ||
@@ -31,10 +31,10 @@ "devDependencies": { | ||
"kw-doc": "1.1.1", | ||
"kw-web-suite": "5.0.1", | ||
"kw-web-suite": "6.1.0", | ||
"monologue.js": "0.3.5", | ||
"mout": "1.1.0", | ||
"paraviewweb": "3.0.13", | ||
"paraviewweb": "3.1.7", | ||
"plotly.js": "1.33.1", | ||
"react": "16.2.0", | ||
"react-dom": "16.2.0", | ||
"vtk.js": "6.3.4" | ||
"vtk.js": "6.4.24" | ||
}, | ||
@@ -46,5 +46,5 @@ "scripts": { | ||
"update:plotly": "cp ./node_modules/plotly.js/dist/plotly.min.js ./dist", | ||
"build": "webpack", | ||
"build:debug": "webpack --display-modules", | ||
"build:release": "webpack -p", | ||
"build": "webpack --progress --colors --mode development", | ||
"build:debug": "webpack --display-modules --mode development", | ||
"build:release": "webpack --progress --colors --mode production", | ||
"build:bundle": "./bin/bundle.js", | ||
@@ -51,0 +51,0 @@ "doc": "kw-doc -c ./docs/config.js", |
const path = require('path'); | ||
const autoprefixer = require('autoprefixer'); | ||
const rules = require('paraviewweb/config/webpack.loaders.js'); | ||
const entry = path.join(__dirname, './lib/arctic-viewer.js'); | ||
@@ -20,12 +19,128 @@ const outputPath = path.join(__dirname, './dist'); | ||
module: { | ||
rules: [{ test: entry, loader: 'expose-loader?ArcticViewer' }].concat( | ||
rules, | ||
rules: [ | ||
{ test: entry, loader: 'expose-loader?ArcticViewer' }, | ||
{ | ||
test: /\.worker\.js$/, | ||
include: /vtk\.js/, | ||
use: [ | ||
{ | ||
loader: 'worker-loader', | ||
options: { inline: true, fallback: false }, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.css$/, | ||
exclude: /\.module\.css$/, | ||
use: [ | ||
'style-loader', | ||
'css-loader', | ||
{ | ||
loader: 'postcss-loader', | ||
options: { | ||
plugins: () => [autoprefixer('last 2 version', 'ie >= 10')], | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.css$/, | ||
include: /\.module\.css$/, | ||
use: [ | ||
{ loader: 'style-loader' }, | ||
{ | ||
loader: 'css-loader', | ||
options: { | ||
localIdentName: '[name]-[local]_[sha512:hash:base64:5]', | ||
modules: true, | ||
}, | ||
}, | ||
{ | ||
loader: 'postcss-loader', | ||
options: { | ||
plugins: () => [autoprefixer('last 2 version', 'ie >= 10')], | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.mcss$/, | ||
use: [ | ||
{ loader: 'style-loader' }, | ||
{ | ||
loader: 'css-loader', | ||
options: { | ||
localIdentName: '[name]-[local]_[sha512:hash:base64:5]', | ||
modules: true, | ||
}, | ||
}, | ||
{ | ||
loader: 'postcss-loader', | ||
options: { | ||
plugins: () => [autoprefixer('last 2 version', 'ie >= 10')], | ||
}, | ||
}, | ||
], | ||
}, | ||
{ | ||
test: /\.svg$/, | ||
loader: 'svg-sprite-loader?runtimeCompat=true', | ||
exclude: /fonts/, | ||
}, | ||
{ | ||
test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/, | ||
loader: 'url-loader?limit=60000&mimetype=application/font-woff', | ||
}, | ||
{ | ||
test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, | ||
loader: 'url-loader?limit=60000', | ||
include: /fonts/, | ||
}, | ||
{ | ||
test: /\.(png|jpg)$/, | ||
loader: 'url-loader?limit=8192', | ||
}, | ||
{ | ||
test: /\.c$/i, | ||
loader: 'shader-loader', | ||
}, | ||
{ | ||
test: /\.html$/, | ||
loader: 'html-loader', | ||
}, | ||
{ | ||
test: /\.isvg$/, | ||
loader: 'html-loader?attrs=false', | ||
}, | ||
{ | ||
test: /\.js$/, | ||
loader: 'eslint-loader', | ||
include: /paraviewweb/, | ||
loader: 'babel-loader?presets[]=env,presets[]=react,babelrc=false', | ||
}, | ||
{ | ||
test: /\.js$/, | ||
include: /vtk.js/, | ||
loader: 'babel-loader?presets[]=env,presets[]=react,babelrc=false', | ||
}, | ||
{ | ||
test: /\.js$/, | ||
include: /wslink/, | ||
loader: 'babel-loader?presets[]=env,babelrc=false', | ||
}, | ||
{ | ||
test: /\.glsl$/, | ||
loader: 'shader-loader', | ||
}, | ||
{ | ||
test: /\.js$/, | ||
exclude: /node_modules/, | ||
enforce: 'pre', | ||
options: { configFile: eslintrcPath }, | ||
} | ||
), | ||
loader: 'babel-loader?presets[]=env,presets[]=react', | ||
}, | ||
].concat({ | ||
test: /\.js$/, | ||
loader: 'eslint-loader', | ||
exclude: /node_modules/, | ||
enforce: 'pre', | ||
options: { configFile: eslintrcPath }, | ||
}), | ||
}, | ||
@@ -32,0 +147,0 @@ externals: { |
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
6763628
31833
3
+ Addedblock-stream@0.0.9(transitive)
+ Addedfstream@1.0.12(transitive)
+ Addedgraceful-fs@4.2.11(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedrimraf@2.7.1(transitive)
+ Addedtar@2.2.1(transitive)
+ Addedtarball-extract@0.0.6(transitive)
- Removed@isaacs/cliui@8.0.2(transitive)
- Removed@isaacs/fs-minipass@4.0.1(transitive)
- Removed@pkgjs/parseargs@0.11.0(transitive)
- Removedansi-regex@5.0.16.1.0(transitive)
- Removedansi-styles@4.3.06.2.1(transitive)
- Removedbrace-expansion@2.0.1(transitive)
- Removedchownr@3.0.0(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removedeastasianwidth@0.2.0(transitive)
- Removedemoji-regex@8.0.09.2.2(transitive)
- Removedforeground-child@3.3.0(transitive)
- Removedglob@10.4.5(transitive)
- Removedis-fullwidth-code-point@3.0.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjackspeak@3.4.3(transitive)
- Removedlru-cache@10.4.3(transitive)
- Removedminimatch@9.0.5(transitive)
- Removedminipass@7.1.2(transitive)
- Removedminizlib@3.0.1(transitive)
- Removedmkdirp@3.0.1(transitive)
- Removedpackage-json-from-dist@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-scurry@1.11.1(transitive)
- Removedrimraf@5.0.10(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedsignal-exit@4.1.0(transitive)
- Removedstring-width@4.2.35.1.2(transitive)
- Removedstrip-ansi@6.0.17.1.0(transitive)
- Removedtar@7.4.3(transitive)
- Removedtarball-extract@0.0.3(transitive)
- Removedwhich@2.0.2(transitive)
- Removedwrap-ansi@7.0.08.1.0(transitive)
- Removedyallist@5.0.0(transitive)
Updatedtarball-extract@0.0.6