kibana/packages/kbn-datemath
Kibana Machine e113fbf0a9
[8.16] Update moment (main) (#206181) (#206994)
# Backport

This will backport the following commits from `main` to `8.16`:
- [Update moment (main)
(#206181)](https://github.com/elastic/kibana/pull/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://togithub.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://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.29.3...2.29.4)\r\n\r\n-
Release Jul 6, 2022\r\n-
[#&#8203;6015](https://togithub.com/moment/moment/pull/6015)
\\[bugfix]\r\nFix ReDoS in preprocessRFC2822
regex\r\n\r\n###\r\n[`v2.29.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.29.2...2.29.3)\r\n\r\n-
Release Apr 17, 2022\r\n-
[#&#8203;5995](https://togithub.com/moment/moment/pull/5995)
\\[bugfix]\r\nRemove const usage\r\n-
[#&#8203;5990](https://togithub.com/moment/moment/pull/5990) misc:
fix\r\nadvisory
link\r\n\r\n###\r\n[`v2.29.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)\r\n\r\n[Compare\r\nSource](https://togithub.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](2e268635)
\\[misc]\r\nRevert
[#&#8203;5269](https://togithub.com/moment/moment/issues/5269)\r\ndue to
webpack warning\r\n-
[226799e1](226799e1)\r\n\\[locale]
fil: Fix metadata comment\r\n-
[a83a521](a83a521)
\\[bugfix]\r\nFix typeoff usages\r\n-
[e324334](e324334)
\\[pkg]\r\nAdd ts3.1-typings in npm package\r\n-
[28cc23e](28cc23e)
\\[misc]\r\nRemove deleted generated locale
en-SG\r\n\r\n###\r\n[`v2.25.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.24.0...2.25.0)\r\n\r\n-
Release May 1, 2020\r\n\r\n-
[#&#8203;4611](022dc038)\r\n\\[feature]
Support for strict string parsing,
fixes\r\n[#&#8203;2469](https://togithub.com/moment/moment/issues/2469)\r\n\r\n-
[#&#8203;4599](4b615b9d)\r\n\\[feature]
Add support for eras in en and jp\r\n\r\n-
[#&#8203;4296](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://togithub.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.29.3...2.29.4)\r\n\r\n-
Release Jul 6, 2022\r\n-
[#&#8203;6015](https://togithub.com/moment/moment/pull/6015)
\\[bugfix]\r\nFix ReDoS in preprocessRFC2822
regex\r\n\r\n###\r\n[`v2.29.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.29.2...2.29.3)\r\n\r\n-
Release Apr 17, 2022\r\n-
[#&#8203;5995](https://togithub.com/moment/moment/pull/5995)
\\[bugfix]\r\nRemove const usage\r\n-
[#&#8203;5990](https://togithub.com/moment/moment/pull/5990) misc:
fix\r\nadvisory
link\r\n\r\n###\r\n[`v2.29.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)\r\n\r\n[Compare\r\nSource](https://togithub.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](2e268635)
\\[misc]\r\nRevert
[#&#8203;5269](https://togithub.com/moment/moment/issues/5269)\r\ndue to
webpack warning\r\n-
[226799e1](226799e1)\r\n\\[locale]
fil: Fix metadata comment\r\n-
[a83a521](a83a521)
\\[bugfix]\r\nFix typeoff usages\r\n-
[e324334](e324334)
\\[pkg]\r\nAdd ts3.1-typings in npm package\r\n-
[28cc23e](28cc23e)
\\[misc]\r\nRemove deleted generated locale
en-SG\r\n\r\n###\r\n[`v2.25.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.24.0...2.25.0)\r\n\r\n-
Release May 1, 2020\r\n\r\n-
[#&#8203;4611](022dc038)\r\n\\[feature]
Support for strict string parsing,
fixes\r\n[#&#8203;2469](https://togithub.com/moment/moment/issues/2469)\r\n\r\n-
[#&#8203;4599](4b615b9d)\r\n\\[feature]
Add support for eras in en and jp\r\n\r\n-
[#&#8203;4296](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://togithub.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.29.3...2.29.4)\r\n\r\n-
Release Jul 6, 2022\r\n-
[#&#8203;6015](https://togithub.com/moment/moment/pull/6015)
\\[bugfix]\r\nFix ReDoS in preprocessRFC2822
regex\r\n\r\n###\r\n[`v2.29.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.29.2...2.29.3)\r\n\r\n-
Release Apr 17, 2022\r\n-
[#&#8203;5995](https://togithub.com/moment/moment/pull/5995)
\\[bugfix]\r\nRemove const usage\r\n-
[#&#8203;5990](https://togithub.com/moment/moment/pull/5990) misc:
fix\r\nadvisory
link\r\n\r\n###\r\n[`v2.29.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)\r\n\r\n[Compare\r\nSource](https://togithub.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](2e268635)
\\[misc]\r\nRevert
[#&#8203;5269](https://togithub.com/moment/moment/issues/5269)\r\ndue to
webpack warning\r\n-
[226799e1](226799e1)\r\n\\[locale]
fil: Fix metadata comment\r\n-
[a83a521](a83a521)
\\[bugfix]\r\nFix typeoff usages\r\n-
[e324334](e324334)
\\[pkg]\r\nAdd ts3.1-typings in npm package\r\n-
[28cc23e](28cc23e)
\\[misc]\r\nRemove deleted generated locale
en-SG\r\n\r\n###\r\n[`v2.25.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)\r\n\r\n[Compare\r\nSource](https://togithub.com/moment/moment/compare/2.24.0...2.25.0)\r\n\r\n-
Release May 1, 2020\r\n\r\n-
[#&#8203;4611](022dc038)\r\n\\[feature]
Support for strict string parsing,
fixes\r\n[#&#8203;2469](https://togithub.com/moment/moment/issues/2469)\r\n\r\n-
[#&#8203;4599](4b615b9d)\r\n\\[feature]
Add support for eras in en and jp\r\n\r\n-
[#&#8203;4296](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://togithub.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)\r\n\r\n[Compare\r\nSource](https://togithub.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://togithub.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://togithub.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>
2025-01-16 20:26:40 +00:00
..
.npmignore chore(NA): upgrades bazel rules nodejs to v5 (#129522) 2022-04-08 20:42:37 +01:00
BUILD.bazel Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00
index.test.js Upgrade to Jest 29 (#143319) 2022-11-18 09:40:16 -06:00
index.ts chore(NA): remove src folder requirement from packages (part 2) (#138476) 2022-08-30 15:57:35 +01:00
jest.config.js chore(NA): upgrades bazel rules nodejs to v5 (#129522) 2022-04-08 20:42:37 +01:00
kibana.jsonc Update codeowners to move AppServices packages to DataDiscovery (#149065) 2023-01-18 13:34:28 -07:00
package.json [8.16] Update moment (main) (#206181) (#206994) 2025-01-16 20:26:40 +00:00
README.md chore(NA): upgrades bazel rules nodejs to v5 (#129522) 2022-04-08 20:42:37 +01:00
tsconfig.json Transpile packages on demand, validate all TS projects (#146212) 2022-12-22 19:00:29 -06:00

datemath

Datemath string parser used in Kibana. This is published to NPM under (@elastic/datemath) for use in a limited number of locations outside of Kibana, but is not regularly updated and may get seriously out of date.

If you file an issue in elastic/kibana we can probably update it for you if needed, though you probably shouldn't depend on this package for anything important.