Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade react-calendar from 4.1.0 to 4.8.0 #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nejidevelops
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


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 4 months ago, on 2024-01-09.

Release notes
Package name: react-calendar
  • 4.8.0 - 2024-01-09

    What's new?

    • Added support for showNeighboringCentury and showNeighboringDecade props.`

    What's changed?

    • Replaced tiny-warning with more popular (and equally tiny!) warning.

    Bug fixes

    • Fixed disabled neighboring tiles text color.
  • 4.7.0 - 2023-12-09

    What's new?

    • Improved developer experience by moving prop documentation to JSDoc. This means that you can now see descriptions, default values, and examples for all props in your IDE.
    • Improved documentation.
  • 4.6.1 - 2023-10-18

    What's new?

    • Package is now published with npm provenance statements.
    • Exported OnArgs type to make it easier to create custom on… callbacks (#897). Thanks, @ meszaros-lajos-gyorgy!
    • Exported TileArgs type to make it easier to create custom tileClassName, tileContent, tileDisabled functions.

    Bug fixes

    • Fix weekend indicators ignoring calendarType prop (#902). Thanks, @ abukati!
  • 4.6.0 - 2023-07-27

    What's new?

    • Added support for native ESM modules (#886).

    What's changed?

    • Improved propTypes.
    • Strengthened TypeScript types.
    • Refactored tile rendering.

    Bug fixes

    • Fixed propTypes declared twice in every declaration file.
  • 4.5.0 - 2023-07-21

    What's new?

    • Improved RSC compatibility. You no longer need to add '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.
  • 4.4.0 - 2023-07-16

    What's new?

    • NavigationLabelFunc, OnClickFunc, OnClickWeekNumberFunc, TileClassNameFunc, TileContentFunc and TileDisabledFunc types are now exported for your convenience.

    What's changed?

    • Renamed calendar types passed to calendarType prop to match Intl.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.
    • Updated clsx dependency to 2.0.0 to enable ESM support in the near future.
  • 4.3.0 - 2023-06-13

    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).
    • Rewritten package using React Hooks (#858).
    • Improved RTL language support (#841).
  • 4.2.1 - 2023-04-04

    Bug fixes

    • Improved type accuracy for value prop and all callbacks (it's now explicitly [Date, Date] instead of Date[]).
    • Fixed types for onDrillDown and onDrillUp props.
    • Fixed types for tileClassName not allowing null or undefined return values.
    • Fixed React.ComponentProps<typeof Calendar> incorrectly marking props with default values as required.
  • 4.2.0 - 2023-04-04

    What's new?

    • Allowed array of strings to be passed as value.
  • 4.1.1 - 2023-04-03
  • 4.1.0 - 2023-03-26
from react-calendar GitHub release notes
Commit messages
Package name: react-calendar
  • 366be6b v4.8.0
  • e997ea2 Fix disabled neighboring tiles text color
  • 695497e Add support for showNeighboringCentury and showNeighboringDecade props
  • 176d6e6 Use recommended TypeScript config
  • 1916b0e Replace tiny-warning with warning
  • 7fc3da6 Bump eslint-import-resolver-typescript from 3.5.5 to 3.6.1
  • 158e98f Bump lint-staged from 14.0.1 to 15.2.0
  • f2a7655 Bump vite from 5.0.0 to 5.0.9
  • 52865e5 Update @ yarnpkg/plugin-nolyfill
  • d760017 Replace root README with a symlink to react-calendar's README
  • a498cb8 v4.7.0
  • 608b8b7 Bump vitest from 0.34.6 to 1.0.2
  • 25b422e Add JSDoc documentation
  • 159c223 Improve documentation
  • 7e46401 Bump @ adobe/css-tools from 4.3.1 to 4.3.2 (#910)
  • 32c82bf Bump typescript from 5.0.4 to 5.3.2
  • e375f0f Update Yarn to 4.0.2
  • e0275b2 Update CI badge URL
  • c60ca0a Update Vite ecosystem
  • 16c2fe8 Update @ testing-library/jest-dom to 6.0.0
  • c845407 Improve TypeScript config
  • 781e008 Use Yarn's default compressionLevel
  • 0a0834b Add @ yarnpkg/plugin-nolyfill
  • e7ba407 Update GitHub Actions actions

Compare


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

Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.

Snyk has created this PR to upgrade react-calendar from 4.1.0 to 4.8.0.

See this package in npm:
react-calendar

See this project in Snyk:
https://app.snyk.io/org/newtonombese1/project/d92f77c7-4d21-4560-a1c1-675c45b5ed71?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants