From 9db15f2863e3625451d929767253bb1bb6c97388 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 21 Sep 2023 12:26:53 +0000 Subject: [PATCH] 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 --- package-lock.json | 8 ++++---- package.json | 2 +- src/wp-includes/script-loader.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f933be392b6a..2222dd3bb088d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -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", diff --git a/package.json b/package.json index f97f8333a8804..3e7a9001f51e8 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 51e1146bd12fa..041c828bf2fbe 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -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',