chore: update to version 14.0.11 and align website URLs

This commit is contained in:
Kurdistan Tech Ministry committed 2026-01-11 11:34:13 +03:00
1 parent ef74383349
commit 19c8d69bd8
1499 files changed
+53633 -89

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
let warned = false;
export function insecureRandomValues(arr) {
if (!warned) {
console.warn('Using an insecure random number generator, this should only happen when running in a debugger without support for crypto');
warned = true;
}
let r = 0;
for (let i = 0, count = arr.length; i < count; i++) {
if ((i & 0b11) === 0) {
r = Math.random() * 0x100000000;
}
arr[i] = (r >>> ((i & 0b11) << 3)) & 0xff;
}
return arr;
}