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.2.1 to 3.2.2

4

build/index.js

@@ -95,3 +95,3 @@ 'use strict';

children
) : _react2.default.createElement('input', _extends({}, props, { defaultValue: defaultValue || value,
) : _react2.default.createElement('input', _extends({}, props, { defaultValue: defaultValue,
ref: function ref(node) {

@@ -110,3 +110,3 @@ _this2.node = node;

onChange: _propTypes2.default.func,
value: _propTypes2.default.string,
value: _propTypes2.default.oneOfType([_propTypes2.default.string, _propTypes2.default.array, _propTypes2.default.object]),
children: _propTypes2.default.node

@@ -113,0 +113,0 @@ };

@@ -11,3 +11,7 @@

onChange: PropTypes.func,
value: PropTypes.string,
value: PropTypes.oneOfType([
PropTypes.string,
PropTypes.array,
PropTypes.object
]),
children: PropTypes.node

@@ -61,3 +65,3 @@ }

: (
<input {...props} defaultValue={defaultValue || value}
<input {...props} defaultValue={defaultValue}
ref={node => { this.node = node }} />

@@ -64,0 +68,0 @@ )

{
"name": "react-flatpickr",
"version": "3.2.1",
"version": "3.2.2",
"description": "flatpickr for React",

@@ -25,3 +25,4 @@ "main": "build/index.js",

"dependencies": {
"flatpickr": "^2.3.5"
"flatpickr": "^2.3.5",
"prop-types": "^15.5.7"
},

@@ -39,3 +40,2 @@ "devDependencies": {

"eslint-config-ok": "github:haoxins/eslint-config",
"prop-types": "^15.5.7",
"react": "^15.4.2",

@@ -42,0 +42,0 @@ "react-dom": "^15.4.2",

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

Sorry, the diff of this file is not supported yet

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