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

react-datetime-picker

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datetime-picker - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

11

dist/DateTimeInput.js

@@ -69,2 +69,4 @@ 'use strict';

var defaultMinDate = new Date(-8.64e15);
var defaultMaxDate = new Date(8.64e15);
var allViews = ['hour', 'minute', 'second'];

@@ -211,3 +213,2 @@ var className = 'react-datetime-picker__button__input';

maxDetail: this.props.maxDetail,
minDate: this.props.minDate,
showLeadingZeros: this.props.showLeadingZeros,

@@ -354,4 +355,4 @@ value: this.state.month

disabled: this.props.disabled,
maxDate: this.props.maxDate,
minDate: this.props.minDate,
maxDate: this.props.maxDate || defaultMaxDate,
minDate: this.props.minDate || defaultMinDate,
name: this.props.name,

@@ -435,4 +436,4 @@ onChange: this.onChangeNative,

disabled: this.props.disabled,
maxDate: this.props.maxDate,
minDate: this.props.minDate,
maxDate: this.props.maxDate || defaultMaxDate,
minDate: this.props.minDate || defaultMinDate,
onChange: this.onChange,

@@ -439,0 +440,0 @@ onKeyDown: this.onKeyDown,

{
"name": "react-datetime-picker",
"version": "1.3.3",
"version": "1.3.4",
"description": "A date range picker for your React app.",

@@ -5,0 +5,0 @@ "main": "dist/entry.js",

@@ -25,2 +25,4 @@ import React, { PureComponent } from 'react';

const defaultMinDate = new Date(-8.64e15);
const defaultMaxDate = new Date(8.64e15);
const allViews = ['hour', 'minute', 'second'];

@@ -175,4 +177,4 @@ const className = 'react-datetime-picker__button__input';

disabled: this.props.disabled,
maxDate: this.props.maxDate,
minDate: this.props.minDate,
maxDate: this.props.maxDate || defaultMaxDate,
minDate: this.props.minDate || defaultMinDate,
onChange: this.onChange,

@@ -303,3 +305,2 @@ onKeyDown: this.onKeyDown,

maxDetail={this.props.maxDetail}
minDate={this.props.minDate}
showLeadingZeros={this.props.showLeadingZeros}

@@ -444,4 +445,4 @@ value={this.state.month}

disabled={this.props.disabled}
maxDate={this.props.maxDate}
minDate={this.props.minDate}
maxDate={this.props.maxDate || defaultMaxDate}
minDate={this.props.minDate || defaultMinDate}
name={this.props.name}

@@ -448,0 +449,0 @@ onChange={this.onChangeNative}

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