PHP 8.2.30
Preview: rng-browser.js Size: 927 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/uuid/dist/rng-browser.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = rng;
// Unique ID creation requires a high quality random # generator. In the browser we therefore
// require the crypto API and do not support built-in fallback to lower quality random number
// generators (like Math.random()).
let getRandomValues;
const rnds8 = new Uint8Array(16);

function rng() {
  // lazy load so that environments that need to polyfill have a chance to do so
  if (!getRandomValues) {
    // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation.
    getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);

    if (!getRandomValues) {
      throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
    }
  }

  return getRandomValues(rnds8);
}

Directory Contents

Dirs: 4 × Files: 21

Name Size Perms Modified Actions
bin DIR
- drwxr-xr-x 2026-02-28 00:26:36
Edit Download
- drwxr-xr-x 2026-02-28 00:29:32
Edit Download
- drwxr-xr-x 2026-02-28 00:29:32
Edit Download
esm-node DIR
- drwxr-xr-x 2026-02-28 00:29:34
Edit Download
1.72 KB lrw-r--r-- 2026-02-28 00:27:38
Edit Download
6.85 KB lrw-r--r-- 2026-02-28 00:27:44
Edit Download
550 B lrw-r--r-- 2026-02-28 00:28:08
Edit Download
271 B lrw-r--r-- 2026-02-28 00:28:12
Edit Download
350 B lrw-r--r-- 2026-02-28 00:28:26
Edit Download
188 B lrw-r--r-- 2026-02-28 00:28:30
Edit Download
1.35 KB lrw-r--r-- 2026-02-28 00:28:36
Edit Download
267 B lrw-r--r-- 2026-02-28 00:28:42
Edit Download
927 B lrw-r--r-- 2026-02-28 00:28:44
Edit Download
549 B lrw-r--r-- 2026-02-28 00:28:50
Edit Download
2.55 KB lrw-r--r-- 2026-02-28 00:28:52
Edit Download
553 B lrw-r--r-- 2026-02-28 00:28:58
Edit Download
1.74 KB lrw-r--r-- 2026-02-28 00:29:00
Edit Download
1.98 KB lrw-r--r-- 2026-02-28 00:29:02
Edit Download
3.52 KB lrw-r--r-- 2026-02-28 00:29:08
Edit Download
414 B lrw-r--r-- 2026-02-28 00:29:10
Edit Download
1009 B lrw-r--r-- 2026-02-28 00:29:18
Edit Download
417 B lrw-r--r-- 2026-02-28 00:29:22
Edit Download
2.03 KB lrw-r--r-- 2026-02-28 00:29:12
Edit Download
410 B lrw-r--r-- 2026-02-28 00:29:32
Edit Download
474 B lrw-r--r-- 2026-02-28 00:29:34
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).