External Libraries: Update polyfill libraries.

This updates two polyfill libraries to their latest versions.

- `polyfill-library` from `3.105.0` to `4.0.0`.
- `formdata-polyfill` from `4.0.0` to `4.0.10`.

This will affect the following script handles:
- `wp-polyfill-formdata`
- `wp-polyfill-node-contains`
- `wp-polyfill-dom-rect`

These polyfills are no longer used by WordPress Core, but are kept up to date as a courtesy for any plugins or themes still requiring them.

See #55547.

git-svn-id: https://develop.svn.wordpress.org/trunk@53165 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2022-04-12 17:33:54 +00:00
parent 7bb55a033f
commit 81f603ea4f
3 changed files with 153 additions and 1062 deletions

1205
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -134,7 +134,7 @@
"clipboard": "2.0.10",
"core-js-url-browser": "3.6.4",
"element-closest": "^2.0.2",
"formdata-polyfill": "4.0.0",
"formdata-polyfill": "4.0.10",
"hoverintent": "2.2.1",
"imagesloaded": "4.1.4",
"jquery": "3.6.0",
@@ -145,7 +145,7 @@
"masonry-layout": "4.2.2",
"moment": "2.29.2",
"objectFitPolyfill": "2.3.5",
"polyfill-library": "3.105.0",
"polyfill-library": "4.0.0",
"react": "17.0.2",
"react-dom": "17.0.2",
"regenerator-runtime": "0.13.9",

View File

@@ -109,10 +109,10 @@ function wp_default_packages_vendor( $scripts ) {
'moment' => '2.29.2',
'lodash' => '4.17.19',
'wp-polyfill-fetch' => '3.6.2',
'wp-polyfill-formdata' => '4.0.0',
'wp-polyfill-node-contains' => '3.105.0',
'wp-polyfill-formdata' => '4.0.10',
'wp-polyfill-node-contains' => '4.0.0',
'wp-polyfill-url' => '3.6.4',
'wp-polyfill-dom-rect' => '3.104.0',
'wp-polyfill-dom-rect' => '4.0.0',
'wp-polyfill-element-closest' => '2.0.2',
'wp-polyfill-object-fit' => '2.3.5',
'wp-polyfill' => '3.15.0',