first commit

This commit is contained in:
Ichitux
2026-04-05 03:08:53 +02:00
commit 1082d36c12
28015 changed files with 3767672 additions and 0 deletions

10
node_modules/fast-check/lib/esm/arbitrary/uuidV.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import { tuple } from './tuple.js';
import { buildPaddedNumberArbitrary } from './_internals/builders/PaddedNumberArbitraryBuilder.js';
import { paddedEightsToUuidMapper, paddedEightsToUuidUnmapper } from './_internals/mappers/PaddedEightsToUuid.js';
export function uuidV(versionNumber) {
const padded = buildPaddedNumberArbitrary(0, 0xffffffff);
const offsetSecond = versionNumber * 0x10000000;
const secondPadded = buildPaddedNumberArbitrary(offsetSecond, offsetSecond + 0x0fffffff);
const thirdPadded = buildPaddedNumberArbitrary(0x80000000, 0xbfffffff);
return tuple(padded, secondPadded, thirdPadded, padded).map(paddedEightsToUuidMapper, paddedEightsToUuidUnmapper);
}