Make WordPress Core


Ignore:
Timestamp:
02/07/2023 04:46:34 PM (3 years ago)
Author:
desrosj
Message:

External Libraries: Update element-closest.

This updates the element-closest polyfill to the latest version, 3.0.2.

Because of changes to how the package is now built and distributed, both files for the library now contain minified code.

This library is no longer used by Core itself and maintained as a courtesy. Any projects utilizing it should reevaluate their usage requirements with modern browsers.

Props hareesh-pillai, gziolo, mukesh27, costdev.
Fixes #52851.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r55271 r55275  
    115115        'wp-polyfill-url'             => '3.6.4',
    116116        'wp-polyfill-dom-rect'        => '4.6.0',
    117         'wp-polyfill-element-closest' => '2.0.2',
     117        'wp-polyfill-element-closest' => '3.0.2',
    118118        'wp-polyfill-object-fit'      => '2.3.5',
    119119        'wp-polyfill-inert'           => '3.1.2',
Note: See TracChangeset for help on using the changeset viewer.