Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-flatpickr

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-flatpickr - npm Package Compare versions

Comparing version 3.6.4 to 3.7.0

17

build/index.js

@@ -34,2 +34,3 @@ 'use strict';

var hooks = ['onChange', 'onOpen', 'onClose', 'onMonthChange', 'onYearChange', 'onReady', 'onValueUpdate', 'onDayCreate'];
var hookPropType = _propTypes2.default.oneOfType([_propTypes2.default.func, _propTypes2.default.arrayOf(_propTypes2.default.func)]);

@@ -153,10 +154,10 @@ var DateTimePicker = function (_Component) {

options: _propTypes2.default.object,
onChange: _propTypes2.default.func,
onOpen: _propTypes2.default.func,
onClose: _propTypes2.default.func,
onMonthChange: _propTypes2.default.func,
onYearChange: _propTypes2.default.func,
onReady: _propTypes2.default.func,
onValueUpdate: _propTypes2.default.func,
onDayCreate: _propTypes2.default.func,
onChange: hookPropType,
onOpen: hookPropType,
onClose: hookPropType,
onMonthChange: hookPropType,
onYearChange: hookPropType,
onReady: hookPropType,
onValueUpdate: hookPropType,
onDayCreate: hookPropType,
value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.array, _propTypes2.default.object, _propTypes2.default.number]),

@@ -163,0 +164,0 @@ children: _propTypes2.default.node

@@ -16,2 +16,6 @@

]
const hookPropType = PropTypes.oneOfType([
PropTypes.func,
PropTypes.arrayOf(PropTypes.func)
])

@@ -22,10 +26,10 @@ class DateTimePicker extends Component {

options: PropTypes.object,
onChange: PropTypes.func,
onOpen: PropTypes.func,
onClose: PropTypes.func,
onMonthChange: PropTypes.func,
onYearChange: PropTypes.func,
onReady: PropTypes.func,
onValueUpdate: PropTypes.func,
onDayCreate: PropTypes.func,
onChange: hookPropType,
onOpen: hookPropType,
onClose: hookPropType,
onMonthChange: hookPropType,
onYearChange: hookPropType,
onReady: hookPropType,
onValueUpdate: hookPropType,
onDayCreate: hookPropType,
value: PropTypes.oneOfType([

@@ -32,0 +36,0 @@ PropTypes.string,

{
"name": "react-flatpickr",
"version": "3.6.4",
"version": "3.7.0",
"description": "flatpickr for React",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -13,3 +13,3 @@

```jsx
import 'flatpickr/dist/themes/material_green.min.css'
import 'flatpickr/dist/themes/material_green.css'

@@ -16,0 +16,0 @@ import Flatpickr from 'react-flatpickr'

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