[Snyk] Upgrade date-fns from 2.17.0 to 2.22.1 #66
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade date-fns from 2.17.0 to 2.22.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: date-fns
Thanks to Sasha Koss for working on the release.
Fixed
On this release worked Sasha Koss, Lucas Silva, Lay, jwbth, fturmel, Tan75 and Anastasia Kobzar.
Fixed
Fixed Taiwanese locale to use traditional Chinese and removed unnecessary spaces.
Fixed Russian locale to use correct long formats.
Added
daysToWeeks
hoursToMilliseconds
hoursToMinutes
hoursToSeconds
millisecondsToHours
millisecondsToMinutes
millisecondsToSeconds
minutesToHours
minutesToMilliseconds
minutesToSeconds
monthsToQuarters
monthsToYears
quartersToMonths
quartersToYears
secondsToHours
secondsToMilliseconds
secondsToMinutes
weeksToDays
yearsToMonths
yearsToQuarters
This release is brought to you by Maxim Topciu.
Fixed
Kudos to Aleksei Korzun, Maxim Topciu, Jonas L, Mohammad ali Ali panah and Tan75 for working on the release.
Fixed
differenceInBusinessDays
now returnsNaN
instead ofInvalid Date
when an invalid argument is passed to the function.Fixed
weekStartsOn
in Persian locale.Thanks to Sasha Koss for working on the release.
Fixed
This release is brought to you by Aleksei Korzun, Tan75, Rubens Mariuzzo, Christoph Stenglein and Clément Tamisier.
Fixed
formatDistanceStrict
return12 months
instead of1 year
whenunit: 'month'
.Added
ht
) locale.de-AT
) locale.Kudos to fturmel for working on the release.
Fixed
Kudos to Maxim Topciu for working on the release.
Fixed
This release is brought to you by Sasha Koss and Tan75.
Fixed
isDate
Flow typings that we broke inv2.20.0
.This release is brought to you by Sasha Koss, Maxim Topciu, tu4mo, Tan75, Ardit Dine, Carl Rosell, Roman Mahotskyi, Mateusz Krzak, fgottschalk, Anastasia Kobzar, Bilguun Ochirbat, Lesha Koss, YuLe and guyroberts21.
Fixed
Made
formatDistanceStrict
andformatDistanceToNowStrict
always return1 year
instead of12 months
. (#2388)Fixed
nextDay
,nextMonday
andnextTuesday
missing in exports and type definitions. (#2325)Fixed a DST bug in
formatDistanceStrict
. (#2307)Added
Added new
eachMinuteOfInterval
function.Added Albanian (
sq
) localeAdded Mongolian (
mn
) localeAdded
nextWednesday
,nextThursday
,nextFriday
,nextSaturday
andnextSunday
.Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs