New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-flatpickr

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-flatpickr - npm Package Compare versions

Comparing version 3.8.8 to 3.8.9

13

react-flatpickr/index.d.ts

@@ -9,8 +9,10 @@ // Type definitions for react-flatpickr 3.8

import flatpickr from "flatpickr";
import { Component, ReactElement } from "react";
import flatpickr from "flatpickr";
export type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
export interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'children' | 'value' | 'onChange'> {
export interface DateTimePickerProps
extends Omit<React.ComponentPropsWithoutRef<"input">, "children" | "value" | "onChange">
{
defaultValue?: string | undefined;

@@ -29,3 +31,8 @@ options?: flatpickr.Options.Options | undefined;

children?: React.ReactNode | undefined;
render?: ((props: Omit<DateTimePickerProps, 'options' | 'render'>, ref: (node: HTMLInputElement | null) => void) => ReactElement) | undefined;
render?:
| ((
props: Omit<DateTimePickerProps, "options" | "render">,
ref: (node: HTMLInputElement | null) => void,
) => ReactElement)
| undefined;
}

@@ -32,0 +39,0 @@

{
"name": "@types/react-flatpickr",
"version": "3.8.8",
"version": "3.8.9",
"description": "TypeScript definitions for react-flatpickr",

@@ -36,4 +36,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-flatpickr",

},
"typesPublisherContentHash": "ded6e5d8f6b1022359bb729df9ad3daab07fd5c96d638f3d646c9479812292ea",
"typeScriptVersion": "4.1"
"typesPublisherContentHash": "603818f704da39d625779e755f829d6e77489d2ea6db49e86785b37b1b447ebd",
"typeScriptVersion": "4.5"
}

@@ -19,8 +19,10 @@ # Installation

import flatpickr from "flatpickr";
import { Component, ReactElement } from "react";
import flatpickr from "flatpickr";
export type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
export interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'children' | 'value' | 'onChange'> {
export interface DateTimePickerProps
extends Omit<React.ComponentPropsWithoutRef<"input">, "children" | "value" | "onChange">
{
defaultValue?: string | undefined;

@@ -39,3 +41,8 @@ options?: flatpickr.Options.Options | undefined;

children?: React.ReactNode | undefined;
render?: ((props: Omit<DateTimePickerProps, 'options' | 'render'>, ref: (node: HTMLInputElement | null) => void) => ReactElement) | undefined;
render?:
| ((
props: Omit<DateTimePickerProps, "options" | "render">,
ref: (node: HTMLInputElement | null) => void,
) => ReactElement)
| undefined;
}

@@ -50,3 +57,3 @@

### Additional Details
* Last updated: Tue, 25 Oct 2022 17:32:49 GMT
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT
* Dependencies: [@types/flatpickr](https://npmjs.com/package/@types/flatpickr), [@types/react](https://npmjs.com/package/@types/react)

@@ -53,0 +60,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc