This repository has been archived by the owner on Jan 22, 2022. It is now read-only.
[Snyk] Upgrade date-fns from 2.16.1 to 2.17.0 #75
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.16.1 to 2.17.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 @ 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
.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