node_modules: upgrade

This commit is contained in:
Dawid Dziurla 2022-10-27 10:26:28 +02:00
parent b755e71a2c
commit 459a37aa01
No known key found for this signature in database
GPG key ID: 7B6D8368172E9B0B
1068 changed files with 6067 additions and 105143 deletions

24
node_modules/uuid/dist/esm-node/v4.js generated vendored Normal file
View file

@ -0,0 +1,24 @@
import rng from './rng.js';
import stringify from './stringify.js';
function v4(options, buf, offset) {
options = options || {};
const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
rnds[6] = rnds[6] & 0x0f | 0x40;
rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
if (buf) {
offset = offset || 0;
for (let i = 0; i < 16; ++i) {
buf[offset + i] = rnds[i];
}
return buf;
}
return stringify(rnds);
}
export default v4;