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

react-timepicker

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-timepicker - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

package.json

@@ -7,3 +7,3 @@ {

"version": "1.3.0",
"version": "1.3.1",
"description": "React timepicker in Android KitKat style",

@@ -10,0 +10,0 @@

@@ -64,2 +64,14 @@ 'use strict';

componentWillReceiveProps: function (nextProps) {
var prevProps = this.props;
var diff = {};
if (prevProps.mode !== nextProps.mode) diff.mode = nextProps.mode;
if (prevProps.hours !== nextProps.hours) diff.hours = nextProps.hours;
if (prevProps.minutes !== nextProps.minutes) diff.minutes = nextProps.minutes;
this.setState(diff);
},
render: function () {

@@ -66,0 +78,0 @@ var state = this.state;

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