[wp-trac] [WordPress Trac] #52851: Update the `element-closest` polyfill

WordPress Trac noreply at wordpress.org
Thu May 20 13:34:56 UTC 2021


#52851: Update the `element-closest` polyfill
-------------------------------------+---------------------
 Reporter:  desrosj                  |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  5.8
Component:  External Libraries       |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------

Comment (by gziolo):

 As far as I can tell we should be able to use one of the unminified files:
 - https://unpkg.com/browse/element-closest@3.0.2/index.js (Common JS)
 - https://unpkg.com/browse/element-closest@3.0.2/index.mjs (ESM)

 So we should need to update references in both `vendors` and
 `minifiedVendors`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52851#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list