Snyk has created this PR to upgrade date-fns from 2.16.1 to 2.19.0.
:information_source: 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.
The recommended version is 3 versions ahead of your current version.
The recommended version was released a month ago, on 2021-03-05.
Added intlFormat a lightweight formatting function that uses Intl API. Eventually, it will become the default formatting function, so it's highly recommended for new code.
Snyk has created this PR to upgrade date-fns from 2.16.1 to 2.19.0.
:information_source: 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
On this release worked Tan75.
Fixed
Assigned the correct
firstWeekContainsDate
value (4
) for the French locale. (#2148)Fixed torsdag abbreviation in the Swedish locale.
Fixed a bug in
differenceInMonths
andintervalToDuration
that occurs when dealing with the 28th of February. (#2255)Added
nextDay
,nextMonday
andnextTuesday
that allows getting the next day of the week, Monday or Tuesday respectively.v2.18.0
Thanks to Tan75 and Lesha Koss.
Fixed
Fixed documentation missing for
intlFormat
. (#2258)Fixed date formats in the Latvian locale. (#2202)
Added
parseJSON
. (#2149)Kudos to @ shaykav, @ davidgape89, @ rikkalo, @ tan75, @ talgautb, @ owenl131, @ kylesezhi, @ inigoiparragirre, @ gius, @ Endeauvirr and @ frankyston.
Fixed
Fixed Russian locale parsing issue.
Fixed
differenceInMonths
for edge cases, such as the end of February dates.Fixed suffixes for the Kazakh locale.
Fixed
formatDuration
week translation inpt
andpt-BR
locales.Made Japanese locale to use the correct value for the start of the week.
Adjusted date formats in the Basque locale.
Fixed the short and medium date formats in the Czech locale.
Adjusted the Polish translations of
formatDistance
.Fixed the week's abbreviations in the Brazilian Portuguese.
Added
Added
intlFormat
a lightweight formatting function that uses Intl API. Eventually, it will become the default formatting function, so it's highly recommended for new code.Added
en-ZA
locale.Added an ability to format lowercase am/pm with
aaa
andbbb
tokens.Added ordinal formatting for Japanese year values.
Kudos to @ aleksaps, @ leedriscoll and @ BanForFun for pull-requests!
Fixed
formatRelative
.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