[Snyk] Upgrade react-calendar from 4.1.0 to 4.8.0 #222
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 react-calendar from 4.1.0 to 4.8.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.
The recommended version is 10 versions ahead of your current version.
The recommended version was released on 9 months ago.
Release notes
Package name: react-calendar
What's new?
showNeighboringCentury
andshowNeighboringDecade
props.`What's changed?
tiny-warning
with more popular (and equally tiny!)warning
.Bug fixes
What's new?
What's new?
OnArgs
type to make it easier to create customon…
callbacks (#897). Thanks, @ meszaros-lajos-gyorgy!TileArgs
type to make it easier to create customtileClassName
,tileContent
,tileDisabled
functions.Bug fixes
calendarType
prop (#902). Thanks, @ abukati!What's new?
What's changed?
Bug fixes
What's new?
'use client';
to the parent component for this component to work.Bug fixes
@ types/react
and@ types/react-dom
are now optional peerDependencies, which eliminates errors caused by duplicate typings.What's new?
NavigationLabelFunc
,OnClickFunc
,OnClickWeekNumberFunc
,TileClassNameFunc
,TileContentFunc
andTileDisabledFunc
types are now exported for your convenience.What's changed?
calendarType
prop to matchIntl.Locale.calendar
. Thanks to this change, we will be able to support many more calendar types in the near future! Don't worry - old values are still supported, but will be deprecated in the future.clsx
dependency to2.0.0
to enable ESM support in the near future.Thanks to internal improvements, this is our smallest release ever, down to just 10kB Gzipped! 🥳
What's new?
CalendarProps
type is now exported for your convenience (#866).Bug fixes
[Date, Date]
instead ofDate[]
).onDrillDown
andonDrillUp
props.tileClassName
not allowingnull
orundefined
return values.React.ComponentProps<typeof Calendar>
incorrectly marking props with default values as required.What's new?
Important
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: