Skip to content

Commit

Permalink
Merge pull request #258 from pacificclimate/i36-address-security-alerts
Browse files Browse the repository at this point in the history
I36 address security alerts
QSparks authored Feb 21, 2024
2 parents e761bf6 + 2771229 commit 7e907a6
Showing 4 changed files with 14,041 additions and 34,005 deletions.
23 changes: 23 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// craco.config.js
const webpack = require('webpack');

module.exports = {
webpack: {
configure: (webpackConfig, { env, paths }) => {
webpackConfig.resolve.fallback = {
...webpackConfig.resolve.fallback,
path: require.resolve('path-browserify'),
stream: require.resolve('stream-browserify'),
buffer: require.resolve('buffer/'),
process: require.resolve('process/browser'),
};
webpackConfig.plugins.push(
new webpack.ProvidePlugin({
process: 'process/browser',
})
);
return webpackConfig;
},
},
};

2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
#
# docker build --build-arg REACT_APP_CE_CURRENT_VERSION="$(./generate-commitish.sh)" -t <tag> .

FROM node:10-alpine
FROM node:14-alpine

WORKDIR /app
RUN chown node /app
Loading

0 comments on commit 7e907a6

Please sign in to comment.