External Libraries: Update the polyfill-library package.

This updates the `wp-polyfill-node-contains` and `'wp-polyfill-dom-rect` scripts to the latest version, `4.8.0`.

These scripts are no longer used by WordPress Core, but are kept up to date as a courtesy.

Props rajinsharwar, hrshahin, oglekler.
Fixes #59077.

git-svn-id: https://develop.svn.wordpress.org/trunk@56646 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers
2023-09-21 12:26:53 +00:00
parent ecaef7c4f7
commit 9db15f2863
3 changed files with 7 additions and 7 deletions

8
package-lock.json generated
View File

@@ -91,7 +91,7 @@
"moment": "2.29.4",
"objectFitPolyfill": "2.3.5",
"path-to-regexp": "6.2.1",
"polyfill-library": "4.7.0",
"polyfill-library": "4.8.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"regenerator-runtime": "0.14.0",
@@ -25111,9 +25111,9 @@
}
},
"node_modules/polyfill-library": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/polyfill-library/-/polyfill-library-4.7.0.tgz",
"integrity": "sha512-9gftEm1xj8nDQsmBtY+9A7TBuG/HSzUxuPge9/41L77HP/EGV6V4JB+Y5oO3Fz0MfLtswrUtcIIz6qzT1uM+MA==",
"version": "4.8.0",
"resolved": "https://registry.npmjs.org/polyfill-library/-/polyfill-library-4.8.0.tgz",
"integrity": "sha512-7+EjQmy3C7WJRaqCcVFXDE1DLBAIZ9es3DdvBKBxl98kn4kZCjuFKUi13uKDd618DVqZDkvqorP+pBFs7v5feQ==",
"dependencies": {
"@financial-times/polyfill-useragent-normaliser": "^2.0.1",
"from2-string": "^1.1.0",

View File

@@ -158,7 +158,7 @@
"moment": "2.29.4",
"objectFitPolyfill": "2.3.5",
"path-to-regexp": "6.2.1",
"polyfill-library": "4.7.0",
"polyfill-library": "4.8.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"regenerator-runtime": "0.14.0",

View File

@@ -113,9 +113,9 @@ function wp_default_packages_vendor( $scripts ) {
'lodash' => '4.17.19',
'wp-polyfill-fetch' => '3.6.17',
'wp-polyfill-formdata' => '4.0.10',
'wp-polyfill-node-contains' => '4.6.0',
'wp-polyfill-node-contains' => '4.8.0',
'wp-polyfill-url' => '3.6.4',
'wp-polyfill-dom-rect' => '4.6.0',
'wp-polyfill-dom-rect' => '4.8.0',
'wp-polyfill-element-closest' => '3.0.2',
'wp-polyfill-object-fit' => '2.3.5',
'wp-polyfill-inert' => '3.1.2',