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.
: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 **10 versions** ahead of your current version.
- The recommended version was released **5 months ago**, on 2023-04-30.
Release notes Package name: date-fns
Fixed increased build size after enabling compatibility with older browsers in the previous release. This was done by adding @ babel/runtime as a dependency. See more details.
</li>
<li>
<b>2.29.3</b> - <a href="https://snyk.io/redirect/github/date-fns/date-fns/releases/tag/v2.29.3">2022-09-13</a></br><p>This release is prepared by our own <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/leshakoss/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/leshakoss">@ leshakoss</a>.</p>
</li>
<li>
<b>2.29.1</b> - <a href="https://snyk.io/redirect/github/date-fns/date-fns/releases/tag/v2.29.1">2022-07-22</a></br><p>Thanks to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fturmel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/fturmel">@ fturmel</a> for working on the release.</p>
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.
: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 **10 versions** ahead of your current version. - The recommended version was released **5 months ago**, on 2023-04-30.
Release notes
Package name: date-fns
Kudos to @ kossnocorp and @ Andarist for working on the release.
Changes
Fixed
Fixed Ukrainian (
uk
) locale grammar forformatDistance
.Improved browser compatibility by transforming the code with
@ babel/preset-env
.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.Fixed
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
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
.Added
Added Japanese Hiragana locale (
ja-Hira
).Added standalone months support to
de
andde-AT
locales.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