mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 13:14:44 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
11
node_modules/w3c-hr-time/lib/utils.js
generated
vendored
11
node_modules/w3c-hr-time/lib/utils.js
generated
vendored
|
@ -1,11 +0,0 @@
|
|||
"use strict";
|
||||
|
||||
// Browserify's process implementation doesn't have hrtime, and this package is small so not much of a burden for
|
||||
// Node.js users.
|
||||
const hrtime = require("browser-process-hrtime");
|
||||
|
||||
function toMS([sec, nanosec]) {
|
||||
return sec * 1e3 + nanosec / 1e6;
|
||||
}
|
||||
|
||||
module.exports = { hrtime, toMS };
|
Loading…
Add table
Add a link
Reference in a new issue