Skip to content

Commit

Permalink
[8.x] Update moment (main) (#206181) (#206996)
Browse files Browse the repository at this point in the history
# Backport

This will backport the following commits from `main` to `8.x`:
- [Update moment (main)
(#206181)](#206181)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-01-16T18:22:59Z","message":"Update
moment (main) (#206181)\n\nThis PR contains the following
updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[moment](https://momentjs.com)\r\n([source](https://github.com/moment/moment))
| peerDependencies |\r\nminor | [`^2.24.0`
->\r\n`^2.30.1`](https://renovatebot.com/diffs/npm/moment/2.24.0/2.30.1)
|\r\n|
[moment-timezone](http://momentjs.com/timezone/)\r\n([source](https://github.com/moment/moment-timezone))
| dependencies |\r\npatch | [`^0.5.45`
->\r\n`^0.5.46`](https://renovatebot.com/diffs/npm/moment-timezone/0.5.45/0.5.46)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>moment/moment
(moment)</summary>\r\n\r\n###\r\n[`v2.30.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.30.0...2.30.1)\r\n\r\n-
Release Dec 27, 2023\r\n-
Revert\r\n[https://github.com/moment/moment/pull/5827](https://github.com/moment/moment/pull/5827),\r\nbecause
it's breaking\r\n a lot of TS
code.\r\n\r\n###\r\n[`v2.30.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.4...2.30.0)\r\n\r\n-
Release Dec 26,
2023\r\n\r\n###\r\n[`v2.29.4`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.3...2.29.4)\r\n\r\n-
Release Jul 6, 2022\r\n-
[#&#8203;6015](https://github.com/moment/moment/pull/6015)
\\[bugfix]\r\nFix ReDoS in preprocessRFC2822
regex\r\n\r\n###\r\n[`v2.29.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.2...2.29.3)\r\n\r\n-
Release Apr 17, 2022\r\n-
[#&#8203;5995](https://github.com/moment/moment/pull/5995)
\\[bugfix]\r\nRemove const usage\r\n-
[#&#8203;5990](https://github.com/moment/moment/pull/5990) misc:
fix\r\nadvisory
link\r\n\r\n###\r\n[`v2.29.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.1...2.29.2)\r\n\r\n-
Release Apr 3
2022\r\n\r\nAddress\r\nhttps://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4\r\n\r\n###\r\n[`v2.29.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.0...2.29.1)\r\n\r\n-
Release Oct 6, 2020\r\n\r\nUpdated deprecation message, bugfix in hi
locale\r\n\r\n###\r\n[`v2.29.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.28.0...2.29.0)\r\n\r\n-
Release Sept 22, 2020\r\n\r\nNew locales (es-mx, bn-bd).\r\nMinor
bugfixes and locale improvements.\r\nMore tests.\r\nMoment is in
maintenance mode. Read more at this
link:\r\nhttps://momentjs.com/docs/#/-project-status/\r\n\r\n###\r\n[`v2.28.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.27.0...2.28.0)\r\n\r\n-
Release Sept 13, 2020\r\n\r\nFix bug where .format() modifies original
instance, and locale
updates\r\n\r\n###\r\n[`v2.27.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.26.0...2.27.0)\r\n\r\n-
Release June 18, 2020\r\n\r\nAdded Turkmen locale, other locale
improvements, slight TypeScript
fixes\r\n\r\n###\r\n[`v2.26.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.3...2.26.0)\r\n\r\n-
Release May 19, 2020\r\n\r\nTypeScript fixes and many locale
improvements\r\n\r\n###\r\n[`v2.25.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.2...2.25.3)\r\n\r\n-
Release May 4, 2020\r\n\r\nRemove package.json module property. It looks
like webpack behaves\r\ndifferently\r\nfor modules loaded via module vs
jsnext:main.\r\n\r\n###\r\n[`v2.25.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.1...2.25.2)\r\n\r\n-
Release May 4, 2020\r\n\r\nThis release includes ES Module bundled
moment, separate from it's\r\nsource code\r\nunder dist/ folder. This
might alleviate issues with finding the\r\n\\`./locale\r\nsubfolder for
loading locales. This might also mean now webpack will\r\nbundle
all\r\nlocales automatically, unless told
otherwise.\r\n\r\n###\r\n[`v2.25.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.0...2.25.1)\r\n\r\n-
Release May 1, 2020\r\n\r\nThis is a quick patch release to address some
of the issues raised after\r\nreleasing 2.25.0.\r\n\r\n-
[2e268635](https://github.com/moment/moment/commit/2e268635)
\\[misc]\r\nRevert
[#&#8203;5269](https://github.com/moment/moment/issues/5269)\r\ndue to
webpack warning\r\n-
[226799e1](https://github.com/moment/moment/commit/226799e1)\r\n\\[locale]
fil: Fix metadata comment\r\n-
[a83a521](https://github.com/moment/moment/commit/a83a521)
\\[bugfix]\r\nFix typeoff usages\r\n-
[e324334](https://github.com/moment/moment/commit/e324334)
\\[pkg]\r\nAdd ts3.1-typings in npm package\r\n-
[28cc23e](https://github.com/moment/moment/commit/28cc23e)
\\[misc]\r\nRemove deleted generated locale
en-SG\r\n\r\n###\r\n[`v2.25.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.24.0...2.25.0)\r\n\r\n-
Release May 1, 2020\r\n\r\n-
[#&#8203;4611](https://github.com/moment/moment/issues/4611)\r\n[022dc038](https://github.com/moment/moment/commit/022dc038)\r\n\\[feature]
Support for strict string parsing,
fixes\r\n[#&#8203;2469](https://github.com/moment/moment/issues/2469)\r\n\r\n-
[#&#8203;4599](https://github.com/moment/moment/issues/4599)\r\n[4b615b9d](https://github.com/moment/moment/commit/4b615b9d)\r\n\\[feature]
Add support for eras in en and jp\r\n\r\n-
[#&#8203;4296](https://github.com/moment/moment/issues/4296)\r\n[757d4ff8](https://github.com/moment/moment/commit/757d4ff8)\r\n\\[feature]
Accept custom relative thresholds in duration.humanize\r\n\r\n- 18
bigfixes\r\n\r\n- 36 locale fixes\r\n\r\n- 5 new locales (oc-lnc, zh-mo,
en-in, gom-deva,
fil)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>moment/moment-timezone
(moment-timezone)</summary>\r\n\r\n###\r\n[`v0.5.46`](https://github.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment-timezone/compare/0.5.45...0.5.46)\r\n\r\n-
Updated data to IANA TZDB `2024b`. This only affects
historical\r\ntimestamps; no future timestamps have
changed.\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅
**Schedule**: Branch creation - At any time (no schedule
defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n👻
**Immortal**: This PR will be recreated if closed unmerged.
Get\r\n[config
help](https://github.com/renovatebot/renovate/discussions)
if\r\nthat's undesired.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If
you want to rebase/retry this PR, check\r\nthis
box\r\n\r\n---\r\n\r\nThis PR has been generated by
[Renovate\r\nBot](https://github.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"c28b1738862cf352229093ea1d5ef4f8c2cc5fe7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","backport:all-open"],"title":"Update
moment
(main)","number":206181,"url":"https://github.com/elastic/kibana/pull/206181","mergeCommit":{"message":"Update
moment (main) (#206181)\n\nThis PR contains the following
updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[moment](https://momentjs.com)\r\n([source](https://github.com/moment/moment))
| peerDependencies |\r\nminor | [`^2.24.0`
->\r\n`^2.30.1`](https://renovatebot.com/diffs/npm/moment/2.24.0/2.30.1)
|\r\n|
[moment-timezone](http://momentjs.com/timezone/)\r\n([source](https://github.com/moment/moment-timezone))
| dependencies |\r\npatch | [`^0.5.45`
->\r\n`^0.5.46`](https://renovatebot.com/diffs/npm/moment-timezone/0.5.45/0.5.46)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>moment/moment
(moment)</summary>\r\n\r\n###\r\n[`v2.30.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.30.0...2.30.1)\r\n\r\n-
Release Dec 27, 2023\r\n-
Revert\r\n[https://github.com/moment/moment/pull/5827](https://github.com/moment/moment/pull/5827),\r\nbecause
it's breaking\r\n a lot of TS
code.\r\n\r\n###\r\n[`v2.30.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.4...2.30.0)\r\n\r\n-
Release Dec 26,
2023\r\n\r\n###\r\n[`v2.29.4`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.3...2.29.4)\r\n\r\n-
Release Jul 6, 2022\r\n-
[#&#8203;6015](https://github.com/moment/moment/pull/6015)
\\[bugfix]\r\nFix ReDoS in preprocessRFC2822
regex\r\n\r\n###\r\n[`v2.29.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.2...2.29.3)\r\n\r\n-
Release Apr 17, 2022\r\n-
[#&#8203;5995](https://github.com/moment/moment/pull/5995)
\\[bugfix]\r\nRemove const usage\r\n-
[#&#8203;5990](https://github.com/moment/moment/pull/5990) misc:
fix\r\nadvisory
link\r\n\r\n###\r\n[`v2.29.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.1...2.29.2)\r\n\r\n-
Release Apr 3
2022\r\n\r\nAddress\r\nhttps://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4\r\n\r\n###\r\n[`v2.29.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.0...2.29.1)\r\n\r\n-
Release Oct 6, 2020\r\n\r\nUpdated deprecation message, bugfix in hi
locale\r\n\r\n###\r\n[`v2.29.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.28.0...2.29.0)\r\n\r\n-
Release Sept 22, 2020\r\n\r\nNew locales (es-mx, bn-bd).\r\nMinor
bugfixes and locale improvements.\r\nMore tests.\r\nMoment is in
maintenance mode. Read more at this
link:\r\nhttps://momentjs.com/docs/#/-project-status/\r\n\r\n###\r\n[`v2.28.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.27.0...2.28.0)\r\n\r\n-
Release Sept 13, 2020\r\n\r\nFix bug where .format() modifies original
instance, and locale
updates\r\n\r\n###\r\n[`v2.27.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.26.0...2.27.0)\r\n\r\n-
Release June 18, 2020\r\n\r\nAdded Turkmen locale, other locale
improvements, slight TypeScript
fixes\r\n\r\n###\r\n[`v2.26.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.3...2.26.0)\r\n\r\n-
Release May 19, 2020\r\n\r\nTypeScript fixes and many locale
improvements\r\n\r\n###\r\n[`v2.25.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.2...2.25.3)\r\n\r\n-
Release May 4, 2020\r\n\r\nRemove package.json module property. It looks
like webpack behaves\r\ndifferently\r\nfor modules loaded via module vs
jsnext:main.\r\n\r\n###\r\n[`v2.25.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.1...2.25.2)\r\n\r\n-
Release May 4, 2020\r\n\r\nThis release includes ES Module bundled
moment, separate from it's\r\nsource code\r\nunder dist/ folder. This
might alleviate issues with finding the\r\n\\`./locale\r\nsubfolder for
loading locales. This might also mean now webpack will\r\nbundle
all\r\nlocales automatically, unless told
otherwise.\r\n\r\n###\r\n[`v2.25.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.0...2.25.1)\r\n\r\n-
Release May 1, 2020\r\n\r\nThis is a quick patch release to address some
of the issues raised after\r\nreleasing 2.25.0.\r\n\r\n-
[2e268635](https://github.com/moment/moment/commit/2e268635)
\\[misc]\r\nRevert
[#&#8203;5269](https://github.com/moment/moment/issues/5269)\r\ndue to
webpack warning\r\n-
[226799e1](https://github.com/moment/moment/commit/226799e1)\r\n\\[locale]
fil: Fix metadata comment\r\n-
[a83a521](https://github.com/moment/moment/commit/a83a521)
\\[bugfix]\r\nFix typeoff usages\r\n-
[e324334](https://github.com/moment/moment/commit/e324334)
\\[pkg]\r\nAdd ts3.1-typings in npm package\r\n-
[28cc23e](https://github.com/moment/moment/commit/28cc23e)
\\[misc]\r\nRemove deleted generated locale
en-SG\r\n\r\n###\r\n[`v2.25.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.24.0...2.25.0)\r\n\r\n-
Release May 1, 2020\r\n\r\n-
[#&#8203;4611](https://github.com/moment/moment/issues/4611)\r\n[022dc038](https://github.com/moment/moment/commit/022dc038)\r\n\\[feature]
Support for strict string parsing,
fixes\r\n[#&#8203;2469](https://github.com/moment/moment/issues/2469)\r\n\r\n-
[#&#8203;4599](https://github.com/moment/moment/issues/4599)\r\n[4b615b9d](https://github.com/moment/moment/commit/4b615b9d)\r\n\\[feature]
Add support for eras in en and jp\r\n\r\n-
[#&#8203;4296](https://github.com/moment/moment/issues/4296)\r\n[757d4ff8](https://github.com/moment/moment/commit/757d4ff8)\r\n\\[feature]
Accept custom relative thresholds in duration.humanize\r\n\r\n- 18
bigfixes\r\n\r\n- 36 locale fixes\r\n\r\n- 5 new locales (oc-lnc, zh-mo,
en-in, gom-deva,
fil)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>moment/moment-timezone
(moment-timezone)</summary>\r\n\r\n###\r\n[`v0.5.46`](https://github.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment-timezone/compare/0.5.45...0.5.46)\r\n\r\n-
Updated data to IANA TZDB `2024b`. This only affects
historical\r\ntimestamps; no future timestamps have
changed.\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅
**Schedule**: Branch creation - At any time (no schedule
defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n👻
**Immortal**: This PR will be recreated if closed unmerged.
Get\r\n[config
help](https://github.com/renovatebot/renovate/discussions)
if\r\nthat's undesired.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If
you want to rebase/retry this PR, check\r\nthis
box\r\n\r\n---\r\n\r\nThis PR has been generated by
[Renovate\r\nBot](https://github.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"c28b1738862cf352229093ea1d5ef4f8c2cc5fe7"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/206181","number":206181,"mergeCommit":{"message":"Update
moment (main) (#206181)\n\nThis PR contains the following
updates:\r\n\r\n| Package | Type | Update | Change
|\r\n|---|---|---|---|\r\n|
[moment](https://momentjs.com)\r\n([source](https://github.com/moment/moment))
| peerDependencies |\r\nminor | [`^2.24.0`
->\r\n`^2.30.1`](https://renovatebot.com/diffs/npm/moment/2.24.0/2.30.1)
|\r\n|
[moment-timezone](http://momentjs.com/timezone/)\r\n([source](https://github.com/moment/moment-timezone))
| dependencies |\r\npatch | [`^0.5.45`
->\r\n`^0.5.46`](https://renovatebot.com/diffs/npm/moment-timezone/0.5.45/0.5.46)\r\n|\r\n\r\n---\r\n\r\n###
Release Notes\r\n\r\n<details>\r\n<summary>moment/moment
(moment)</summary>\r\n\r\n###\r\n[`v2.30.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.30.0...2.30.1)\r\n\r\n-
Release Dec 27, 2023\r\n-
Revert\r\n[https://github.com/moment/moment/pull/5827](https://github.com/moment/moment/pull/5827),\r\nbecause
it's breaking\r\n a lot of TS
code.\r\n\r\n###\r\n[`v2.30.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.4...2.30.0)\r\n\r\n-
Release Dec 26,
2023\r\n\r\n###\r\n[`v2.29.4`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.3...2.29.4)\r\n\r\n-
Release Jul 6, 2022\r\n-
[#&#8203;6015](https://github.com/moment/moment/pull/6015)
\\[bugfix]\r\nFix ReDoS in preprocessRFC2822
regex\r\n\r\n###\r\n[`v2.29.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.2...2.29.3)\r\n\r\n-
Release Apr 17, 2022\r\n-
[#&#8203;5995](https://github.com/moment/moment/pull/5995)
\\[bugfix]\r\nRemove const usage\r\n-
[#&#8203;5990](https://github.com/moment/moment/pull/5990) misc:
fix\r\nadvisory
link\r\n\r\n###\r\n[`v2.29.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.1...2.29.2)\r\n\r\n-
Release Apr 3
2022\r\n\r\nAddress\r\nhttps://github.com/moment/moment/security/advisories/GHSA-8hfj-j24r-96c4\r\n\r\n###\r\n[`v2.29.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.29.0...2.29.1)\r\n\r\n-
Release Oct 6, 2020\r\n\r\nUpdated deprecation message, bugfix in hi
locale\r\n\r\n###\r\n[`v2.29.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.28.0...2.29.0)\r\n\r\n-
Release Sept 22, 2020\r\n\r\nNew locales (es-mx, bn-bd).\r\nMinor
bugfixes and locale improvements.\r\nMore tests.\r\nMoment is in
maintenance mode. Read more at this
link:\r\nhttps://momentjs.com/docs/#/-project-status/\r\n\r\n###\r\n[`v2.28.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.27.0...2.28.0)\r\n\r\n-
Release Sept 13, 2020\r\n\r\nFix bug where .format() modifies original
instance, and locale
updates\r\n\r\n###\r\n[`v2.27.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.26.0...2.27.0)\r\n\r\n-
Release June 18, 2020\r\n\r\nAdded Turkmen locale, other locale
improvements, slight TypeScript
fixes\r\n\r\n###\r\n[`v2.26.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.3...2.26.0)\r\n\r\n-
Release May 19, 2020\r\n\r\nTypeScript fixes and many locale
improvements\r\n\r\n###\r\n[`v2.25.3`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.2...2.25.3)\r\n\r\n-
Release May 4, 2020\r\n\r\nRemove package.json module property. It looks
like webpack behaves\r\ndifferently\r\nfor modules loaded via module vs
jsnext:main.\r\n\r\n###\r\n[`v2.25.2`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.1...2.25.2)\r\n\r\n-
Release May 4, 2020\r\n\r\nThis release includes ES Module bundled
moment, separate from it's\r\nsource code\r\nunder dist/ folder. This
might alleviate issues with finding the\r\n\\`./locale\r\nsubfolder for
loading locales. This might also mean now webpack will\r\nbundle
all\r\nlocales automatically, unless told
otherwise.\r\n\r\n###\r\n[`v2.25.1`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.25.0...2.25.1)\r\n\r\n-
Release May 1, 2020\r\n\r\nThis is a quick patch release to address some
of the issues raised after\r\nreleasing 2.25.0.\r\n\r\n-
[2e268635](https://github.com/moment/moment/commit/2e268635)
\\[misc]\r\nRevert
[#&#8203;5269](https://github.com/moment/moment/issues/5269)\r\ndue to
webpack warning\r\n-
[226799e1](https://github.com/moment/moment/commit/226799e1)\r\n\\[locale]
fil: Fix metadata comment\r\n-
[a83a521](https://github.com/moment/moment/commit/a83a521)
\\[bugfix]\r\nFix typeoff usages\r\n-
[e324334](https://github.com/moment/moment/commit/e324334)
\\[pkg]\r\nAdd ts3.1-typings in npm package\r\n-
[28cc23e](https://github.com/moment/moment/commit/28cc23e)
\\[misc]\r\nRemove deleted generated locale
en-SG\r\n\r\n###\r\n[`v2.25.0`](https://github.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment/compare/2.24.0...2.25.0)\r\n\r\n-
Release May 1, 2020\r\n\r\n-
[#&#8203;4611](https://github.com/moment/moment/issues/4611)\r\n[022dc038](https://github.com/moment/moment/commit/022dc038)\r\n\\[feature]
Support for strict string parsing,
fixes\r\n[#&#8203;2469](https://github.com/moment/moment/issues/2469)\r\n\r\n-
[#&#8203;4599](https://github.com/moment/moment/issues/4599)\r\n[4b615b9d](https://github.com/moment/moment/commit/4b615b9d)\r\n\\[feature]
Add support for eras in en and jp\r\n\r\n-
[#&#8203;4296](https://github.com/moment/moment/issues/4296)\r\n[757d4ff8](https://github.com/moment/moment/commit/757d4ff8)\r\n\\[feature]
Accept custom relative thresholds in duration.humanize\r\n\r\n- 18
bigfixes\r\n\r\n- 36 locale fixes\r\n\r\n- 5 new locales (oc-lnc, zh-mo,
en-in, gom-deva,
fil)\r\n\r\n</details>\r\n\r\n<details>\r\n<summary>moment/moment-timezone
(moment-timezone)</summary>\r\n\r\n###\r\n[`v0.5.46`](https://github.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)\r\n\r\n[Compare\r\nSource](https://github.com/moment/moment-timezone/compare/0.5.45...0.5.46)\r\n\r\n-
Updated data to IANA TZDB `2024b`. This only affects
historical\r\ntimestamps; no future timestamps have
changed.\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅
**Schedule**: Branch creation - At any time (no schedule
defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes
conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n👻
**Immortal**: This PR will be recreated if closed unmerged.
Get\r\n[config
help](https://github.com/renovatebot/renovate/discussions)
if\r\nthat's undesired.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If
you want to rebase/retry this PR, check\r\nthis
box\r\n\r\n---\r\n\r\nThis PR has been generated by
[Renovate\r\nBot](https://github.com/renovatebot/renovate).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\r\nCo-authored-by:
Elastic Machine
<elasticmachine@users.noreply.github.com>","sha":"c28b1738862cf352229093ea1d5ef4f8c2cc5fe7"}}]}]
BACKPORT-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
kibanamachine and elastic-renovate-prod[bot] authored Jan 16, 2025

Unverified

This user has not yet uploaded their public signing key.
1 parent 4503100 commit 6bb2c16
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1176,7 +1176,7 @@
"minimatch": "^3.1.2",
"moment": "^2.30.1",
"moment-duration-format": "^2.3.2",
"moment-timezone": "^0.5.45",
"moment-timezone": "^0.5.46",
"monaco-editor": "^0.44.0",
"monaco-yaml": "^5.1.0",
"murmurhash": "^2.0.1",
2 changes: 1 addition & 1 deletion src/platform/packages/shared/kbn-datemath/package.json
Original file line number Diff line number Diff line change
@@ -4,6 +4,6 @@
"description": "elasticsearch datemath parser, used in kibana",
"license": "Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0",
"peerDependencies": {
"moment": "^2.24.0"
"moment": "^2.30.1"
}
}
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -24619,10 +24619,10 @@ moment-duration-format@^2.3.2:
resolved "https://registry.yarnpkg.com/moment-duration-format/-/moment-duration-format-2.3.2.tgz#5fa2b19b941b8d277122ff3f87a12895ec0d6212"
integrity sha512-cBMXjSW+fjOb4tyaVHuaVE/A5TqkukDWiOfxxAjY+PEqmmBQlLwn+8OzwPiG3brouXKY5Un4pBjAeB6UToXHaQ==

moment-timezone@^0.5.45:
version "0.5.45"
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.45.tgz#cb685acd56bac10e69d93c536366eb65aa6bcf5c"
integrity sha512-HIWmqA86KcmCAhnMAN0wuDOARV/525R2+lOLotuGFzn4HO+FH+/645z2wx0Dt3iDv6/p61SIvKnDstISainhLQ==
moment-timezone@^0.5.46:
version "0.5.46"
resolved "https://registry.yarnpkg.com/moment-timezone/-/moment-timezone-0.5.46.tgz#a21aa6392b3c6b3ed916cd5e95858a28d893704a"
integrity sha512-ZXm9b36esbe7OmdABqIWJuBBiLLwAjrN7CE+7sYdCCx82Nabt1wHDj8TVseS59QIlfFPbOoiBPm6ca9BioG4hw==
dependencies:
moment "^2.29.4"

0 comments on commit 6bb2c16

Please sign in to comment.