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-day-picker from 9.0.9 to 9.1.3 #22

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

Conversation

lucentlabz
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade react-day-picker from 9.0.9 to 9.1.3.

ℹ️ 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 4 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: react-day-picker
  • 9.1.3 - 2024-09-26

    This release includes some minor build fixes and documentation updates.

    What's Changed

    New Contributors

    Full Changelog: v9.1.2...v9.1.3

  • 9.1.2 - 2024-09-22

    What's Changed

    • fix: validate HTML output by @ gpbl in #2475
    • fix: use of dateLib to work when mocking dates by @ gpbl in #2481
    • fix(types): Improve DayPickerContext type by @ gpbl in #2479
    • build(deps): update @ date-fs/tz package by @ gpbl in #2480

    Full Changelog: v9.1.1...v9.1.2

  • 9.1.1 - 2024-09-19

    This release improves reliability for controlled mode and adds experimental support for time zones.

    Time Zone Support

    By integrating the @ date-fns/tz utilities for handling time zones, we have added a new experimental timeZone prop. Please see the updated docs for more details.

    import { DayPicker, TZDate } from 'react-day-picker';
    <DayPicker 
        timeZone="Europe/Athens"  // set the time zone
        disabled={TZDate.tz("Europe/Athens")}  // make sure you use `TZDate` to initialize dates
    /> 

    Note

    If you were using the experimental react-day-picker/utc module, you can skip now it. Remove the @ date-fns/utc package and just pass timeZone="UTC" to <DayPicker />.

    What's Changed

    • fix: make sure internal state is not updated in controlled mode by @ gpbl in #2473
    • feat: new timeZone prop (experimental) by @ gpbl in #2467
    • feat: export locales from react-day-picker/locale by @ gpbl in #2474

    Full Changelog: v9.1.0...v9.1.1

  • 9.1.0 - 2024-09-18

    Thank you for using and helping improve DayPicker. Here are the notable changes in this release:

    • Updated to date-fns v4.
      • Please update @ date-fns/utc if you are using react-day-picker/utc.
    • Introduced new custom components for dropdowns and navigation buttons.
    • Fixed issues with controlled vs. uncontrolled selections not working as expected.

    What's Changed

    • build: update to date-fns@4 by @ gpbl in #2466
    • feat: add PreviousMonthButton and NextMonthButton to custom components by @ gpbl in #2437
    • feat: add MonthsDropdown and YearsDropdown custom components by @ gpbl in #2454
    • feat(types): remove restrictions on components and classNames prop types by @ gpbl in #2452
    • feat(types): add OnSelectHandler type by @ gpbl in #2436
    • fix: controlled vs. uncontrolled selections by @ gpbl in #2462
    • fix: use correct month to disable Chevron of NextMonthButton by @ qgadrian in #2449
    • fix(types): add missing ClassNames types for dropdowns by @ hsnaydd in #2441
    • chore: remove unnecessary labelOptions from labelNext and labelPrevious by @ gpbl in #2434
    • chore: move Nav to its own component by @ gpbl in #2435
    • chore(types): deprecate Button in CustomComponents by @ gpbl in #2439

    New Contributors

    Full Changelog: v9.0.9...v9.1.0

  • 9.0.9 - 2024-09-07

    This release fixes a regression causing the calendar to reset when selecting the days, improves compatibility with the previous version and fixes some other bugs.

    What's Changed

    • feat: added back more properties to the value returned by useDayPicker by @ gpbl in #2427
    • fix: calendar is reset after selecting a day by @ gpbl in #2429
    • fix(style): remove unnecessary styles to buttons in footer in DayPicker by @ hsnaydd in #2383
    • fix(style): missing class names for months and years dropdowns @ hsnaydd in #2394
    • fix(utilities): dateMatchModifiers to use defaultDateLib by @ gpbl in #2413
    • fix(types): add formatWeekNumberHeader to Formatters by @ gpbl in #2412
    • fix(types): add missing ChevronProps export by @ rishabh-ink in #2363

    New Contributors

    Full Changelog: v9.0.8...v9.0.9

from react-day-picker GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade react-day-picker from 9.0.9 to 9.1.3.

See this package in npm:
react-day-picker

See this project in Snyk:
https://app.snyk.io/org/lucentlabz/project/cfa2b9f5-5eb1-4548-a90c-57aac4fdc676?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