@sinclair/typebox 0.33.16 → 0.33.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,7 +36,7 @@ var ByteMarker;
|
|
|
36
36
|
// State
|
|
37
37
|
// ------------------------------------------------------------------
|
|
38
38
|
let Accumulator = BigInt('14695981039346656037');
|
|
39
|
-
const [Prime, Size] = [BigInt('1099511628211'), BigInt('
|
|
39
|
+
const [Prime, Size] = [BigInt('1099511628211'), BigInt('18446744073709551616' /* 2 ^ 64 */)];
|
|
40
40
|
const Bytes = Array.from({ length: 256 }).map((_, i) => BigInt(i));
|
|
41
41
|
const F64 = new Float64Array(1);
|
|
42
42
|
const F64In = new DataView(F64.buffer);
|
|
@@ -30,7 +30,7 @@ var ByteMarker;
|
|
|
30
30
|
// State
|
|
31
31
|
// ------------------------------------------------------------------
|
|
32
32
|
let Accumulator = BigInt('14695981039346656037');
|
|
33
|
-
const [Prime, Size] = [BigInt('1099511628211'), BigInt('
|
|
33
|
+
const [Prime, Size] = [BigInt('1099511628211'), BigInt('18446744073709551616' /* 2 ^ 64 */)];
|
|
34
34
|
const Bytes = Array.from({ length: 256 }).map((_, i) => BigInt(i));
|
|
35
35
|
const F64 = new Float64Array(1);
|
|
36
36
|
const F64In = new DataView(F64.buffer);
|