-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #228 from Fraunhofer-AISEC/major_dependency_update
Major Dependencies Update
- Loading branch information
Showing
38 changed files
with
17,018 additions
and
17,583 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.1.cjs | ||
yarnPath: .yarn/releases/yarn-3.6.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
const CopyPlugin = require('copy-webpack-plugin'); | ||
const NodePolyfillPlugin = require('node-polyfill-webpack-plugin'); | ||
|
||
module.exports = function override(config) { | ||
config.plugins.push(new CopyPlugin({ | ||
const overridden = config; | ||
|
||
// These are required by sql.js for the build to succeed. However, we do not use the corresponding | ||
// functionality of sql.js, hence we can provide empty modules. | ||
overridden.resolve.fallback = { | ||
fs: false, path: false, crypto: false, | ||
}; | ||
overridden.plugins.push(new CopyPlugin({ | ||
patterns: [ | ||
// This wasm file will be fetched dynamically when we initialize sql.js | ||
// It is important that we do not change its name, and that it is in the same folder as the js | ||
{ from: 'node_modules/sql.js/dist/sql-wasm.wasm', to: 'static/js/' }, | ||
], | ||
})); | ||
return config; | ||
|
||
// These are required by csv-stringify | ||
overridden.plugins.push(new NodePolyfillPlugin({ includeAliases: ['Buffer', 'process', 'stream'] })); | ||
|
||
return overridden; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.