Fix vulnerability issues reported by 'yarn audit'. Replace the deprecated uglifyjs-webpack-plugin with a terser-webpack-plugin. Fixes #5004.

This commit is contained in:
Aditya Toshniwal
2019-12-11 14:02:27 +05:30
committed by Akshay Joshi
parent 3247223595
commit 43d37e3b4c
5 changed files with 621 additions and 449 deletions

View File

@@ -13,7 +13,7 @@
"axios-mock-adapter": "^1.17.0",
"babel-loader": "~8.0.5",
"babel-plugin-transform-object-rest-spread": "^7.0.0-beta.3",
"copy-webpack-plugin": "^5.0.4",
"copy-webpack-plugin": "^5.1.0",
"core-js": "^3.2.1",
"cross-env": "^5.2.0",
"eslint": "5.15.1",
@@ -41,9 +41,9 @@
"sass-loader": "^7.1.0",
"sass-resources-loader": "^2.0.0",
"style-loader": "^0.23.1",
"uglifyjs-webpack-plugin": "^2.1.2",
"terser-webpack-plugin": "^2.2.2",
"url-loader": "^1.1.2",
"webpack": "^4.29.6",
"webpack": "^4.41.2",
"webpack-bundle-analyzer": "^3.5.1",
"webpack-cli": "^3.2.3",
"webpack-require-from": "^1.8.0",