react-live-clock
Advanced tools
Comparing version 5.0.0-beta1 to 5.0.0-beta2
@@ -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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
7444400
79297
1
3