You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

react-live-clock

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-live-clock - npm Package Compare versions

Comparing version

to
5.0.0-beta2

2

lib/Component.js

@@ -113,3 +113,3 @@ 'use strict';

timezone: _propTypes2.default.string,
onChange: _propTypes2.default.func
onChange: _propTypes2.default.oneOfType([_propTypes2.default.bool, _propTypes2.default.func])
};

@@ -116,0 +116,0 @@

{
"name": "react-live-clock",
"version": "5.0.0-beta1",
"version": "5.0.0-beta2",
"description": "React Live Clock",

@@ -38,2 +38,3 @@ "main": "lib/index.js",

"react": "^16.8",
"moment-timezone": "0.5.31",
"react-moment": "0.9.7"

@@ -40,0 +41,0 @@ },

@@ -77,3 +77,6 @@ import React, {useState, useEffect} from 'react';

timezone: PropTypes.string,
onChange: PropTypes.func
onChange: PropTypes.oneOfType([
PropTypes.bool,
PropTypes.func
])
};

@@ -80,0 +83,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display