Skip to content

Commit

Permalink
WebUI: Update several toolchain dependencies to latest versions.
Browse files Browse the repository at this point in the history
Specifically updating:
 - svgo: 2.8.0  -> 3.0.2
   Includes a fix for [1] which was affecting some SVG files, and has
   resulted in using 'minifyStyles: false' in
   tools/resources/svgo.config.js as a workaround, see [2].
 - terser: 5.16.2 -> 5.20.0
 - rollup: 3.12.0 -> 3.29.4
 - eslint: 8.33.0 -> 8.50.0

With the latest version of Rollup, bundled files are unfortunately a
bit larger, due to fixing a previous bug [3], which incorrectly only
kept the first line of all license header comments. The new behavior
is correct, so perhaps we should look into ways of deduplicating license
header comments in the future, to further reduce the file size.

[1] svg/svgo#1672
[2] https://source.chromium.org/chromium/chromium/src/+/main:tools/resources/svgo.config.js;l=17-18;drc=4046a6ad0dfa25c3ec4ff3a0f2019badcd4ede70
[3] rollup/rollup#4953

Bug: None
Change-Id: I08fc9a6ad0cf37e75e0b5e3c4dcc61f4ad555838
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903168
Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org>
Reviewed-by: Rebekah Potter <rbpotter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1204162}
  • Loading branch information
freshp86 authored and Chromium LUCI CQ committed Oct 2, 2023
1 parent 823208f commit aca5179
Show file tree
Hide file tree
Showing 3 changed files with 387 additions and 313 deletions.
2 changes: 1 addition & 1 deletion third_party/node/node_modules.tar.gz.sha1
@@ -1 +1 @@
937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb
ddc7cddc319ae5689ebf2c927e284814f2892e47

0 comments on commit aca5179

Please sign in to comment.