@bgord/bun 0.29.14 → 0.29.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgord/bun",
3
- "version": "0.29.14",
3
+ "version": "0.29.15",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": "Bartosz Gordon",
@@ -29,18 +29,18 @@
29
29
  "@types/nodemailer": "7.0.2",
30
30
  "@types/yazl": "3.3.0",
31
31
  "cspell": "9.2.1",
32
- "knip": "5.64.1",
32
+ "knip": "5.64.2",
33
33
  "lefthook": "1.13.6",
34
34
  "only-allow": "1.2.1",
35
35
  "shellcheck": "4.1.0",
36
36
  "typescript": "5.9.3",
37
- "zod": "4.1.11"
37
+ "zod": "4.1.12"
38
38
  },
39
39
  "dependencies": {
40
40
  "@axiomhq/winston": "1.3.1",
41
- "@bgord/tools": "0.17.1",
41
+ "@bgord/tools": "0.17.2",
42
42
  "@hono/ua-blocker": "0.1.12",
43
- "better-auth": "1.3.26",
43
+ "better-auth": "1.3.27",
44
44
  "check-disk-space": "3.4.0",
45
45
  "croner": "9.1.0",
46
46
  "csv": "6.4.1",
@@ -49,13 +49,13 @@
49
49
  "lodash": "4.17.21",
50
50
  "mime-types": "3.0.1",
51
51
  "node-cache": "5.1.2",
52
- "nodemailer": "7.0.7",
52
+ "nodemailer": "7.0.9",
53
53
  "sharp": "0.34.4",
54
54
  "ssl-checker": "2.0.10",
55
55
  "winston": "3.18.3",
56
56
  "yazl": "3.3.1"
57
57
  },
58
58
  "peerDependencies": {
59
- "zod": "4.1.11"
59
+ "zod": "4.1.12"
60
60
  }
61
61
  }
@@ -11,22 +11,8 @@ export type MultipleJobsType = Record<JobNameType, Cron>;
11
11
  export type JobProcessorType = { cron: string; label: JobNameType; process: () => Promise<void> };
12
12
  type Dependencies = { Logger: LoggerPort; IdProvider: IdProviderPort; Clock: ClockPort };
13
13
 
14
- export enum UTC_DAY_OF_THE_WEEK {
15
- Monday = 1,
16
- Tuesday = 2,
17
- Wednesday = 3,
18
- Thursday = 4,
19
- Friday = 5,
20
- Saturday = 6,
21
- Sunday = 0,
22
- }
23
-
24
14
  export class Jobs {
25
- static SCHEDULES = {
26
- EVERY_MINUTE: "* * * * *",
27
- EVERY_HOUR: "0 * * * *",
28
- DAY_TIME: (day: UTC_DAY_OF_THE_WEEK, UTCHour: tools.Hour) => `0 ${UTCHour.get()} * * ${day}`,
29
- };
15
+ static SCHEDULES = { EVERY_MINUTE: "* * * * *", EVERY_HOUR: "0 * * * *" };
30
16
 
31
17
  static stopAll(jobs: MultipleJobsType) {
32
18
  Object.values(jobs).forEach((job) => job.stop());