Skip to content

Commit

Permalink
External Libraries: Update Moment.js to the latest version.
Browse files Browse the repository at this point in the history
This updates the `moment` script from version `2.27.0` to `2.29.1`.

Props shital-patel, hareesh-pillai.
Fixes #52853.

git-svn-id: https://develop.svn.wordpress.org/trunk@50773 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
desrosj committed Apr 20, 2021
1 parent e31e5e7 commit 205611f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@
"jquery-hoverintent": "1.10.1",
"lodash": "4.17.19",
"masonry-layout": "4.2.2",
"moment": "2.27.0",
"moment": "2.29.1",
"objectFitPolyfill": "2.3.5",
"polyfill-library": "3.104.0",
"react": "16.13.1",
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/script-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function wp_default_packages_vendor( $scripts ) {
$vendor_scripts_versions = array(
'react' => '16.13.1',
'react-dom' => '16.13.1',
'moment' => '2.26.0',
'moment' => '2.29.1',
'lodash' => '4.17.19',
'wp-polyfill-fetch' => '3.0.0',
'wp-polyfill-formdata' => '3.0.20',
Expand Down

0 comments on commit 205611f

Please sign in to comment.