Simon Zünd
abf0cd1847
[deps] Update rollup to 4.24.3 (and update plugins)
...
Since we have the major version jump, we needed to update quite
a few things to make this work:
1. rollup4 ships with native binaries. We can't check them into
our node_modules for all platforms. Luckily they also ship a
a wasm version. This requires us to adjust the 'binary' path
to `node_modules/@rollup/wasm-node/dist/bin/rollup` instead.
2. rollup4 is more strict when it comes to ES modules vs
CommonJS. We adjust this by renaming the rollup config files.
3. Some plugins got deprecated so we had to replace them with
the newer versions (source maps and terser).
Bug: None
Change-Id: If13d590c8185db6ad85b3992d0a869111909dc8c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5999255
Commit-Queue: Simon Zünd <szuend@chromium.org >
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org >
2024-11-07 05:25:54 +00:00
Tim van der Lippe
59b55bbc11
Update Rollup and rollup-plugin-terser
...
Rollup-plugin-terser dropped Node <10 and Rollup <2 support
(https://github.com/TrySound/rollup-plugin-terser/releases/tag/v6.0.0 )
and upgraded to Terser 5
(https://github.com/TrySound/rollup-plugin-terser/releases/tag/v7.0.0 )
DISABLE_THIRD_PARTY_CHECK=NPM update
R=jacktfranklin@chromium.org
Change-Id: Ifa0085fe5daa052bdfea40720d1852549f4bf316
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2537956
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
2020-11-16 14:46:18 +00:00
Wolfgang Beyer
cdedf581e5
Revert "Update Mocha and rollup-plugin-terser"
...
This reverts commit ecc4ecb65c .
Reason for revert: This CL is suspected of breaking the roll into
chromium (https://crbug.com/1121242#c2 ).
Original change's description:
> Update Mocha and rollup-plugin-terser
>
> These two packages had NPM advisories filed against them. Luckily,
> we can upgrade to versions where they are fixed.
>
> The upgrade of rollup-plugin-terser includes the upgrade to Terser 5.
> Looking at its changelog (https://github.com/terser/terser/blob/master/CHANGELOG.md#v500-beta0 )
> we seem to not be affected. Our build also works as expected.
>
> DISABLE_THIRD_PARTY_CHECK=Update node modules
> R=petermarshall@chromium.org
>
> Change-Id: I6974a73d92a1a210b705246053be5c2af268605b
> Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2372148
> Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
> Commit-Queue: Peter Marshall <petermarshall@chromium.org >
> Reviewed-by: Peter Marshall <petermarshall@chromium.org >
TBR=petermarshall@chromium.org ,tvanderlippe@chromium.org
Change-Id: I969ca281c77d299038332f93ffd477925e191073
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2374207
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org >
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org >
2020-08-25 08:29:20 +00:00
Tim van der Lippe
ecc4ecb65c
Update Mocha and rollup-plugin-terser
...
These two packages had NPM advisories filed against them. Luckily,
we can upgrade to versions where they are fixed.
The upgrade of rollup-plugin-terser includes the upgrade to Terser 5.
Looking at its changelog (https://github.com/terser/terser/blob/master/CHANGELOG.md#v500-beta0 )
we seem to not be affected. Our build also works as expected.
DISABLE_THIRD_PARTY_CHECK=Update node modules
R=petermarshall@chromium.org
Change-Id: I6974a73d92a1a210b705246053be5c2af268605b
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2372148
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org >
Commit-Queue: Peter Marshall <petermarshall@chromium.org >
Reviewed-by: Peter Marshall <petermarshall@chromium.org >
2020-08-24 12:14:14 +00:00
Tim van der Lippe
97eeaf0176
Add rollup-plugin-terser
...
DISABLE_THIRD_PARTY_CHECK=Add node_modules
R=jacktfranklin@chromium.org ,aerotwist@chromium.org
Bug: 1084578
Change-Id: I70e03fa74f53960a17c884a2bac4027382d66525
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2208135
Reviewed-by: Jack Franklin <jacktfranklin@chromium.org >
Reviewed-by: Paul Lewis <aerotwist@chromium.org >
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org >
2020-05-21 09:47:07 +00:00