[Snyk] Upgrade date-fns from 2.23.0 to 2.30.0 #572
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.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade date-fns from 2.23.0 to 2.30.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 @ kossnocorp and @ Andarist for working on the release.
Changes
This release is prepared by our own @ leshakoss.
Fixed
Fixed Ukrainian (
uk
) locale grammar forformatDistance
.Improved browser compatibility by transforming the code with
@ babel/preset-env
.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
.Read more
Read more
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.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:![](https://camo.githubusercontent.com/f1f0e3ec67185161b6585ef9fdbb5844b1add1bbee51679542916e8bb055d1e7/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f6949774f5455354e44677a5969316c596a646d4c54526c4d6d55744f474d794d693031593249355957526a4d7a4a6d4d6d4d694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496a41354e546b304f444e694c5756694e3259744e4755795a533034597a49794c54566a596a6c685a474d7a4d6d597959794a3966513d3d)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs