Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -50,8 +50,8 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
const defaultNow = (function(Date) {
return function() {
const defaultNow = (function (Date) {
return function () {
return new Date().getTime();
};
})(Date);
@@ -66,11 +66,11 @@ class Timer {
const now = options.now || defaultNow;
let startTime;
this.start = function() {
this.start = function () {
startTime = now();
};
this.elapsed = function() {
this.elapsed = function () {
return now() - startTime;
};
}