chore(deps): update all non polkadot-js deps in root & docs folder #1475
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Deps update in
root
folderUpdated the following
dependencies
to newminor
andpatch
versions in./package.json
:confmgr
which should resolve one out of the three open security alerts, theyaml
one.lru-cache
upgraded only to the latest minor release to avoid any breaking changes in Sidecar.prom-client
winston
Updated the following
devDependencies
to newpatch
versions:@types/express-serve-static-core
Deps update in
docs
folderUpdated the following
dependencies
to newmajor
/breaking
versions indocs/package.json
:css-loader
style-loader
swagger-ui
yaml-loader
Updated the following
devDependencies
to newmajor
/breaking
andminor
versions:copy-webpack-plugin
html-webpack-plugin
webpack
webpack-cli
webpack-dev-server
A lot of breaking changes in the docs deps but I checked all of them and they are compatible with the minimum node.js version that we have Sidecar and also the minimum webpack version.
Updated webpack.config
Update needed after upgrading
yaml-loader
since it introduced a breaking change in v7.0.0 - related PRThis is necessary otherwise the docs are not rendered and they are giving an error message instead.
Credits / Thanks
lru-cache
issue related to the node version compatibility if updated to major version