From 70c4929064564a36aa2776200737a88cd0a87207 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Fri, 14 Oct 2022 16:14:42 +0100 Subject: [PATCH] [JS] Upgrade moment.js library --- assets/js/moment.min.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/js/moment.min.js b/assets/js/moment.min.js index 2e559835..05a63b14 100644 --- a/assets/js/moment.min.js +++ b/assets/js/moment.min.js @@ -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);