Conversation
|
Size Change: -5.76 kB (0%) Total Size: 1.69 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 730a6d0. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7614549837
|
056c9b9 to
adead4d
Compare
"ReadableJsAssetsWebpackPlugin" snapshots webpack output
which changes with the updated caniuse-lite data.
function() {} becomes ()=>{} in some places where webpack
uses functions internally.
adead4d to
272a796
Compare
Member
|
@gziolo Thanks for the ping! We have https://core.trac.wordpress.org/ticket/59657 on Trac for this. I'll look at it today! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What?
Update the
caniuse-litepackage.Why?
This package determines how Gutenberg is compiled. It's a database of browsers and the features they support and affects how compilation tools like webpack and babel behave.
When the package is out of date, the data is inaccurate especially around things like the global usage percentages and "last X versions" we rely on:
gutenberg/packages/browserslist-config/index.js
Lines 3 to 11 in f4c34a4
Some of this outdated data is currently blocking some work on modules: #57924
This should also improve the build size in some minor ways overall.
How?
Update the package to its latest version.
Testing Instructions
Not necessary, although you can confirm the differences in browser support by comparing this branch and trunk. Run
npx browserslistfrom thepackages/browserslist-configdirectory. Here's the change in support as a diff: