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 3.4.2 to 3.4.3

4

dist/DateTimeInput.js

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

placeholder = placeholder.replace(formattedDatePiece, datePieceReplacement);
});
}); // See: https://github.com/wojtekmaj/react-date-picker/issues/396
placeholder = placeholder.replace('17', 'y');
return placeholder;

@@ -721,0 +723,0 @@ }

@@ -176,2 +176,8 @@ "use strict";

_defineProperty(_assertThisInitialized(_this), "onKeyDown", function (event) {
if (event.key === 'Escape') {
_this.closeWidgets();
}
});
_defineProperty(_assertThisInitialized(_this), "openClock", function () {

@@ -282,2 +288,3 @@ _this.setState({

});
document[fnName]('keydown', this.onKeyDown);
}

@@ -284,0 +291,0 @@ }, {

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

@@ -79,3 +79,4 @@ "main": "dist/entry.js",

},
"funding": "https://github.com/wojtekmaj/react-datetime-picker?sponsor=1"
"funding": "https://github.com/wojtekmaj/react-datetime-picker?sponsor=1",
"packageManager": "yarn@3.1.0"
}

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

});
// See: https://github.com/wojtekmaj/react-date-picker/issues/396
placeholder = placeholder.replace('17', 'y');

@@ -290,0 +292,0 @@ return placeholder;

@@ -153,2 +153,8 @@ import React, { PureComponent } from 'react';

onKeyDown = (event) => {
if (event.key === 'Escape') {
this.closeWidgets();
}
}
openClock = () => {

@@ -199,2 +205,3 @@ this.setState({

outsideActionEvents.forEach((eventName) => document[fnName](eventName, this.onOutsideAction));
document[fnName]('keydown', this.onKeyDown);
}

@@ -201,0 +208,0 @@

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