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

react-datetime

Package Overview
Dependencies
Maintainers
3
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-datetime - npm Package Compare versions

Comparing version 2.11.0 to 2.11.1

3

CHANGELOG.md
Changelog
=========
## 2.11.1
* The open prop should now work as intended
## 2.11.0

@@ -4,0 +7,0 @@ * onFocus now receives the browser event

4

DateTime.js

@@ -155,3 +155,5 @@ 'use strict';

if ( updatedState.open === undefined ) {
if ( this.props.closeOnSelect && this.state.currentView !== 'time' ) {
if ( typeof nextProps.open !== 'undefined' ) {
updatedState.open = nextProps.open;
} else if ( this.props.closeOnSelect && this.state.currentView !== 'time' ) {
updatedState.open = false;

@@ -158,0 +160,0 @@ } else {

{
"name": "react-datetime",
"version": "2.11.0",
"version": "2.11.1",
"description": "A lightweight but complete datetime picker React.js component.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/YouCanBookMe/react-datetime",

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