Skip to content

Commit

Permalink
fix(deps): Bump date-fns from 2.30.0 to 3.0.6 (#59)
Browse files Browse the repository at this point in the history
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.0.6.
<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>v3.0.6</h2>
<p>On this release worked <a href="https://github.com/imwh0im"><code>@​imwh0im</code></a>, <a href="https://github.com/jamcry"><code>@​jamcry</code></a> and <a href="https://github.com/tyrw"><code>@​tyrw</code></a>.</p>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/date-fns/date-fns/pull/3628">Fixed bug in <code>areIntervalsOverlapping</code> caused by incorrect sorting</a> (<a href="https://redirect.github.com/date-fns/date-fns/issues/3614">#3614</a>)</li>
</ul>
<h2>v3.0.5</h2>
<p>This release is brought to you by <a href="https://github.com/goku4199"><code>@​goku4199</code></a>.</p>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/date-fns/date-fns/pull/3626">Fixed internal <code>toDate</code> not processing string arguments properly</a></li>
</ul>
<h2>v3.0.4</h2>
<p>This release is brought to you by <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>.</p>
<h3>Fixed</h3>
<ul>
<li>Fixed isWithinInterval bug caused by incorrectly sorting dates (<a href="https://redirect.github.com/date-fns/date-fns/issues/3623">#3623</a>).</li>
</ul>
<h2>v3.0.3</h2>
<h3>Fixed</h3>
<ul>
<li>Rolled back pointing ESM types to the same <code>d.ts</code> files. Instead, now it copies the content to avoid <a href="https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md">the Masquerading as CJS problem</a> reported by &quot;Are the types wrong?&quot;.</li>
</ul>
<h2>v3.0.2</h2>
<h3>Fixed</h3>
<ul>
<li>
<p>Fixed <a href="https://redirect.github.com/date-fns/date-fns/issues/3620">yet another issue caused by ESM types</a> by pointing to the same <code>d.ts</code> files.</p>
</li>
<li>
<p><a href="https://redirect.github.com/date-fns/date-fns/pull/3601">Added <code>package.json</code> to exports</a> to provide access to tooling.</p>
</li>
<li>
<p><a href="https://redirect.github.com/date-fns/date-fns/pull/3598">Fixed TypeScript 5.4 build break</a> by using the latest type names.</p>
</li>
</ul>
<h2>v3.0.1</h2>
<h2>Fixed</h2>
<ul>
<li><a href="https://redirect.github.com/date-fns/date-fns/pull/3618">Fixed an error</a> in certain environments caused by <code>d.mts</code> files exporting only types.</li>
</ul>
<h2>v3.0.0</h2>
<h3>Changed</h3>
<ul>
<li>
<p><strong>BREAKING</strong>: date-fns is now a dual-package with the support of both ESM and CommonJS. The files exports are now explicitly in the <code>package.json</code>. The ESM files now have <code>.mjs</code> extension.</p>
</li>
<li>
<p><strong>BREAKING</strong>: The package now has a flat structure, meaning functions are now named <code>node_modules/date-fns/add.mjs</code>, locales are <code>node_modules/date-fns/locale/enUS.mjs</code>, etc.</p>
</li>
<li>
<p><strong>BREAKING</strong>: Now all file content’s exported via named exports instead of <code>export default</code>, which will require change direct imports i.e. <code>const addDays = require(‘date-fns/addDays’)</code> to <code>const { addDays } = require(‘date-fns/addDays’)</code>.</p>
</li>
<li>
<p><strong>BREAKING</strong>: TypeScript types are now completely rewritten, check out the <code>d.ts</code> files for more information.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</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>v3.0.6 - 2023-12-22</h2>
<p>On this release worked <a href="https://github.com/imwh0im"><code>@​imwh0im</code></a>, <a href="https://github.com/jamcry"><code>@​jamcry</code></a> and <a href="https://github.com/tyrw"><code>@​tyrw</code></a>.</p>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/date-fns/date-fns/pull/3628">Fixed bug in <code>areIntervalsOverlapping</code> caused by incorrect sorting</a> (<a href="https://redirect.github.com/date-fns/date-fns/issues/3614">#3614</a>)</li>
</ul>
<h2>v3.0.5 - 2023-12-21</h2>
<p>This release is brought to you by <a href="https://github.com/goku4199"><code>@​goku4199</code></a>.</p>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/date-fns/date-fns/pull/3626">Fixed internal <code>toDate</code> not processing string arguments properly</a></li>
</ul>
<h2>v3.0.4 - 2023-12-21</h2>
<p>This release is brought to you by <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>.</p>
<h3>Fixed</h3>
<ul>
<li>Fixed isWithinInterval bug caused by incorrectly sorting dates (<a href="https://redirect.github.com/date-fns/date-fns/issues/3623">#3623</a>).</li>
</ul>
<h2>v3.0.3 - 2023-12-21</h2>
<h3>Fixed</h3>
<ul>
<li>Rolled back pointing ESM types to the same <code>d.ts</code> files. Instead now it copies the content to avoid <a href="https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md">the Masquerading as CJS problem</a> reported by &quot;Are the types wrong?&quot;.</li>
</ul>
<h2>v3.0.2 - 2023-12-21</h2>
<h3>Fixed</h3>
<ul>
<li>
<p>Fixed <a href="https://redirect.github.com/date-fns/date-fns/issues/3620">yet another issue caused by ESM types</a> by pointing to the same <code>d.ts</code> files.</p>
</li>
<li>
<p><a href="https://redirect.github.com/date-fns/date-fns/pull/3601">Added <code>package.json</code> to exports</a> to provide access to tooling.</p>
</li>
<li>
<p><a href="https://redirect.github.com/date-fns/date-fns/pull/3598">Fixed TypeScript 5.4 build break</a> by using the latest type names.</p>
</li>
</ul>
<h2>v3.0.1 - 2023-12-20</h2>
<h3>Fixed</h3>
<ul>
<li><a href="https://redirect.github.com/date-fns/date-fns/pull/3618">Fixed an error</a> in certain environments caused by <code>d.mts</code> files exporting only types.</li>
</ul>
<h2>v3.0.0 - 2023-12-18</h2>
<h3>Changed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/date-fns/date-fns/commit/bc5b2f67c50dda14c21d3cc76e95c37069634d90"><code>bc5b2f6</code></a> Promote to v3.0.6</li>
<li><a href="https://github.com/date-fns/date-fns/commit/9ac551ce5c4f87b298c75cc961f50f9019b3f38b"><code>9ac551c</code></a> Fix bug in areIntervalsOverlapping (<a href="https://redirect.github.com/date-fns/date-fns/issues/3628">#3628</a>) (closes <a href="https://redirect.github.com/date-fns/date-fns/issues/3614">#3614</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/a49902e17c89f84642c30e52bc8d67d56dbe6afe"><code>a49902e</code></a> Update <code>formatRelative</code> docs (<a href="https://redirect.github.com/date-fns/date-fns/issues/3489">#3489</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/34c049b97f8e69d9695fc05038e622274253430c"><code>34c049b</code></a> Update wikipedia location (<a href="https://redirect.github.com/date-fns/date-fns/issues/3629">#3629</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/57a9b735d8d69a8d8529fbe0b91d7b8384bbf514"><code>57a9b73</code></a> Promote to v3.0.5</li>
<li><a href="https://github.com/date-fns/date-fns/commit/e2d52cef078d47128bb3e35255e9b5340b748a10"><code>e2d52ce</code></a> Removed typo in toDate/index.ts (<a href="https://redirect.github.com/date-fns/date-fns/issues/3626">#3626</a>)</li>
<li><a href="https://github.com/date-fns/date-fns/commit/c15e891db9fac629b053452081b3d66fe0670da1"><code>c15e891</code></a> Promote to v3.0.4</li>
<li><a href="https://github.com/date-fns/date-fns/commit/0d1a223993737dbefb98a668c8394f1b31743ced"><code>0d1a223</code></a> Fix isWithinInterval not sorting dates correctly</li>
<li><a href="https://github.com/date-fns/date-fns/commit/d1773c3b5469289750a70759ad5f7bee1f49ecc4"><code>d1773c3</code></a> Promote to v3.0.3</li>
<li><a href="https://github.com/date-fns/date-fns/commit/647334b4d130ae2ae1381d1a59966891dba035a4"><code>647334b</code></a> Copy d.mts files instead</li>
<li>Additional commits viewable in <a href="https://github.com/date-fns/date-fns/compare/v2.30.0...v3.0.6">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.30.0&new-version=3.0.6)](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>
  • Loading branch information
dependabot[bot] authored Dec 23, 2023
1 parent f8acddd commit 2ef074c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
22 changes: 9 additions & 13 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 @@ -51,7 +51,7 @@
},
"dependencies": {
"cloudevents": ">= 8.0.0, < 9.0.0",
"date-fns": "^2.30.0"
"date-fns": "^3.0.6"
},
"peerDependencies": {
"cloudevents": ">= 8.0.0, < 9.0.0"
Expand Down

0 comments on commit 2ef074c

Please sign in to comment.