Skip to content

Commit

Permalink
fix(JSZipDataAccessHelper): Downgrade JSZip version
Browse files Browse the repository at this point in the history
  • Loading branch information
boucaud committed Dec 10, 2020
1 parent 093830c commit 0ad7147
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 18 deletions.
6 changes: 4 additions & 2 deletions Utilities/ExampleRunner/template-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
var path = require('path');
var vtkBasePath = path.resolve('.');
const path = require('path');

const vtkBasePath = path.resolve('.');

const settings = require('../../webpack.settings.js');

Expand Down Expand Up @@ -47,6 +48,7 @@ module.exports = {
},
fallback: {
fs: false,
stream: require.resolve('stream-browserify')
},
},
Expand Down
15 changes: 3 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"blueimp-md5": "2.18.0",
"commander": "6.2.0",
"gl-matrix": "3.3.0",
"jszip": "3.5.0",
"jszip": "3.2.0",
"pako": "1.0.11",
"seedrandom": "3.0.5",
"shelljs": "0.8.4",
Expand Down
6 changes: 3 additions & 3 deletions webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ function configureVtkRules() {
},
{
test: /\.worker\.js$/,
use: [
{ loader: 'worker-loader', options: { inline: 'no-fallback' } },
],
use: [{ loader: 'worker-loader', options: { inline: 'no-fallback' } }],
},
];
}
Expand All @@ -97,6 +95,7 @@ const baseConfig = {
alias: {
'vtk.js': __dirname,
},
fallback: { stream: require.resolve('stream-browserify') },
},
module: {
rules: configureVtkRules(),
Expand Down Expand Up @@ -148,6 +147,7 @@ const liteConfig = merge(
'Sources/Rendering/Core/ColorTransferFunction/LiteColorMaps.json'
),
},
fallback: { stream: require.resolve('stream-browserify') },
},
},
baseConfig,
Expand Down

0 comments on commit 0ad7147

Please sign in to comment.