diff --git a/package-lock.json b/package-lock.json index 90ffcd5180..ff7ad249aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26436,9 +26436,9 @@ } }, "whatwg-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", - "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" + "version": "3.6.2", + "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", + "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==" }, "whatwg-mimetype": { "version": "2.3.0", diff --git a/package.json b/package.json index ce21d01bc7..6fa0592874 100644 --- a/package.json +++ b/package.json @@ -150,7 +150,7 @@ "regenerator-runtime": "0.13.7", "twemoji": "13.1.0", "underscore": "1.13.1", - "whatwg-fetch": "3.0.0" + "whatwg-fetch": "3.6.2" }, "scripts": { "build": "grunt build", diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 608e7936e3..1bd8b12da2 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -101,7 +101,7 @@ function wp_default_packages_vendor( $scripts ) { 'regenerator-runtime' => '0.13.7', 'moment' => '2.29.1', 'lodash' => '4.17.19', - 'wp-polyfill-fetch' => '3.0.0', + 'wp-polyfill-fetch' => '3.6.2', 'wp-polyfill-formdata' => '4.0.0', 'wp-polyfill-node-contains' => '3.105.0', 'wp-polyfill-url' => '3.6.4',