[wp-trac] [WordPress Trac] #52854: Update polyfill libraries
WordPress Trac
noreply at wordpress.org
Tue Mar 30 13:37:11 UTC 2021
#52854: Update polyfill libraries
--------------------------------+-------------------------
Reporter: desrosj | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.8
Component: External Libraries | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript
--------------------------------+-------------------------
Comment (by desrosj):
Replying to [comment:4 gziolo]:
> My quick guess is - as long as we support IE 11 we need all those
polyfills so it would be a good idea to upgrade them.
I think, unfortunately, because they are bundled in Core, we'll need to
keep them in Core for some time. If a plugin or theme is adding the script
as a dependency, removing it could break their code.
I checked out the changes in these polyfills, and they all seem relatively
safe to include. I'm going to update them, and then I'll open a PR for
updating `objectFitPolyfill` in Gutenberg.
I think we should split off a separate ticket for the `@babel/polyfill`
library update.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52854#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list