[Snyk] Upgrade date-fns from 2.28.0 to 2.29.2 #616
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.28.0 to 2.29.2.
ℹ️ 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
This release is brought to you by @ nopears, @ vadimpopa and @ leshakoss.
Fixed
Fixed
sv
locale abbreviated months matcher.Fixed
uk
locale abbreviated months matcher.Fixed a breaking change in
intervalToDuration
by removing a recently introduced RangeError.Thanks to @ fturmel for working on the release.
Fixed
On this release worked @ tan75, @ kossnocorp, @ nopears, @ Balastrong, @ cpapazoglou, @ dovca, @ aliasgar55, @ tomchentw, @ JuanM04, @ alexandresaura, @ fturmel, @ aezell, @ andersravn, @ TiagoPortfolio, @ SukkaW, @ Zebreus, @ aviskarkc10, @ maic66, @ a-korzun, @ Mejans, @ davidspiess, @ alexgul1, @ matroskin062, @ undecaf, @ mprovenc, @ jooola and @ leshakoss.
Added
Added
intlFormatDistance
function.Added
setDefaultOptions
andgetDefaultOptions
functions that allow you to set default default locale,weekStartsOn
andfirstWeekContainsDate
.Added
roundingMethod
option toroundToNearestMinutes
.Added Swiss Italian locale (
it-CH
).Added Occitan (
oc
) locale. (#2061)Added Belarusian Classic (
be-tarask
) locale.Fixed
Fixed Azerbaijani (
az
) locale forformatDistance
.Fixed Czech (
cs
) locale forparse
.Fixed TypeScript types for constants.
Fixed long formatters in the South African English locale (
en-ZA
).Fixed a typo in the Icelandic locale (
is
) forformat
.Fixed weekday format for
formatRelative
in the Portuguese locale (pt
).Fixed
intervalToDuration
being off by 1 day sometimes.Fixed ordinal number formatting in Italian locale (
it
).Fixed issue parsing months in Croatian (
hr
), Georgian (ka
) and Serbian (sr
andsr-Latn
) locales.Changed
Replaced
git.io
links with full URLs in error messages.Internal: removed "v2.0.0 breaking changes" section from individual function docs
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
.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