[Snyk] Upgrade date-fns from 2.16.1 to 2.20.1 #11
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.20.1.
ℹ️ 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
-
2.20.1 - 2021-04-09
- Fixed
-
2.20.0 - 2021-04-08
-
-
-
-
-
-
-
-
2.19.0 - 2021-03-05
-
-
-
- Added new functions:
-
2.18.0 - 2021-03-01
-
-
- Added support of positive and negative offsets in
-
2.17.0 - 2021-02-05
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2.16.1 - 2020-08-31
- Fixed a typo in Scottish Gaelic (gd) locale.
- Fixed typos in Serbian Latin locale.
- Fixed greek grammar for Saturday on
- Removed locale snapshots from the npm package making it lighter.
from date-fns GitHub release notesThis release is brought to you by Sasha Koss and Tan75.
Fixed
isDateFlow typings that we broke inv2.20.0.This release is brought to you by Sasha Koss, Maxim Topciu, tu4mo, Tan75, Ardit Dine, Carl Rosell, Roman Mahotskyi, Mateusz Krzak, fgottschalk, Anastasia Kobzar, Bilguun Ochirbat, Lesha Koss, YuLe and guyroberts21.
Fixed
Made
formatDistanceStrictandformatDistanceToNowStrictalways return1 yearinstead of12 months. (#2388)Fixed
nextDay,nextMondayandnextTuesdaymissing in exports and type definitions. (#2325)Fixed a DST bug in
formatDistanceStrict. (#2307)Added
Added new
eachMinuteOfIntervalfunction.Added Albanian (
sq) localeAdded Mongolian (
mn) localeAdded
nextWednesday,nextThursday,nextFriday,nextSaturdayandnextSunday.On this release worked Tan75.
Fixed
Assigned the correct
firstWeekContainsDatevalue (4) for the French locale. (#2148)Fixed torsdag abbreviation in the Swedish locale.
Fixed a bug in
differenceInMonthsandintervalToDurationthat occurs when dealing with the 28th of February. (#2255)Added
nextDay,nextMondayandnextTuesdaythat 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
differenceInMonthsfor edge cases, such as the end of February dates.Fixed suffixes for the Kazakh locale.
Fixed
formatDurationweek translation inptandpt-BRlocales.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
intlFormata 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-ZAlocale.Added an ability to format lowercase am/pm with
aaaandbbbtokens.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