Update deps to remove warning messages #5479
Open
+2,177
−1,399
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.
Split out from #5478 so that PR can focus solely on fixing CI.
Problem
Currently we get the following output when running
cake test
:Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Additionally, executing
npm
commands currently produces the following output:9 vulnerabilities (7 high, 2 critical) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force
Solution
npx update-browserslist-db@latest
.npx browserslist@latest --update-db
as in the warning message.npm audit fix --force
.Result
This changes our
puppeter
andwebpack
constraints inpackage.json
to^
instead of~
. We may instead prefer to stick with~
.There is also still an additional message produced when executing e.g.
npm ci
:This does not seem to be in our direct dependencies, but would probably be good to resolve at some point in the future.