This PR updates several dependencies to fix vulnerabilities, including Webpack. The upgrade to Webpack 5 required additional work, namely config changes and patching the wrapper-webpack-plugin via patch-package, and adding some additional packages like buffer and process, as well as uglifyjs to use directly in the minify script.
add uglifyjs, fix minify script
override xmldom with secure version
override ansi-regex with secure version
remove webpack-core
upgrade standard
upgrade node-fetch and override with secure version
add buffer and process
patch wrapper-webpack-plugin
upgrade webpack to v5, update config
upgrade npm
fix protocol in package.json
To test, run npm install and verify there are 0 vulnerabilities. Verify everything works as intended.
This PR updates several dependencies to fix vulnerabilities, including Webpack. The upgrade to Webpack 5 required additional work, namely config changes and patching the
wrapper-webpack-plugin
viapatch-package
, and adding some additional packages likebuffer
andprocess
, as well asuglifyjs
to use directly in the minify script.To test, run
npm install
and verify there are 0 vulnerabilities. Verify everything works as intended.