This repository has been archived by the owner on Dec 8, 2023. It is now read-only.
[Snyk] Upgrade date-fns from 2.15.0 to 2.28.0 #187
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.15.0 to 2.28.0.
ℹ️ 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
.Read more
Thanks to Sasha Koss for working on the release.
Fixed
Read more
This release is brought to you by Maxim Topciu.
Fixed
Read more
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