Snyk has created this PR to upgrade date-fns from 2.16.0 to 2.28.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 20 versions ahead of your current version.
The recommended version was released 4 months ago, on 2021-12-28.
Snyk has created this PR to upgrade date-fns from 2.16.0 to 2.28.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
Kudos to @ tan75, @ fturmel, @ arcanar7, @ jeffjose, @ helmut-lang, @ zrev2220, @ jooola, @ minitesh, @ cowboy-bebug, @ mesqueeb, @ JuanM04, @ zhirzh, @ damon02 and @ leshakoss for working on the release.
Added
Added West Frisian (
fy
) locale.Added Uzbek Cyrillic locale (
uz-Cyrl
).Fixed
add the missing accent mark for Saturday in Spanish locale (
es
) forformat
.allowed
K
token to be used witha
orb
inparse
.Kudos to @ tan75, @ hg-pyun, @ 07akioni, @ razvanmitre, @ Haqverdi, @ pgcalixto, @ janziemba, @ fturmel, @ JuanM04, @ zhirzh, @ seanghay, @ bulutfatih, @ nodeadtree, @ cHaLkdusT, @ a-korzun, @ fishmandev, @ wingclover, @ Zacharias3690, @ kossnocorp and @ leshakoss for working on the release.
Fixed
Fixed translation for quarters in
format
in Chinese Simplified locale (zh-CN
).Fixed
P
token informat
for Romanian locale (ro
).Fixed era and month formatters in Azerbaijani locale (
az
).Fixed
formatRelative
patterns in Georgian locale (ka
).Fixed regular expressions for
parse
in Estonian locale (er
).Fixed the format of zeros in
formatDuration
in Czech locale (cs
).Fixed ordinal formatting for years, weeks, hours, minutes and seconds in
fr
,fr-CA
andfr-CH
locales.Fixed constants not having proper TypeScript and Flow types.
Fixed translation for Monday in Turkish locale (
tr
).Fixed
eachMinuteOfInterval
not handling intervals less than a minute correctly.Fixed flow types for
closestTo
andclosestIndexTo
.Added
km
).Thanks to @ kossnocorp, @ leshakoss, @ tan75, @ gaplo, @ AbdAllahAbdElFattah13, @ fturmel, @ kentaro84207, @ V-Gutierrez, @ atefBB, @ jhonatanmacazana, @ zhirzh, @ Haqverdi, @ mandaputtra, @ micnic and @ rikkalo for working on the release.
Fixed
Fixed
formatRelative
format forlastWeek
in Spanish locale.Fixed translation for October in Hindi locale.
Fixed Azerbaijani locale to use correct era matchers for
parse
.Added the functions that use
weekStartsOn
andfirstWeekContainsDate
that were missing from theLocale
documentation page.Changed
Added
Added Irish English locale (
en-IE
).Added Arabic locale (
ar
). (#1670)Added Hong Kong Traditional Chinese locale (zh-HK). (#2684)
Added Egyptian Arabic locale (ar-EG).
This release is brought to you by @ kossnocorp, @ gierschv, @ fturmel, @ redbmk, @ mprovenc, @ artyom-ivanov and @ tan75.
Added
Added Japanese Hiragana locale (
ja-Hira
).Added standalone months support to
de
andde-AT
locales.Kudos to Sasha Koss, Lucas Silva, Jan Ziemba, Anastasia Kobzar, Deepak Gupta, Jonas L, Kentaro Suzuki, Koussay Haj Kacem, fturmel, Tan75 and Adriaan Callaerts for working on the release.
Fixed
Changed
Used
1
instead ofein
for GermanformatDuration
to make it consistent with other locales and formats. (#2505)Made Norwegian
formatDuration
consistent with other locales by using numeric representation instead of written. (#2469)Use the word "sekunda" instead of "vteřina" for second in the Czech locale.
Made Flemish short date format corresponds to the Flemish government.
Added
Added
roundingMethod
option todifferenceInHours
,differenceInMinutes
,differenceInQuarters
,differenceInSeconds
anddifferenceInWeeks
withtrunc
as the default method. (#2555)Added new functions:
previousDay
,previousMonday
,previousTuesday
,previousWednesday
,previousThursday
,previousFriday
,previousSaturday
andpreviousSunday
.Thanks to Sasha Koss for working on the release.
Fixed
This release is brought to you by Maxim Topciu.
Fixed
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