@tachybase/plugin-field-sequence 1.3.18 → 1.3.19

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.
Files changed (44) hide show
  1. package/dist/externalVersion.js +6 -6
  2. package/dist/node_modules/cron-parser/LICENSE +1 -1
  3. package/dist/node_modules/cron-parser/lib/date.js +252 -0
  4. package/dist/node_modules/cron-parser/lib/expression.js +1002 -0
  5. package/dist/node_modules/cron-parser/lib/field_compactor.js +70 -0
  6. package/dist/node_modules/cron-parser/lib/field_stringify.js +58 -0
  7. package/dist/node_modules/cron-parser/lib/parser.js +1 -0
  8. package/dist/node_modules/cron-parser/package.json +1 -1
  9. package/dist/node_modules/cron-parser/types/common.d.ts +131 -0
  10. package/dist/node_modules/cron-parser/types/index.d.ts +45 -0
  11. package/dist/node_modules/cron-parser/types/ts3/index.d.ts +28 -0
  12. package/package.json +11 -11
  13. package/dist/node_modules/cron-parser/dist/CronDate.js +0 -497
  14. package/dist/node_modules/cron-parser/dist/CronExpression.js +0 -376
  15. package/dist/node_modules/cron-parser/dist/CronExpressionParser.js +0 -384
  16. package/dist/node_modules/cron-parser/dist/CronFieldCollection.js +0 -371
  17. package/dist/node_modules/cron-parser/dist/CronFileParser.js +0 -109
  18. package/dist/node_modules/cron-parser/dist/fields/CronDayOfMonth.js +0 -44
  19. package/dist/node_modules/cron-parser/dist/fields/CronDayOfWeek.js +0 -51
  20. package/dist/node_modules/cron-parser/dist/fields/CronField.js +0 -183
  21. package/dist/node_modules/cron-parser/dist/fields/CronHour.js +0 -40
  22. package/dist/node_modules/cron-parser/dist/fields/CronMinute.js +0 -40
  23. package/dist/node_modules/cron-parser/dist/fields/CronMonth.js +0 -44
  24. package/dist/node_modules/cron-parser/dist/fields/CronSecond.js +0 -40
  25. package/dist/node_modules/cron-parser/dist/fields/index.js +0 -24
  26. package/dist/node_modules/cron-parser/dist/fields/types.js +0 -2
  27. package/dist/node_modules/cron-parser/dist/index.js +0 -1
  28. package/dist/node_modules/cron-parser/dist/types/CronDate.d.ts +0 -273
  29. package/dist/node_modules/cron-parser/dist/types/CronExpression.d.ts +0 -110
  30. package/dist/node_modules/cron-parser/dist/types/CronExpressionParser.d.ts +0 -70
  31. package/dist/node_modules/cron-parser/dist/types/CronFieldCollection.d.ts +0 -153
  32. package/dist/node_modules/cron-parser/dist/types/CronFileParser.d.ts +0 -30
  33. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfMonth.d.ts +0 -25
  34. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfWeek.d.ts +0 -30
  35. package/dist/node_modules/cron-parser/dist/types/fields/CronField.d.ts +0 -114
  36. package/dist/node_modules/cron-parser/dist/types/fields/CronHour.d.ts +0 -23
  37. package/dist/node_modules/cron-parser/dist/types/fields/CronMinute.d.ts +0 -23
  38. package/dist/node_modules/cron-parser/dist/types/fields/CronMonth.d.ts +0 -24
  39. package/dist/node_modules/cron-parser/dist/types/fields/CronSecond.d.ts +0 -23
  40. package/dist/node_modules/cron-parser/dist/types/fields/index.d.ts +0 -8
  41. package/dist/node_modules/cron-parser/dist/types/fields/types.d.ts +0 -18
  42. package/dist/node_modules/cron-parser/dist/types/index.d.ts +0 -8
  43. package/dist/node_modules/cron-parser/dist/types/utils/random.d.ts +0 -10
  44. package/dist/node_modules/cron-parser/dist/utils/random.js +0 -38
@@ -1,38 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.seededRandom = seededRandom;
4
- /**
5
- * Computes a numeric hash from a given string
6
- * @param {string} str A value to hash
7
- * @returns {number} A numeric hash computed from the given value
8
- */
9
- function xfnv1a(str) {
10
- let h = 2166136261 >>> 0;
11
- for (let i = 0; i < str.length; i++) {
12
- h ^= str.charCodeAt(i);
13
- h = Math.imul(h, 16777619);
14
- }
15
- return () => h >>> 0;
16
- }
17
- /**
18
- * Initialize a new PRNG using a given seed
19
- * @param {number} seed The seed used to initialize the PRNG
20
- * @returns {PRNG} A random number generator
21
- */
22
- function mulberry32(seed) {
23
- return () => {
24
- let t = (seed += 0x6d2b79f5);
25
- t = Math.imul(t ^ (t >>> 15), t | 1);
26
- t ^= t + Math.imul(t ^ (t >>> 7), t | 61);
27
- return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
28
- };
29
- }
30
- /**
31
- * Generates a PRNG using a given seed. When not provided, the seed is randomly generated
32
- * @param {string} str A string to derive the seed from
33
- * @returns {PRNG} A random number generator correctly seeded
34
- */
35
- function seededRandom(str) {
36
- const seed = str ? xfnv1a(str)() : Math.floor(Math.random() * 10_000_000_000);
37
- return mulberry32(seed);
38
- }