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.10.11 to 3.10.12

4

build/index.js

@@ -162,3 +162,5 @@ "use strict";

if (this.props.hasOwnProperty('value') && this.props.value !== prevProps.value) {
if (this.props.hasOwnProperty('value') && !(this.props.value && Array.isArray(this.props.value) && prevProps.value && Array.isArray(prevProps.value) && this.props.value.every(function (v, i) {
prevProps[i] === v;
})) && this.props.value !== prevProps.value) {
this.flatpickr.setDate(this.props.value, false);

@@ -165,0 +167,0 @@ }

@@ -82,3 +82,15 @@ import React, { Component } from 'react'

if (this.props.hasOwnProperty('value') && this.props.value !== prevProps.value) {
if (
this.props.hasOwnProperty('value') &&
!(
this.props.value &&
Array.isArray(this.props.value) &&
prevProps.value &&
Array.isArray(prevProps.value) &&
this.props.value.every((v, i) => {
prevProps[i] === v
})
) &&
this.props.value !== prevProps.value
) {
this.flatpickr.setDate(this.props.value, false)

@@ -85,0 +97,0 @@ }

{
"name": "react-flatpickr",
"version": "3.10.11",
"version": "3.10.12",
"description": "flatpickr for React",

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

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