lurq

npm upgrade

Home

date-fns 3 → 4

3.6.0 → 4.4.0. What the package's exports lost, renamed or changed between the two releases, from lurq's extraction of both published tarballs.

date-fns 4.4.0 changes how many arguments some functions take.

Removed
0
Renamed
0
Signature changes
150
Types removed
0
Newly deprecated
1
Added
0

Does this break your code?

Run this in your project. It compares both releases against the names your code actually imports, locally, with no account and nothing sent to lurq:

npx lurqrun check-upgrade --upgrade date-fns@3.6.0..4.4.0

To have your coding agent check upgrades like this before it writes them, connect lurq to Claude Code, Cursor, VS Code or Codex:

npx lurqrun

Quickstart

Signature changes

Still exported, but the number of arguments it reads changed.

  • add2 → 3 arguments
  • addBusinessDays2 → 3 arguments
  • addDays2 → 3 arguments
  • addHours2 → 3 arguments
  • addISOWeekYears2 → 3 arguments
  • addMilliseconds2 → 3 arguments
  • addMinutes2 → 3 arguments
  • addMonths2 → 3 arguments
  • addQuarters2 → 3 arguments
  • addSeconds2 → 3 arguments
  • addWeeks2 → 3 arguments
  • addYears2 → 3 arguments
  • clamp2 → 3 arguments
  • closestTo2 → 3 arguments
  • default2 → 3 arguments
  • differenceInBusinessDays2 → 3 arguments
  • differenceInCalendarDays2 → 3 arguments
  • differenceInCalendarISOWeekYears2 → 3 arguments
  • differenceInCalendarISOWeeks2 → 3 arguments
  • differenceInCalendarMonths2 → 3 arguments
  • differenceInCalendarQuarters2 → 3 arguments
  • differenceInCalendarYears2 → 3 arguments
  • differenceInDays2 → 3 arguments
  • differenceInISOWeekYears2 → 3 arguments
  • differenceInMonths2 → 3 arguments
  • differenceInYears2 → 3 arguments
  • eachWeekendOfInterval1 → 2 arguments
  • eachWeekendOfMonth1 → 2 arguments
  • eachWeekendOfYear1 → 2 arguments
  • endOfDay1 → 2 arguments
  • endOfDecade1 → 2 arguments
  • endOfHour1 → 2 arguments
  • endOfISOWeek1 → 2 arguments
  • endOfISOWeekYear1 → 2 arguments
  • endOfMinute1 → 2 arguments
  • endOfMonth1 → 2 arguments
  • endOfQuarter1 → 2 arguments
  • endOfSecond1 → 2 arguments
  • endOfToday0 → 1 arguments
  • endOfTomorrow0 → 1 arguments
  • endOfYear1 → 2 arguments
  • endOfYesterday0 → 1 arguments
  • fromUnixTime1 → 2 arguments
  • getDate1 → 2 arguments
  • getDay1 → 2 arguments
  • getDayOfYear1 → 2 arguments
  • getDaysInMonth1 → 2 arguments
  • getDaysInYear1 → 2 arguments
  • getDecade1 → 2 arguments
  • getHours1 → 2 arguments
  • getISODay1 → 2 arguments
  • getISOWeek1 → 2 arguments
  • getISOWeekYear1 → 2 arguments
  • getISOWeeksInYear1 → 2 arguments
  • getMinutes1 → 2 arguments
  • getMonth1 → 2 arguments
  • getQuarter1 → 2 arguments
  • getYear1 → 2 arguments
  • intervalToDuration1 → 2 arguments
  • isFirstDayOfMonth1 → 2 arguments
  • isFriday1 → 2 arguments
  • isLastDayOfMonth1 → 2 arguments
  • isLeapYear1 → 2 arguments
  • isMonday1 → 2 arguments
  • isSameDay2 → 3 arguments
  • isSameHour2 → 3 arguments
  • isSameISOWeek2 → 3 arguments
  • isSameISOWeekYear2 → 3 arguments
  • isSameMonth2 → 3 arguments
  • isSameQuarter2 → 3 arguments
  • isSameYear2 → 3 arguments
  • isSaturday1 → 2 arguments
  • isSunday1 → 2 arguments
  • isThisHour1 → 2 arguments
  • isThisISOWeek1 → 2 arguments
  • isThisMonth1 → 2 arguments
  • isThisQuarter1 → 2 arguments
  • isThisYear1 → 2 arguments
  • isThursday1 → 2 arguments
  • isToday1 → 2 arguments
  • isTomorrow1 → 2 arguments
  • isTuesday1 → 2 arguments
  • isWednesday1 → 2 arguments
  • isWeekend1 → 2 arguments
  • isWithinInterval2 → 3 arguments
  • isYesterday1 → 2 arguments
  • lastDayOfDecade1 → 2 arguments
  • lastDayOfISOWeek1 → 2 arguments
  • lastDayOfISOWeekYear1 → 2 arguments
  • lastDayOfMonth1 → 2 arguments
  • lastDayOfQuarter1 → 2 arguments
  • lastDayOfYear1 → 2 arguments
  • max1 → 2 arguments
  • min1 → 2 arguments
  • nextDay2 → 3 arguments
  • nextFriday1 → 2 arguments
  • nextMonday1 → 2 arguments
  • nextSaturday1 → 2 arguments
  • nextSunday1 → 2 arguments
  • nextThursday1 → 2 arguments
  • nextTuesday1 → 2 arguments
  • nextWednesday1 → 2 arguments
  • parseJSON1 → 2 arguments
  • previousDay2 → 3 arguments
  • previousFriday1 → 2 arguments
  • previousMonday1 → 2 arguments
  • previousSaturday1 → 2 arguments
  • previousSunday1 → 2 arguments
  • previousThursday1 → 2 arguments
  • previousTuesday1 → 2 arguments
  • previousWednesday1 → 2 arguments
  • set2 → 3 arguments
  • setDate2 → 3 arguments
  • setDayOfYear2 → 3 arguments
  • setHours2 → 3 arguments
  • setISODay2 → 3 arguments
  • setISOWeek2 → 3 arguments
  • setISOWeekYear2 → 3 arguments
  • setMilliseconds2 → 3 arguments
  • setMinutes2 → 3 arguments
  • setMonth2 → 3 arguments
  • setQuarter2 → 3 arguments
  • setSeconds2 → 3 arguments
  • setYear2 → 3 arguments
  • startOfDay1 → 2 arguments
  • startOfDecade1 → 2 arguments
  • startOfHour1 → 2 arguments
  • startOfISOWeek1 → 2 arguments
  • startOfISOWeekYear1 → 2 arguments
  • startOfMinute1 → 2 arguments
  • startOfMonth1 → 2 arguments
  • startOfQuarter1 → 2 arguments
  • startOfSecond1 → 2 arguments
  • startOfToday0 → 1 arguments
  • startOfTomorrow0 → 1 arguments
  • startOfYear1 → 2 arguments
  • startOfYesterday0 → 1 arguments
  • sub2 → 3 arguments
  • subBusinessDays2 → 3 arguments
  • subDays2 → 3 arguments
  • subHours2 → 3 arguments
  • subISOWeekYears2 → 3 arguments
  • subMilliseconds2 → 3 arguments
  • subMinutes2 → 3 arguments
  • subMonths2 → 3 arguments
  • subQuarters2 → 3 arguments
  • subSeconds2 → 3 arguments
  • subWeeks2 → 3 arguments
  • subYears2 → 3 arguments
  • toDate1 → 2 arguments

Newly deprecated

Still exported in 4.4.0, marked deprecated.

  • intlFormat

An export diff shows what a release removed or re-signatured, not behaviour changes: read the changelog for those. Extracted Aug 8, 2026. date-fns on lurq.