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

react-flatpickr

Package Overview
Dependencies
Maintainers
1
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 1.0.1 to 1.1.0

9

build/index.js

@@ -52,2 +52,9 @@ 'use strict';

}, {
key: 'componentWillReceiveProps',
value: function componentWillReceiveProps(props) {
if (props.value) {
this.flatpickr.setDate(props.value);
}
}
}, {
key: 'componentDidMount',

@@ -60,3 +67,3 @@ value: function componentDidMount() {

new _flatpickr2.default(node, this.props);
this.flatpickr = new _flatpickr2.default(node, this.props);
}

@@ -63,0 +70,0 @@ }, {

@@ -19,2 +19,8 @@

componentWillReceiveProps(props) {
if (props.value) {
this.flatpickr.setDate(props.value)
}
}
componentDidMount() {

@@ -25,3 +31,3 @@ const { id } = this.state

new Flatpickr(node, this.props)
this.flatpickr = new Flatpickr(node, this.props)
}

@@ -28,0 +34,0 @@

2

package.json
{
"name": "react-flatpickr",
"version": "1.0.1",
"version": "1.1.0",
"description": "flatpickr for React",

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

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