Skip to content

Commit

Permalink
fix(deps): bump date-fns from 2.28.0 to 2.29.1 (#493)
Browse files Browse the repository at this point in the history
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.28.0 to 2.29.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/date-fns/date-fns/releases">date-fns's releases</a>.</em></p>
<blockquote>
<h2>v2.29.1 - 2022-07-22</h2>
<p>Thanks to <a href="https://github.com/fturmel"><code>@​fturmel</code></a> for working on the release.</p>
<h3>Fixed</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3125">Fixed TypeScript and flow types for daysInYear constant.</a></li>
</ul>
<h2>v2.29.0</h2>
<p>On this release worked <a href="https://github.com/tan75"><code>@​tan75</code></a>, <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/nopears"><code>@​nopears</code></a>, <a href="https://github.com/Balastrong"><code>@​Balastrong</code></a>, <a href="https://github.com/cpapazoglou"><code>@​cpapazoglou</code></a>, <a href="https://github.com/dovca"><code>@​dovca</code></a>, <a href="https://github.com/aliasgar55"><code>@​aliasgar55</code></a>, <a href="https://github.com/tomchentw"><code>@​tomchentw</code></a>, <a href="https://github.com/JuanM04"><code>@​JuanM04</code></a>, <a href="https://github.com/alexandresaura"><code>@​alexandresaura</code></a>, <a href="https://github.com/fturmel"><code>@​fturmel</code></a>, <a href="https://github.com/aezell"><code>@​aezell</code></a>, <a href="https://github.com/andersravn"><code>@​andersravn</code></a>, <a href="https://github.com/TiagoPortfolio"><code>@​TiagoPortfolio</code></a>, <a href="https://github.com/SukkaW"><code>@​SukkaW</code></a>, <a href="https://github.com/Zebreus"><code>@​Zebreus</code></a>, <a href="https://github.com/aviskarkc10"><code>@​aviskarkc10</code></a>, <a href="https://github.com/maic66"><code>@​maic66</code></a>, <a href="https://github.com/a-korzun"><code>@​a-korzun</code></a>, <a href="https://github.com/Mejans"><code>@​Mejans</code></a>, <a href="https://github.com/davidspiess"><code>@​davidspiess</code></a>, <a href="https://github.com/alexgul1"><code>@​alexgul1</code></a>, <a href="https://github.com/matroskin062"><code>@​matroskin062</code></a>, <a href="https://github.com/undecaf"><code>@​undecaf</code></a>, <a href="https://github.com/mprovenc"><code>@​mprovenc</code></a>, <a href="https://github.com/jooola"><code>@​jooola</code></a> and <a href="https://github.com/leshakoss"><code>@​leshakoss</code></a>.</p>
<h3>Added</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2173">Added <code>intlFormatDistance</code> function.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3069">Added <code>setDefaultOptions</code> and <code>getDefaultOptions</code> functions that allow you to set default default locale, <code>weekStartsOn</code> and <code>firstWeekContainsDate</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3091">Added <code>roundingMethod</code> option to <code>roundToNearestMinutes</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2886">Added Swiss Italian locale (<code>it-CH</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2106">Added Occitan (<code>oc</code>) locale.</a> (<a href="https://github-redirect.dependabot.com/date-fns/date-fns/issues/2061">#2061</a>)</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3115">Added Belarusian Classic (<code>be-tarask</code>) locale.</a></p>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2924">Fixed Azerbaijani (<code>az</code>) locale for <code>formatDistance</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3059">Fixed Czech (<code>cs</code>) locale for <code>parse</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2941">Fixed TypeScript types for constants.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3014">Fixed long formatters in the South African English locale (<code>en-ZA</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2974">Fixed a typo in the Icelandic locale (<code>is</code>) for <code>format</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2992">Fixed weekday format for <code>formatRelative</code> in the Portuguese locale (<code>pt</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2616">Fixed <code>intervalToDuration</code> being off by 1 day sometimes.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/1617">Fixed ordinal number formatting in Italian locale (<code>it</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2898">Fixed issue parsing months in Croatian (<code>hr</code>), Georgian (<code>ka</code>) and Serbian (<code>sr</code> and <code>sr-Latn</code>) locales.</a></p>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3021">Replaced <code>git.io</code> links with full URLs in error messages.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2905"><em>Internal</em>: removed &quot;v2.0.0 breaking changes&quot; section from individual function docs</a></p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/date-fns/date-fns/blob/main/CHANGELOG.md">date-fns's changelog</a>.</em></p>
<blockquote>
<h2>v2.29.1 - 2022-07-22</h2>
<p>Thanks to <a href="https://github.com/fturmel"><code>@​fturmel</code></a> for working on the release.</p>
<h3>Fixed</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3125">Fixed TypeScript and flow types for daysInYear constant.</a></li>
</ul>
<h2>v2.29.0 - 2022-07-22</h2>
<p>On this release worked <a href="https://github.com/tan75"><code>@​tan75</code></a>, <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/nopears"><code>@​nopears</code></a>, <a href="https://github.com/Balastrong"><code>@​Balastrong</code></a>, <a href="https://github.com/cpapazoglou"><code>@​cpapazoglou</code></a>, <a href="https://github.com/dovca"><code>@​dovca</code></a>, <a href="https://github.com/aliasgar55"><code>@​aliasgar55</code></a>, <a href="https://github.com/tomchentw"><code>@​tomchentw</code></a>, <a href="https://github.com/JuanM04"><code>@​JuanM04</code></a>, <a href="https://github.com/alexandresaura"><code>@​alexandresaura</code></a>, <a href="https://github.com/fturmel"><code>@​fturmel</code></a>, <a href="https://github.com/aezell"><code>@​aezell</code></a>, <a href="https://github.com/andersravn"><code>@​andersravn</code></a>, <a href="https://github.com/TiagoPortfolio"><code>@​TiagoPortfolio</code></a>, <a href="https://github.com/SukkaW"><code>@​SukkaW</code></a>, <a href="https://github.com/Zebreus"><code>@​Zebreus</code></a>, <a href="https://github.com/aviskarkc10"><code>@​aviskarkc10</code></a>, <a href="https://github.com/maic66"><code>@​maic66</code></a>, <a href="https://github.com/a-korzun"><code>@​a-korzun</code></a>, <a href="https://github.com/Mejans"><code>@​Mejans</code></a>, <a href="https://github.com/davidspiess"><code>@​davidspiess</code></a>, <a href="https://github.com/alexgul1"><code>@​alexgul1</code></a>, <a href="https://github.com/matroskin062"><code>@​matroskin062</code></a>, <a href="https://github.com/undecaf"><code>@​undecaf</code></a>, <a href="https://github.com/mprovenc"><code>@​mprovenc</code></a>, <a href="https://github.com/jooola"><code>@​jooola</code></a> and <a href="https://github.com/leshakoss"><code>@​leshakoss</code></a>.</p>
<h3>Added</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2173">Added <code>intlFormatDistance</code> function`.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3069">Added <code>setDefaultOptions</code> and <code>getDefaultOptions</code> functions that allow you to set default default locale, <code>weekStartsOn</code> and <code>firstWeekContainsDate</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3091">Added <code>roundingMethod</code> option to <code>roundToNearestMinutes</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2886">Added Swiss Italian locale (<code>it-CH</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2106">Added Occitan (<code>oc</code>) locale.</a> (<a href="https://github-redirect.dependabot.com/date-fns/date-fns/issues/2061">#2061</a>)</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3115">Added Belarusian Classic (<code>be-tarask</code>) locale.</a></p>
</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2924">Fixed Azerbaijani (<code>az</code>) locale for <code>formatDistance</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3059">Fixed Czech (<code>cs</code>) locale for <code>parse</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2941">Fixed TypeScript types for constants.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3014">Fixed long formatters in the South African English locale (<code>en-ZA</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2974">Fixed a typo in the Icelandic locale (<code>is</code>) for <code>format</code>.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2992">Fixed weekday format for <code>formatRelative</code> in the Portuguese locale (<code>pt</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2616">Fixed <code>intervalToDuration</code> being off by 1 day sometimes.</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/1617">Fixed ordinal number formatting in Italian locale (<code>it</code>).</a></p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/2898">Fixed issue parsing months in Croatian (<code>hr</code>), Georgian (<code>ka</code>) and Serbian (<code>sr</code> and <code>sr-Latn</code>) locales.</a></p>
</li>
</ul>
<h3>Changed</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/date-fns/date-fns/pull/3021">Replaced <code>git.io</code> links with full URLs in error messages.</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/date-fns/date-fns/commit/ee5a9d2f090c2c6084478fb8b992851038c79957"><code>ee5a9d2</code></a> Add changelog entry for 2.29.1</li>
<li><a href="https://github.com/date-fns/date-fns/commit/04f4aaede38c1cf682e91ef9a215ea7f0c674360"><code>04f4aae</code></a> Add <code>@name</code> in constants jsdocs to fix type generation (<a href="https://github-redirect.dependabot.com/date-fns/date-fns/issues/3125">#3125</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/c5065fe9ee609f46552622293fb5063b2a1837e7"><code>c5065fe</code></a> Added change log entry for 2.29.0</li>
<li><a href="https://github.com/date-fns/date-fns/commit/277fcc53135197b05b7f7f156a9df7349ed05a59"><code>277fcc5</code></a> Add &quot;set global locale&quot; example to setDefaultOptions</li>
<li><a href="https://github.com/date-fns/date-fns/commit/6d8e424021f31edacc46b8b55a823fa3b54cc08c"><code>6d8e424</code></a> Rebuild types and indices</li>
<li><a href="https://github.com/date-fns/date-fns/commit/907be0a7d36eb70300fd5951cfd82b957707064d"><code>907be0a</code></a> Rename Classic Belarusian locale to be-tarask</li>
<li><a href="https://github.com/date-fns/date-fns/commit/1e80c71f9aaa4af42f45c5c6c721dd82d3d62d4e"><code>1e80c71</code></a> Added Belarusian Classic (Tarask) language support (<a href="https://github-redirect.dependabot.com/date-fns/date-fns/issues/3115">#3115</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/a2a8d82f0548aa1494fb1ca1e73a195ae9f81d81"><code>a2a8d82</code></a> Move RoundToNearestMinutesOptions back to types.ts</li>
<li><a href="https://github.com/date-fns/date-fns/commit/b78bef0abdb7583d6f500e6e7a645e4b2ec46159"><code>b78bef0</code></a> Added support for ceil and floor in roundToNearestMinutes (<a href="https://github-redirect.dependabot.com/date-fns/date-fns/issues/3091">#3091</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/345fa6c388dd3a3c6c2659e52f8feabcfa0fdd7c"><code>345fa6c</code></a> formatDistance: fixes suffix for AZ (<a href="https://github-redirect.dependabot.com/date-fns/date-fns/issues/2924">#2924</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/date-fns/date-fns/compare/v2.28.0...v2.29.1">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=date-fns&package-manager=npm_and_yarn&previous-version=2.28.0&new-version=2.29.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
dependabot[bot] authored Jul 25, 2022
1 parent 06331e4 commit a020d3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 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 @@ -45,7 +45,7 @@
"@types/verror": "^1.10.5",
"asn1js": "^3.0.5",
"buffer-to-arraybuffer": "0.0.6",
"date-fns": "^2.28.0",
"date-fns": "^2.29.1",
"dohdec": "^3.1.0",
"is-valid-domain": "^0.1.6",
"moment": "^2.29.4",
Expand Down

0 comments on commit a020d3e

Please sign in to comment.