Skip to content

Commit

Permalink
Bump date-fns from 4.0.0 to 4.1.0 in /frontend (#914)
Browse files Browse the repository at this point in the history
Bumps [date-fns](https://github.com/date-fns/date-fns) from 4.0.0 to
4.1.0.
<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>v4.1.0</h2>
<p>This release adds time zone support to format functions (that I
somehow missed when working on the feature) and fixes a few bugs.</p>
<p>Make sure also upgrade <code>TZDate</code> to v1.0.2 as it <a
href="https://github.com/date-fns/tz/blob/main/CHANGELOG.md#v102---2024-09-14">includes
a bunch of critical bug fixes</a>.</p>
<h3>Fixed</h3>
<ul>
<li>Fixed internal <code>constructFrom</code> throwing an exception on
<code>null</code> arguments. While <code>null</code> isn't allowed, the
functions should rather return <code>Invalid Date</code> or
<code>NaN</code> in such cases. See <a
href="https://redirect.github.com/date-fns/date-fns/issues/3885">#3885</a>.</li>
</ul>
<h3>Added</h3>
<ul>
<li>Added missing time zone support to <code>format</code>,
<code>formatISO</code>, <code>formatISO9075</code>,
<code>formatRelative</code> and <code>formatRFC3339</code>. See <a
href="https://redirect.github.com/date-fns/date-fns/issues/3886">#3886</a>.</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>v4.1.0 - 2024-09-17</h2>
<p>This release adds time zone support to format functions (that I
somehow missed when working on the feature) and fixes a few bugs.</p>
<p>Make sure also upgrade <code>TZDate</code> to v1.0.2 as it <a
href="https://github.com/date-fns/tz/blob/main/CHANGELOG.md#v102---2024-09-14">includes
a bunch of critical bug fixes</a>.</p>
<h3>Fixed</h3>
<ul>
<li>Fixed internal <code>constructFrom</code> throwing an exception on
<code>null</code> arguments. While <code>null</code> isn't allowed, the
functions should rather return <code>Invalid Date</code> or
<code>NaN</code> in such cases. See <a
href="https://redirect.github.com/date-fns/date-fns/issues/3885">#3885</a>.</li>
</ul>
<h3>Added</h3>
<ul>
<li>Added missing time zone support to <code>format</code>,
<code>formatISO</code>, <code>formatISO9075</code>,
<code>formatRelative</code> and <code>formatRFC3339</code>. See <a
href="https://redirect.github.com/date-fns/date-fns/issues/3886">#3886</a>.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/date-fns/date-fns/commit/313b902b9a72c64501074db9bc2b9897d2db5140"><code>313b902</code></a>
Fix v4.1.0 change log entry</li>
<li><a
href="https://github.com/date-fns/date-fns/commit/26cd336cc239cf543337ac33f3ae5367d3292469"><code>26cd336</code></a>
Promote to v4.1.0</li>
<li><a
href="https://github.com/date-fns/date-fns/commit/97b53b97e993c6d6aadcdc31b9042397a4c00f03"><code>97b53b9</code></a>
Cover time zone edge cases</li>
<li><a
href="https://github.com/date-fns/date-fns/commit/59b756385a205d554c9799fa7b28a0c52ddc0281"><code>59b7563</code></a>
Add missing time zone support to format, formatISO, formatISO9075,
formatRela...</li>
<li><a
href="https://github.com/date-fns/date-fns/commit/0121164052a65667ef31c0285a48afb8064dfe8b"><code>0121164</code></a>
Prevent constructFrom from throwing an error on null</li>
<li><a
href="https://github.com/date-fns/date-fns/commit/bd87ef5848ebb93c5b3e2f6fc2f7e10b4e72041a"><code>bd87ef5</code></a>
Update <code>@​date-fns/docs</code></li>
<li>See full diff in <a
href="https://github.com/date-fns/date-fns/compare/v4.0.0...v4.1.0">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=4.0.0&new-version=4.1.0)](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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 17, 2024
1 parent ae472de commit 6100cf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"axios": "^1.7.4",
"clsx": "^2.0.0",
"cookies-next": "^4.2.0",
"date-fns": "^4.0.0",
"date-fns": "^4.1.0",
"dayjs": "^1.11.10",
"i18next": "^23.15.0",
"next": "^14.2.2",
Expand Down
8 changes: 4 additions & 4 deletions frontend/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2256,10 +2256,10 @@ data-view-byte-offset@^1.0.0:
es-errors "^1.3.0"
is-data-view "^1.0.1"

date-fns@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-4.0.0.tgz#3a2c76d061c13439660b0524300df93617ce0880"
integrity sha512-6K33+I8fQ5otvHgLIvKK1xmMbLAh0pduyrx7dwMXKiGYeoWhmk6M3Zoak9n7bXHMJQlHq1yqmdGy1QxKddJjUA==
date-fns@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-4.1.0.tgz#64b3d83fff5aa80438f5b1a633c2e83b8a1c2d14"
integrity sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==

dayjs@^1.11.10:
version "1.11.10"
Expand Down

0 comments on commit 6100cf7

Please sign in to comment.