From 5d309ff52cd399a6b71968a6b9a70c8ac0b98981 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 5 Mar 2022 19:02:27 +0200 Subject: Added node_modules for the updating to work properly. --- node_modules/w3c-hr-time/lib/global-monotonic-clock.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 node_modules/w3c-hr-time/lib/global-monotonic-clock.js (limited to 'node_modules/w3c-hr-time/lib/global-monotonic-clock.js') diff --git a/node_modules/w3c-hr-time/lib/global-monotonic-clock.js b/node_modules/w3c-hr-time/lib/global-monotonic-clock.js new file mode 100644 index 0000000..4e9aee9 --- /dev/null +++ b/node_modules/w3c-hr-time/lib/global-monotonic-clock.js @@ -0,0 +1,10 @@ +"use strict"; + +const { hrtime, toMS } = require("./utils"); + +// Returns the DOMHighResTimeStamp representing the high resolution time value of the global monotonic clock. +function getGlobalMonotonicClockMS() { + return toMS(hrtime()); +} + +module.exports = { getGlobalMonotonicClockMS }; -- cgit v1.2.3