Skip to content

Commit

Permalink
Update moment (main) (#206181)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [moment](https://momentjs.com)
([source](https://togithub.com/moment/moment)) | peerDependencies |
minor | [`^2.24.0` ->
`^2.30.1`](https://renovatebot.com/diffs/npm/moment/2.24.0/2.30.1) |
| [moment-timezone](http://momentjs.com/timezone/)
([source](https://togithub.com/moment/moment-timezone)) | dependencies |
patch | [`^0.5.45` ->
`^0.5.46`](https://renovatebot.com/diffs/npm/moment-timezone/0.5.45/0.5.46)
|

---

### Release Notes

<details>
<summary>moment/moment (moment)</summary>

###
[`v2.30.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2301)

[Compare
Source](https://togithub.com/moment/moment/compare/2.30.0...2.30.1)

-   Release Dec 27, 2023
- Revert
[https://github.com/moment/moment/pull/5827](https://togithub.com/moment/moment/pull/5827),
because it's breaking
    a lot of TS code.

###
[`v2.30.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2300-Full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.4...2.30.0)

-   Release Dec 26, 2023

###
[`v2.29.4`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2294)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.3...2.29.4)

-   Release Jul 6, 2022
- [#&#8203;6015](https://togithub.com/moment/moment/pull/6015) \[bugfix]
Fix ReDoS in preprocessRFC2822 regex

###
[`v2.29.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2293-Full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.2...2.29.3)

-   Release Apr 17, 2022
- [#&#8203;5995](https://togithub.com/moment/moment/pull/5995) \[bugfix]
Remove const usage
- [#&#8203;5990](https://togithub.com/moment/moment/pull/5990) misc: fix
advisory link

###
[`v2.29.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2292-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.1...2.29.2)

-   Release Apr 3 2022

Address
GHSA-8hfj-j24r-96c4

###
[`v2.29.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2291-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.29.0...2.29.1)

-   Release Oct 6, 2020

Updated deprecation message, bugfix in hi locale

###
[`v2.29.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2290-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.28.0...2.29.0)

-   Release Sept 22, 2020

New locales (es-mx, bn-bd).
Minor bugfixes and locale improvements.
More tests.
Moment is in maintenance mode. Read more at this link:
https://momentjs.com/docs/#/-project-status/

###
[`v2.28.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2280-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.27.0...2.28.0)

-   Release Sept 13, 2020

Fix bug where .format() modifies original instance, and locale updates

###
[`v2.27.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2270-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.26.0...2.27.0)

-   Release June 18, 2020

Added Turkmen locale, other locale improvements, slight TypeScript fixes

###
[`v2.26.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2260-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.3...2.26.0)

-   Release May 19, 2020

TypeScript fixes and many locale improvements

###
[`v2.25.3`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2253)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.2...2.25.3)

-   Release May 4, 2020

Remove package.json module property. It looks like webpack behaves
differently
for modules loaded via module vs jsnext:main.

###
[`v2.25.2`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2252)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.1...2.25.2)

-   Release May 4, 2020

This release includes ES Module bundled moment, separate from it's
source code
under dist/ folder. This might alleviate issues with finding the
\`./locale
subfolder for loading locales. This might also mean now webpack will
bundle all
locales automatically, unless told otherwise.

###
[`v2.25.1`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2251)

[Compare
Source](https://togithub.com/moment/moment/compare/2.25.0...2.25.1)

-   Release May 1, 2020

This is a quick patch release to address some of the issues raised after
releasing 2.25.0.

- [2e268635](https://togithub.com/moment/moment/commit/2e268635) \[misc]
Revert [#&#8203;5269](https://togithub.com/moment/moment/issues/5269)
due to webpack warning
- [226799e1](https://togithub.com/moment/moment/commit/226799e1)
\[locale] fil: Fix metadata comment
- [a83a521](https://togithub.com/moment/moment/commit/a83a521) \[bugfix]
Fix typeoff usages
- [e324334](https://togithub.com/moment/moment/commit/e324334) \[pkg]
Add ts3.1-typings in npm package
- [28cc23e](https://togithub.com/moment/moment/commit/28cc23e) \[misc]
Remove deleted generated locale en-SG

###
[`v2.25.0`](https://togithub.com/moment/moment/blob/HEAD/CHANGELOG.md#2250-See-full-changelog)

[Compare
Source](https://togithub.com/moment/moment/compare/2.24.0...2.25.0)

-   Release May 1, 2020

- [#&#8203;4611](https://togithub.com/moment/moment/issues/4611)
[022dc038](https://togithub.com/moment/moment/commit/022dc038)
\[feature] Support for strict string parsing, fixes
[#&#8203;2469](https://togithub.com/moment/moment/issues/2469)

- [#&#8203;4599](https://togithub.com/moment/moment/issues/4599)
[4b615b9d](https://togithub.com/moment/moment/commit/4b615b9d)
\[feature] Add support for eras in en and jp

- [#&#8203;4296](https://togithub.com/moment/moment/issues/4296)
[757d4ff8](https://togithub.com/moment/moment/commit/757d4ff8)
\[feature] Accept custom relative thresholds in duration.humanize

-   18 bigfixes

-   36 locale fixes

-   5 new locales (oc-lnc, zh-mo, en-in, gom-deva, fil)

</details>

<details>
<summary>moment/moment-timezone (moment-timezone)</summary>

###
[`v0.5.46`](https://togithub.com/moment/moment-timezone/blob/HEAD/changelog.md#0546-2024-10-06)

[Compare
Source](https://togithub.com/moment/moment-timezone/compare/0.5.45...0.5.46)

- Updated data to IANA TZDB `2024b`. This only affects historical
timestamps; no future timestamps have changed.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Elastic Machine <[email protected]>
  • Loading branch information
1 parent f538cf5 commit c28b173
Show file tree
Hide file tree
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
Expand Up @@ -1175,7 +1175,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",
Expand Down
2 changes: 1 addition & 1 deletion src/platform/packages/shared/kbn-datemath/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -24703,10 +24703,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"

Expand Down

0 comments on commit c28b173

Please sign in to comment.