External Libraries: Update the Moment library to version 2.29.4.

This is a minor bug fix release.

Props dilipbheda, desrosj, jkfoiztmcjeikfp, audrasjb.
Merges [53662] and [53725] to the 6.0 branch.
Fixes #56402. See #56031.
Built from https://develop.svn.wordpress.org/branches/6.0@53926


git-svn-id: http://core.svn.wordpress.org/branches/6.0@53485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-08-23 13:57:22 +00:00
parent 4be05ba50f
commit 40451dee2e
4 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
//! moment.js
//! version : 2.29.2
//! version : 2.29.4
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
@ -2454,7 +2454,7 @@
function preprocessRFC2822(s) {
// Remove comments and folding whitespace and replace multiple-spaces with a single space
return s
.replace(/\([^)]*\)|[\n\t]/g, ' ')
.replace(/\([^()]*\)|[\n\t]/g, ' ')
.replace(/(\s\s+)/g, ' ')
.replace(/^\s\s*/, '')
.replace(/\s\s*$/, '');
@ -5635,7 +5635,7 @@
//! moment.js
hooks.version = '2.29.2';
hooks.version = '2.29.4';
setHookCallback(createLocal);

File diff suppressed because one or more lines are too long

View File

@ -106,7 +106,7 @@ function wp_default_packages_vendor( $scripts ) {
'react' => '17.0.1',
'react-dom' => '17.0.1',
'regenerator-runtime' => '0.13.9',
'moment' => '2.29.2',
'moment' => '2.29.4',
'lodash' => '4.17.19',
'wp-polyfill-fetch' => '3.6.2',
'wp-polyfill-formdata' => '4.0.10',

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.0.2-alpha-53925';
$wp_version = '6.0.2-alpha-53926';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.