[PR #345] [MERGED] fix(deps): bump date-fns from 2.30.0 to 3.3.1 in /web #370

Closed
opened 2026-03-03 16:38:03 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/NdoleStudio/httpsms/pull/345
Author: @dependabot[bot]
Created: 2/1/2024
Status: Merged
Merged: 2/1/2024
Merged by: @AchoArnold

Base: mainHead: dependabot/npm_and_yarn/web/date-fns-3.3.1


📝 Commits (1)

  • 236356b fix(deps): bump date-fns from 2.30.0 to 3.3.1 in /web

📊 Changes

2 files changed (+5 additions, -8 deletions)

View changed files

📝 web/package.json (+1 -1)
📝 web/pnpm-lock.yaml (+4 -7)

📄 Description

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps date-fns from 2.30.0 to 3.3.1.

Release notes

Sourced from date-fns's releases.

v3.3.1

Kudos to @​kossnocorp and @​fturmel for working on the release.

Fixed

  • Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.

  • Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.

v3.3.0

On this release worked @​kossnocorp, @​TheKvikk, @​fturmel and @​ckcherry23.

Fixed

  • Fixed the bug in getOverlappingDaysInIntervals caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.

  • Fixed bugs when working with negative numbers caused by using Math.floor (-1.1-2) instead of Math.trunc (-1.1-1). Most of the conversion functions (i.e., hoursToMinutes) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.

    The functions that were affected: format, parse, getUnixTime, daysToWeeks, hoursToMilliseconds, hoursToMinutes, hoursToSeconds, milliseconds, minutesToMilliseconds, millisecondsToMinutes, monthsToYears, millisecondsToHours, millisecondsToSeconds, minutesToHours, minutesToSeconds, yearsToQuarters, yearsToMonths, yearsToDays, weeksToDays, secondsToMinutes, secondsToHours, quartersToYears, quartersToMonths and monthsToQuarters.

  • Fixed the Czech locale's formatDistance to include 1 in formatDistance.

  • Fixed differenceInSeconds and other functions relying on rounding options that can produce a negative 0.

  • Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale. (#1391)

  • Added missing yearsToDays to the FP submodule.

  • Made functions using rounding methods always return 0 instead of -0.

Added

v3.2.0

This release is brought to you by @​kossnocorp, @​fturmel, @​grossbart, @​MelvinVermeer, and @​jcarstairs-scottlogic.

Fixed

Added

  • Added exports of format, lightFormat, and parse internals that enable 3rd-parties to consume those.

v3.1.0

This release is brought to you by @​kossnocorp, @​makstyle119 and @​dmgawel.

... (truncated)

Changelog

Sourced from date-fns's changelog.

v3.3.1 - 2024-01-22

Kudos to @​kossnocorp and @​fturmel for working on the release.

Fixed

  • Fixed DST issue in getOverlappingDaysInIntervals, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.

  • Fixed functions incorrectly using trunc instead of round. The bug was introduced in v3.3.0. The affected functions: differenceInCalendarDays, differenceInCalendarISOWeeks, differenceInCalendarWeeks, getISOWeek, getWeek, and getISOWeeksInYear.

v3.3.0 - 2024-01-20

On this release worked @​kossnocorp, @​TheKvikk, @​fturmel and @​ckcherry23.

Fixed

  • Fixed the bug in getOverlappingDaysInIntervals caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.

  • Fixed bugs when working with negative numbers caused by using Math.floor (-1.1-2) instead of Math.trunc (-1.1-1). Most of the conversion functions (i.e., hoursToMinutes) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.

    The functions that were affected: format, parse, getUnixTime, daysToWeeks, hoursToMilliseconds, hoursToMinutes, hoursToSeconds, milliseconds, minutesToMilliseconds, millisecondsToMinutes, monthsToYears, millisecondsToHours, millisecondsToSeconds, minutesToHours, minutesToSeconds, yearsToQuarters, yearsToMonths, yearsToDays, weeksToDays, secondsToMinutes, secondsToHours, quartersToYears, quartersToMonths and monthsToQuarters.

  • Fixed the Czech locale's formatDistance to include 1 in formatDistance.

  • Fixed differenceInSeconds and other functions relying on rounding options that can produce a negative 0.

  • Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale. (#1391)

  • Added missing yearsToDays to the FP submodule.

  • Made functions using rounding methods always return 0 instead of -0.

Added

v3.2.0 - 2024-01-09

This release is brought to you by @​kossnocorp, @​fturmel, @​grossbart, @​MelvinVermeer, and @​jcarstairs-scottlogic.

Fixed

Added

  • Added exports of format, lightFormat, and parse internals that enable 3rd-parties to consume those.

... (truncated)

Commits
  • 35c1858 Upgrade Vitest
  • aa264e3 Fix DST issue in getOverlappingDaysInIntervals
  • a960fc2 Enable extended timezone tests on main
  • 2939472 Fix incorrect rounding introduced in v3.3.0
  • ff60d48 Fix browser tests (#3677)
  • 659ad02 Update v3.3.0 changelog
  • 3e4af15 What's wrong with you, Lodash?
  • 3707906 Prepare v3.3.0
  • fadd58b Add missing yearsToDays to FP
  • ad2c654 Fix bug in getOverlappingDaysInIntervals
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/NdoleStudio/httpsms/pull/345 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 2/1/2024 **Status:** ✅ Merged **Merged:** 2/1/2024 **Merged by:** [@AchoArnold](https://github.com/AchoArnold) **Base:** `main` ← **Head:** `dependabot/npm_and_yarn/web/date-fns-3.3.1` --- ### 📝 Commits (1) - [`236356b`](https://github.com/NdoleStudio/httpsms/commit/236356bca60215e0a73cf6d55735b5663ef670b3) fix(deps): bump date-fns from 2.30.0 to 3.3.1 in /web ### 📊 Changes **2 files changed** (+5 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `web/package.json` (+1 -1) 📝 `web/pnpm-lock.yaml` (+4 -7) </details> ### 📄 Description [//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.30.0 to 3.3.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>v3.3.1</h2> <p>Kudos to <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a> and <a href="https://github.com/fturmel"><code>@​fturmel</code></a> for working on the release.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed DST issue in <code>getOverlappingDaysInIntervals</code>, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.</p> </li> <li> <p>Fixed functions incorrectly using <code>trunc</code> instead of <code>round</code>. The bug was introduced in v3.3.0. The affected functions: <code>differenceInCalendarDays</code>, <code>differenceInCalendarISOWeeks</code>, <code>differenceInCalendarWeeks</code>, <code>getISOWeek</code>, <code>getWeek</code>, and <code>getISOWeeksInYear</code>.</p> </li> </ul> <h2>v3.3.0</h2> <p>On this release worked <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/TheKvikk"><code>@​TheKvikk</code></a>, <a href="https://github.com/fturmel"><code>@​fturmel</code></a> and <a href="https://github.com/ckcherry23"><code>@​ckcherry23</code></a>.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed the bug in <code>getOverlappingDaysInIntervals</code> caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.</p> </li> <li> <p>Fixed bugs when working with negative numbers caused by using <code>Math.floor</code> (<code>-1.1</code> → <code>-2</code>) instead of <code>Math.trunc</code> (<code>-1.1</code> → <code>-1</code>). Most of the conversion functions (i.e., <code>hoursToMinutes</code>) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.</p> <p>The functions that were affected: <code>format</code>, <code>parse</code>, <code>getUnixTime</code>, <code>daysToWeeks</code>, <code>hoursToMilliseconds</code>, <code>hoursToMinutes</code>, <code>hoursToSeconds</code>, <code>milliseconds</code>, <code>minutesToMilliseconds</code>, <code>millisecondsToMinutes</code>, <code>monthsToYears</code>, <code>millisecondsToHours</code>, <code>millisecondsToSeconds</code>, <code>minutesToHours</code>, <code>minutesToSeconds</code>, <code>yearsToQuarters</code>, <code>yearsToMonths</code>, <code>yearsToDays</code>, <code>weeksToDays</code>, <code>secondsToMinutes</code>, <code>secondsToHours</code>, <code>quartersToYears</code>, <code>quartersToMonths</code> and <code>monthsToQuarters</code>.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3269">Fixed the Czech locale's <code>formatDistance</code> to include <code>1</code> in <code>formatDistance</code>.</a></p> </li> <li> <p>Fixed <code>differenceInSeconds</code> and other functions relying on rounding options that can produce a negative 0.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3662">Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale.</a> (<a href="https://redirect.github.com/date-fns/date-fns/issues/1391">#1391</a>)</p> </li> <li> <p>Added missing <code>yearsToDays</code> to the FP submodule.</p> </li> <li> <p>Made functions using rounding methods always return <code>0</code> instead of <code>-0</code>.</p> </li> </ul> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/date-fns/date-fns/pull/3653">Added <code>format</code> alias <code>formatDate</code> with corresponding <code>FormatDateOptions</code> interface</a>.</li> </ul> <h2>v3.2.0</h2> <p>This release is brought to you by <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/fturmel"><code>@​fturmel</code></a>, <a href="https://github.com/grossbart"><code>@​grossbart</code></a>, <a href="https://github.com/MelvinVermeer"><code>@​MelvinVermeer</code></a>, and <a href="https://github.com/jcarstairs-scottlogic"><code>@​jcarstairs-scottlogic</code></a>.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed types compatibility with Lodash's <code>flow</code> and fp-ts's <code>pipe</code>. (<a href="https://redirect.github.com/date-fns/date-fns/issues/3641">#3641</a>)</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3132">Fixed inconsistent behavior of <code>roundToNearestMinutes</code>.</a></p> </li> </ul> <h3>Added</h3> <ul> <li>Added exports of <code>format</code>, <code>lightFormat</code>, and <code>parse</code> internals that enable 3rd-parties to consume those.</li> </ul> <h2>v3.1.0</h2> <p>This release is brought to you by <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/makstyle119"><code>@​makstyle119</code></a> and <a href="https://github.com/dmgawel"><code>@​dmgawel</code></a>.</p> <!-- 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.3.1 - 2024-01-22</h2> <p>Kudos to <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a> and <a href="https://github.com/fturmel"><code>@​fturmel</code></a> for working on the release.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed DST issue in <code>getOverlappingDaysInIntervals</code>, resulting in an inconsistent number of days returned for intervals starting and ending in different DST periods.</p> </li> <li> <p>Fixed functions incorrectly using <code>trunc</code> instead of <code>round</code>. The bug was introduced in v3.3.0. The affected functions: <code>differenceInCalendarDays</code>, <code>differenceInCalendarISOWeeks</code>, <code>differenceInCalendarWeeks</code>, <code>getISOWeek</code>, <code>getWeek</code>, and <code>getISOWeeksInYear</code>.</p> </li> </ul> <h2>v3.3.0 - 2024-01-20</h2> <p>On this release worked <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/TheKvikk"><code>@​TheKvikk</code></a>, <a href="https://github.com/fturmel"><code>@​fturmel</code></a> and <a href="https://github.com/ckcherry23"><code>@​ckcherry23</code></a>.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed the bug in <code>getOverlappingDaysInIntervals</code> caused by incorrect sorting of interval components that led to 0 for timestamps of different lengths.</p> </li> <li> <p>Fixed bugs when working with negative numbers caused by using <code>Math.floor</code> (<code>-1.1</code> → <code>-2</code>) instead of <code>Math.trunc</code> (<code>-1.1</code> → <code>-1</code>). Most of the conversion functions (i.e., <code>hoursToMinutes</code>) were affected when passing some negative fractional input. Also, some other functions that could be possibly affected by unfortunate timezone/date combinations were fixed.</p> <p>The functions that were affected: <code>format</code>, <code>parse</code>, <code>getUnixTime</code>, <code>daysToWeeks</code>, <code>hoursToMilliseconds</code>, <code>hoursToMinutes</code>, <code>hoursToSeconds</code>, <code>milliseconds</code>, <code>minutesToMilliseconds</code>, <code>millisecondsToMinutes</code>, <code>monthsToYears</code>, <code>millisecondsToHours</code>, <code>millisecondsToSeconds</code>, <code>minutesToHours</code>, <code>minutesToSeconds</code>, <code>yearsToQuarters</code>, <code>yearsToMonths</code>, <code>yearsToDays</code>, <code>weeksToDays</code>, <code>secondsToMinutes</code>, <code>secondsToHours</code>, <code>quartersToYears</code>, <code>quartersToMonths</code> and <code>monthsToQuarters</code>.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3269">Fixed the Czech locale's <code>formatDistance</code> to include <code>1</code> in <code>formatDistance</code>.</a></p> </li> <li> <p>Fixed <code>differenceInSeconds</code> and other functions relying on rounding options that can produce a negative 0.</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3662">Added a preprocessor to the locales API, enabling fixing a long-standing bug in the French locale.</a> (<a href="https://redirect.github.com/date-fns/date-fns/issues/1391">#1391</a>)</p> </li> <li> <p>Added missing <code>yearsToDays</code> to the FP submodule.</p> </li> <li> <p>Made functions using rounding methods always return <code>0</code> instead of <code>-0</code>.</p> </li> </ul> <h3>Added</h3> <ul> <li><a href="https://redirect.github.com/date-fns/date-fns/pull/3653">Added <code>format</code> alias <code>formatDate</code> with corresponding <code>FormatDateOptions</code> interface</a>.</li> </ul> <h2>v3.2.0 - 2024-01-09</h2> <p>This release is brought to you by <a href="https://github.com/kossnocorp"><code>@​kossnocorp</code></a>, <a href="https://github.com/fturmel"><code>@​fturmel</code></a>, <a href="https://github.com/grossbart"><code>@​grossbart</code></a>, <a href="https://github.com/MelvinVermeer"><code>@​MelvinVermeer</code></a>, and <a href="https://github.com/jcarstairs-scottlogic"><code>@​jcarstairs-scottlogic</code></a>.</p> <h3>Fixed</h3> <ul> <li> <p>Fixed types compatability with Lodash's <code>flow</code> and fp-ts's <code>pipe</code>. (<a href="https://redirect.github.com/date-fns/date-fns/issues/3641">#3641</a>)</p> </li> <li> <p><a href="https://redirect.github.com/date-fns/date-fns/pull/3132">Fixed inconsistent behavior of <code>roundToNearestMinutes</code>.</a></p> </li> </ul> <h3>Added</h3> <ul> <li>Added exports of <code>format</code>, <code>lightFormat</code>, and <code>parse</code> internals that enable 3rd-parties to consume those.</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/35c18587805aa0e8cc780c87ebd2f961dcfe8a76"><code>35c1858</code></a> Upgrade Vitest</li> <li><a href="https://github.com/date-fns/date-fns/commit/aa264e394b66af6c2c4d8d4e2774d0b5bb8f9285"><code>aa264e3</code></a> Fix DST issue in getOverlappingDaysInIntervals</li> <li><a href="https://github.com/date-fns/date-fns/commit/a960fc2100f3a6a99f0e8a050979c73670e3982f"><code>a960fc2</code></a> Enable extended timezone tests on main</li> <li><a href="https://github.com/date-fns/date-fns/commit/29394724f78d2c0ff23b3c6a9c93965eb5b0ac66"><code>2939472</code></a> Fix incorrect rounding introduced in v3.3.0</li> <li><a href="https://github.com/date-fns/date-fns/commit/ff60d482987214ac9171adc3ea42a66ebb04da05"><code>ff60d48</code></a> Fix browser tests (<a href="https://redirect.github.com/date-fns/date-fns/issues/3677">#3677</a>)</li> <li><a href="https://github.com/date-fns/date-fns/commit/659ad02d1c93addb725b86160d21729fb5eef9f9"><code>659ad02</code></a> Update v3.3.0 changelog</li> <li><a href="https://github.com/date-fns/date-fns/commit/3e4af151a9e31cb400f0b95f5ccbf5cac6bc081b"><code>3e4af15</code></a> What's wrong with you, Lodash?</li> <li><a href="https://github.com/date-fns/date-fns/commit/37079068ce2696d8aa6e18b3f5d99e5d55ef06bc"><code>3707906</code></a> Prepare v3.3.0</li> <li><a href="https://github.com/date-fns/date-fns/commit/fadd58b132bff04a0de6597a1b30dfe2aab6cb8f"><code>fadd58b</code></a> Add missing <code>yearsToDays</code> to FP</li> <li><a href="https://github.com/date-fns/date-fns/commit/ad2c654a6a97ebc93961e860760ea1d956fc7cba"><code>ad2c654</code></a> Fix bug in getOverlappingDaysInIntervals</li> <li>Additional commits viewable in <a href="https://github.com/date-fns/date-fns/compare/v2.30.0...v3.3.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.30.0&new-version=3.3.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 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 16:38:03 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/httpsms#370
No description provided.