Closed snyk-bot closed 3 years ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Passing all checks except the security/snyk
and license/cla
checks so not sure on this one?
:tada: This PR is included in version 0.10.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Snyk has created this PR to upgrade date-fns from 2.14.0 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
.Kudos to @ jvpelt, @ piotrl, @ yotamofek, @ dwaxweiler, @ leedriscoll and @ bradevans for working on the release. Also thanks to @ PascalHonegger, @ pickfire, @ TheJaredWilcurt, @ SidKH and @ nfantone for improving the documentation.
Fixed
1 minute
and2 days
.formatRFC3339
formatting timezone offset with minutes.formatDuration
.Changed
Added
Thanks to @ belgamo, @ Matsuuu, @ Imballinst, @ arsnyder16, @ pankajupadhyay29, @ DCBN, @ leedriscoll, @ gottsohn, @ mukuljainx and @ dtriana for working on the release. Also kudos to @ KidkArolis, @ imgx64, @ fjc0k, @ wmonk, @ djD-REK, @ dandv, @ psimk and @ brimworks for improving the documentation.
Fixed
addBusinessDays
when input date is a weekend day.parseISO
not returningInvalid Date
on incorrect string when there are spaces in it.es
round-tripping dates with Wednesday.d
/EEEE
ordering in tokens likePPPPP
.Changed
Added
fr-CH
locale.nl-BE
locale.gd
locale.en-NZ
locale.isMatch
function.Kudos to @ julamb, @ JacobSoderblom, @ justingrant, @ dragunoff, @ jmate0321, @ gbhasha, @ rasck, @ AlbertoPdRF, @ sebastianhaberey and @ giogonzo for working on the release!
Fixed
add
,addDays
andaddMonths
.formatDistance
strings in the Hungarian locale.formatLong
in the Spanish locale.formatRelative
in the Italian locale.Added
eachQuarterOfInterval
.eu
) locale.en-IN
) locale.eachHourOfInterval
.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