Socket
Socket
Sign inDemoInstall

react-day-picker

Package Overview
Dependencies
Maintainers
2
Versions
242
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-day-picker - npm Package Compare versions

Comparing version 9.0.2 to 9.0.3

4

dist/cjs/selection/useRange.js

@@ -20,2 +20,6 @@ "use strict";

}, [required, selected, mode]);
// Update the selected date if the `selected` prop changes.
react_1.default.useEffect(() => {
setSelected(initiallySelected);
}, [initiallySelected]);
const isSelected = (date) => selected && (0, rangeIncludesDate_js_1.rangeIncludesDate)(selected, date, false, dateLib);

@@ -22,0 +26,0 @@ const select = (triggerDate, modifiers, e) => {

@@ -14,2 +14,6 @@ import React from "react";

}, [required, selected, mode]);
// Update the selected date if the `selected` prop changes.
React.useEffect(() => {
setSelected(initiallySelected);
}, [initiallySelected]);
const isSelected = (date) => selected && rangeIncludesDate(selected, date, false, dateLib);

@@ -16,0 +20,0 @@ const select = (triggerDate, modifiers, e) => {

6

package.json
{
"name": "react-day-picker",
"version": "9.0.2",
"version": "9.0.3",
"description": "Customizable Date Picker for React",

@@ -156,3 +156,3 @@ "author": "Giampaolo Bellavite <io@gpbl.dev>",

"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.35.0",

@@ -170,3 +170,3 @@ "eslint-plugin-react-hooks": "^4.6.2",

"react-dom": "^18.3.1",
"ts-jest": "^29.2.2",
"ts-jest": "^29.2.3",
"ts-node": "^10.9.2",

@@ -173,0 +173,0 @@ "tslib": "^2.6.3",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc