@tachybase/module-backup 1.3.18 → 1.3.20

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 (52) hide show
  1. package/dist/client/cron-jobs-table/AutoBackupTable.schema.d.ts +2 -3
  2. package/dist/client/index.js +2 -2
  3. package/dist/externalVersion.js +7 -7
  4. package/dist/node_modules/@hapi/topo/package.json +1 -1
  5. package/dist/node_modules/archiver/package.json +1 -1
  6. package/dist/node_modules/cron-parser/LICENSE +1 -1
  7. package/dist/node_modules/cron-parser/lib/date.js +252 -0
  8. package/dist/node_modules/cron-parser/lib/expression.js +1002 -0
  9. package/dist/node_modules/cron-parser/lib/field_compactor.js +70 -0
  10. package/dist/node_modules/cron-parser/lib/field_stringify.js +58 -0
  11. package/dist/node_modules/cron-parser/lib/parser.js +1 -0
  12. package/dist/node_modules/cron-parser/package.json +1 -1
  13. package/dist/node_modules/cron-parser/types/common.d.ts +131 -0
  14. package/dist/node_modules/cron-parser/types/index.d.ts +45 -0
  15. package/dist/node_modules/cron-parser/types/ts3/index.d.ts +28 -0
  16. package/dist/node_modules/mkdirp/package.json +1 -1
  17. package/dist/node_modules/semver/package.json +1 -1
  18. package/dist/node_modules/yauzl/package.json +1 -1
  19. package/dist/server/server.d.ts +1 -1
  20. package/package.json +12 -12
  21. package/dist/node_modules/cron-parser/dist/CronDate.js +0 -497
  22. package/dist/node_modules/cron-parser/dist/CronExpression.js +0 -376
  23. package/dist/node_modules/cron-parser/dist/CronExpressionParser.js +0 -384
  24. package/dist/node_modules/cron-parser/dist/CronFieldCollection.js +0 -371
  25. package/dist/node_modules/cron-parser/dist/CronFileParser.js +0 -109
  26. package/dist/node_modules/cron-parser/dist/fields/CronDayOfMonth.js +0 -44
  27. package/dist/node_modules/cron-parser/dist/fields/CronDayOfWeek.js +0 -51
  28. package/dist/node_modules/cron-parser/dist/fields/CronField.js +0 -183
  29. package/dist/node_modules/cron-parser/dist/fields/CronHour.js +0 -40
  30. package/dist/node_modules/cron-parser/dist/fields/CronMinute.js +0 -40
  31. package/dist/node_modules/cron-parser/dist/fields/CronMonth.js +0 -44
  32. package/dist/node_modules/cron-parser/dist/fields/CronSecond.js +0 -40
  33. package/dist/node_modules/cron-parser/dist/fields/index.js +0 -24
  34. package/dist/node_modules/cron-parser/dist/fields/types.js +0 -2
  35. package/dist/node_modules/cron-parser/dist/index.js +0 -1
  36. package/dist/node_modules/cron-parser/dist/types/CronDate.d.ts +0 -273
  37. package/dist/node_modules/cron-parser/dist/types/CronExpression.d.ts +0 -110
  38. package/dist/node_modules/cron-parser/dist/types/CronExpressionParser.d.ts +0 -70
  39. package/dist/node_modules/cron-parser/dist/types/CronFieldCollection.d.ts +0 -153
  40. package/dist/node_modules/cron-parser/dist/types/CronFileParser.d.ts +0 -30
  41. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfMonth.d.ts +0 -25
  42. package/dist/node_modules/cron-parser/dist/types/fields/CronDayOfWeek.d.ts +0 -30
  43. package/dist/node_modules/cron-parser/dist/types/fields/CronField.d.ts +0 -114
  44. package/dist/node_modules/cron-parser/dist/types/fields/CronHour.d.ts +0 -23
  45. package/dist/node_modules/cron-parser/dist/types/fields/CronMinute.d.ts +0 -23
  46. package/dist/node_modules/cron-parser/dist/types/fields/CronMonth.d.ts +0 -24
  47. package/dist/node_modules/cron-parser/dist/types/fields/CronSecond.d.ts +0 -23
  48. package/dist/node_modules/cron-parser/dist/types/fields/index.d.ts +0 -8
  49. package/dist/node_modules/cron-parser/dist/types/fields/types.d.ts +0 -18
  50. package/dist/node_modules/cron-parser/dist/types/index.d.ts +0 -8
  51. package/dist/node_modules/cron-parser/dist/types/utils/random.d.ts +0 -10
  52. 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
- }