Search code examples
reactjssecuritynpmwebpack-4audit

webpack-dev-server v "3.11.2" Regular expression denial of service vulnerability fix?


enter image description here How to resolve these two vulnerabilities reported by npm audit security report ?


Solution

  • Updating my webpack to https://www.npmjs.com/package/webpack-dev-server/v/4.0.0-rc.0 and applied each and every change for all the 4.0.0 version in webpack worked. Followed this docs for changes https://openbase.com/js/webpack-dev-server/versions