@bgord/bun 0.29.9 → 0.29.11

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.9",
3
+ "version": "0.29.11",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": "Bartosz Gordon",
@@ -20,7 +20,7 @@
20
20
  "preinstall": "bunx only-allow bun"
21
21
  },
22
22
  "devDependencies": {
23
- "@biomejs/biome": "2.2.4",
23
+ "@biomejs/biome": "2.2.5",
24
24
  "@commitlint/cli": "20.1.0",
25
25
  "@commitlint/config-conventional": "20.0.0",
26
26
  "@types/bun": "1.2.23",
@@ -38,9 +38,9 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@axiomhq/winston": "1.3.1",
41
- "@bgord/tools": "0.14.3",
41
+ "@bgord/tools": "0.16.0",
42
42
  "@hono/ua-blocker": "0.1.12",
43
- "better-auth": "1.3.24",
43
+ "better-auth": "1.3.26",
44
44
  "check-disk-space": "3.4.0",
45
45
  "croner": "9.1.0",
46
46
  "csv": "6.4.1",
@@ -13,7 +13,7 @@ export class ImageInfoSharpAdapter implements ImageInfoPort {
13
13
  };
14
14
 
15
15
  const metadata = await image.metadata();
16
- const extension = tools.ExtensionSchema.parse(metadata.format);
16
+ const extension = tools.Extension.parse(metadata.format);
17
17
 
18
18
  const sizeBytes = Bun.file(path).size;
19
19
 
@@ -1,8 +1,8 @@
1
1
  import type * as tools from "@bgord/tools";
2
2
 
3
3
  export type ImageInfoType = {
4
- height: tools.HeightType;
5
- width: tools.WidthType;
4
+ height: tools.ImageHeightType;
5
+ width: tools.ImageWidthType;
6
6
  mime: tools.Mime;
7
7
  size: tools.Size;
8
8
  };
@@ -25,7 +25,7 @@ export class Jobs {
25
25
  static SCHEDULES = {
26
26
  EVERY_MINUTE: "* * * * *",
27
27
  EVERY_HOUR: "0 * * * *",
28
- DAY_TIME: (day: UTC_DAY_OF_THE_WEEK, UTCHour: tools.Hour) => `0 ${UTCHour.get().raw} * * ${day}`,
28
+ DAY_TIME: (day: UTC_DAY_OF_THE_WEEK, UTCHour: tools.Hour) => `0 ${UTCHour.get()} * * ${day}`,
29
29
  };
30
30
 
31
31
  static stopAll(jobs: MultipleJobsType) {