🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-datepicker

Package Overview
Dependencies
Maintainers
2
Versions
193
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datepicker - npm Package Compare versions

Comparing version

to
8.3.0

4

dist/time.d.ts

@@ -30,7 +30,11 @@ import React, { Component } from "react";

static calcCenterPosition: (listHeight: number, centerLiRef: HTMLLIElement) => number;
private resizeObserver?;
state: TimeState;
componentDidMount(): void;
componentWillUnmount(): void;
private header?;
private list?;
private centerLi?;
private observeDatePickerHeightChanges;
private updateContainerHeight;
scrollToTheSelectedTime: () => void;

@@ -37,0 +41,0 @@ handleClick: (time: Date) => void;

@@ -10,2 +10,4 @@ import React, { Component } from "react";

setPreSelection?: (date?: Date | null) => void;
selectsMultiple?: boolean;
selectedDates?: Date[];
selected?: Date | null;

@@ -65,2 +67,3 @@ inline?: boolean;

isKeyboardSelected: (y: number) => boolean | undefined;
isSelectedYear: (year: number) => boolean | undefined;
onYearClick: (event: React.MouseEvent<HTMLDivElement, MouseEvent> | React.KeyboardEvent<HTMLDivElement>, y: number) => void;

@@ -67,0 +70,0 @@ onYearKeyDown: (event: React.KeyboardEvent<HTMLDivElement>, y: number) => void;

6

package.json

@@ -5,3 +5,3 @@ {

"description": "A simple and reusable datepicker component for React",
"version": "8.2.1",
"version": "8.3.0",
"license": "MIT",

@@ -58,3 +58,3 @@ "homepage": "https://github.com/Hacker0x01/react-datepicker",

"@types/jest": "^29.5.14",
"@types/node": "22.13.5",
"@types/node": "22.13.14",
"@types/react": "^19.0.8",

@@ -132,3 +132,3 @@ "@types/react-dom": "^19.0.3",

},
"packageManager": "yarn@4.6.0"
"packageManager": "yarn@4.7.0"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display