Skip to content

chore(deps): bump react-datepicker from 4.25.0 to 9.1.0 - #3865

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-datepicker-9.1.0
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-datepicker-9.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 16, 2026

Copy link
Copy Markdown
Contributor

Bumps react-datepicker from 4.25.0 to 9.1.0.

Release notes

Sourced from react-datepicker's releases.

9.1.0

Highlights

This release includes important bug fixes, TypeScript improvements, and a new feature. Most notably, it restores date parsing behavior that was accidentally removed in v8.0.0.

New Feature

Allow onClickOutside to prevent calendar from closing (#6179)

The onClickOutside callback can now prevent the calendar from closing by calling event.preventDefault(). This is useful when using custom portal-based dropdowns in the calendar header.

  <DatePicker                                                                                                                                                                           
    onClickOutside={(event) => {                                                                                                                                                        
      if (myPortalRef.current?.contains(event.target)) {                                                                                                                                
        event.preventDefault(); // Keeps calendar open                                                                                                                                  
      }                                                                                                                                                                                 
    }}                                                                                                                                                                                  
  />                                                                                                                                                                                    

Full Changelog

What's Changed

New Contributors

Full Changelog: Hacker0x01/react-datepicker@v9.0.0...v9.1.0

🎄 React Datepicker v9.0.0 - Holiday Release 🎁

🌟 Major New Features

🌍 Timezone Support (Finally!)

... (truncated)

Commits
  • 0a3fa07 9.1.0
  • 75a4ed1 Merge pull request #6172 from Hacker0x01/fix/restore-native-date-fallback-6164
  • d4625d4 Merge pull request #6180 from Hacker0x01/fix/issue-5814-mask-input-clearing
  • 668468a Merge pull request #6179 from Hacker0x01/fix/prevent-close-on-click-outside
  • e5d4948 fix: clear selection when masked input is cleared on blur
  • 3700259 feat: allow onClickOutside to prevent calendar from closing
  • 0231bbd Merge pull request #6177 from Hacker0x01/test/datepicker-format-weekday-prop
  • 344d1ed test: add formatWeekDay prop test for DatePicker component
  • 041f1ac chore: dedupe yarn.lock for @​typescript-eslint/parser
  • de00ec3 Merge pull request #6176 from Hacker0x01/dependabot/npm_and_yarn/types/node-2...
  • Additional commits viewable in compare view
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-datepicker](https://github.com/Hacker0x01/react-datepicker) from 4.25.0 to 9.1.0.
- [Release notes](https://github.com/Hacker0x01/react-datepicker/releases)
- [Commits](Hacker0x01/react-datepicker@v4.25.0...v9.1.0)

---
updated-dependencies:
- dependency-name: react-datepicker
  dependency-version: 9.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Sep 16, 2026
@cursor

cursor Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Closing: react-datepicker 4.25.0 → 9.1.0 is a major API rewrite, not a drop-in bump. Our wrapper in packages/web/src/components/DatePicker/DatePicker.tsx depends on v4 surfaces (ReactDatePickerProps, CJS default-export unwrap, onClickOutside, portalId, renderCustomHeader, popperClassName).

CI failed immediately on bun install --frozen-lockfile (package.json-only, no bun.lock). Keeping this would need a real DatePicker migration plus lockfile update. Out of scope for this Dependabot PR.

@tyler-dane tyler-dane closed this Sep 18, 2026
@dependabot @github

dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/react-datepicker-9.1.0 branch September 18, 2026 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant