Packages

date-fns

4.4.0 · 29 May 2026MIT126.2M / weekRepositorynpmAtom feed

Upgrading date-fns From 3.2.0 to 3.3.0

1 release in betweenevery note read

Other targets from 3.2.0Newest 3.x3.6.0Latest4.4.0
  1. 3.2.0yours
  2. 3.3.0target
0
changes to make
0
advisories fixed
2
new
6
fixes

Release by release

  1. 3.3.0

    20 Jan 20242 new · 6 fixes
    • New

      Added missing yearsToDays to the FP submodule.

    • New
    • Fixed

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

    • Fixed

      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.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.