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

// 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);
export default 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: 0 × Files: 16

Name Size Perms Modified Actions
412 B lrw-r--r-- 2026-02-28 00:27:12
Edit Download
6.72 KB lrw-r--r-- 2026-02-28 00:28:00
Edit Download
137 B lrw-r--r-- 2026-02-28 00:28:20
Edit Download
54 B lrw-r--r-- 2026-02-28 00:28:28
Edit Download
1.08 KB lrw-r--r-- 2026-02-28 00:28:34
Edit Download
133 B lrw-r--r-- 2026-02-28 00:28:38
Edit Download
838 B lrw-r--r-- 2026-02-28 00:28:46
Edit Download
2.42 KB lrw-r--r-- 2026-02-28 00:28:56
Edit Download
1.43 KB lrw-r--r-- 2026-02-28 00:28:58
Edit Download
3.24 KB lrw-r--r-- 2026-02-28 00:29:04
Edit Download
107 B lrw-r--r-- 2026-02-28 00:29:08
Edit Download
680 B lrw-r--r-- 2026-02-28 00:29:14
Edit Download
110 B lrw-r--r-- 2026-02-28 00:29:22
Edit Download
1.73 KB lrw-r--r-- 2026-02-28 00:29:10
Edit Download
141 B lrw-r--r-- 2026-02-28 00:29:28
Edit Download
200 B lrw-r--r-- 2026-02-28 00:29:34
Edit Download

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