console: fix dependency vulnerabilities (#4677)

This commit is contained in:
Aleksandra Sikora 2020-05-27 12:34:38 +02:00 committed by GitHub
parent 1b442fc2dd
commit c1197be208
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1822 additions and 2785 deletions

4577
console/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -181,6 +181,7 @@
"@types/ws": "7.2.3",
"@typescript-eslint/eslint-plugin": "2.24.0",
"@typescript-eslint/parser": "2.24.0",
"autoprefixer": "9.7.6",
"babel-eslint": "10.1.0",
"babel-loader": "8.0.6",
"babel-plugin-istanbul": "5.2.0",
@ -192,7 +193,7 @@
"bootstrap-sass": "3.4.1",
"clean-webpack-plugin": "0.1.19",
"concurrently": "3.6.1",
"css-loader": "0.28.11",
"css-loader": "3.5.3",
"cypress": "4.6.0",
"dotenv": "5.0.1",
"eslint": "6.8.0",
@ -219,9 +220,9 @@
"less-loader": "4.1.0",
"lint-staged": "6.1.1",
"mini-css-extract-plugin": "0.4.5",
"node-sass": "4.13.1",
"nyc": "13.3.0",
"optimize-css-assets-webpack-plugin": "4.0.3",
"node-sass": "4.14.1",
"nyc": "15.0.1",
"optimize-css-assets-webpack-plugin": "5.0.3",
"prettier": "1.19.1",
"react-a11y": "0.2.8",
"react-addons-test-utils": "15.6.2",

View File

@ -10,8 +10,6 @@ const host = hasuraConfig.hmrHost;
const port = hasuraConfig.hmrPort;
const autoprefixer = require('autoprefixer');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer')
.BundleAnalyzerPlugin;
const WebpackIsomorphicToolsPlugin = require('webpack-isomorphic-tools/plugin');
const webpackIsomorphicToolsPlugin = new WebpackIsomorphicToolsPlugin(
@ -81,7 +79,15 @@ module.exports = {
test: /\.scss$/,
use: [
'style-loader',
'css-loader?modules&importLoaders=2&sourceMap&localIdentName=[local]___[hash:base64:5]',
{
loader: 'css-loader',
options: {
importLoaders: 2,
modules: {
localIdentName: '[local]___[hash:base64:5]',
},
},
},
'sass-loader?outputStyle=expanded&sourceMap',
],
},

View File

@ -73,7 +73,14 @@ module.exports = {
test: /\.scss$/,
use: [
MiniCssExtractPlugin.loader,
'css-loader?modules&importLoaders=2&sourceMap=false',
{
loader: 'css-loader',
options: {
importLoaders: 2,
sourceMap: false,
modules: {},
},
},
'sass-loader?outputStyle=expanded&sourceMap=false&sourceMapContents=false',
],
},