Socket
Socket
Sign inDemoInstall

rc-calendar

Package Overview
Dependencies
Maintainers
1
Versions
239
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-calendar - npm Package Compare versions

Comparing version 3.8.2 to 3.8.3

9

lib/Calendar.js

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

function getNowByCurrentStateValue(value) {
value = value || getNow();
value = value.clone();
value.setTime(Date.now());
return value;
}
var Calendar = (function (_React$Component) {

@@ -208,3 +215,3 @@ function Calendar(props) {

if (value !== undefined) {
value = value || nextProps.defaultValue || getNow();
value = value || nextProps.defaultValue || getNowByCurrentStateValue(this.state.value);
this.setState({

@@ -211,0 +218,0 @@ value: value

2

package.json
{
"name": "rc-calendar",
"version": "3.8.2",
"version": "3.8.3",
"description": "calendar ui component for react",

@@ -5,0 +5,0 @@ "keywords": [

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