@bgord/bun 1.19.4 → 1.19.6

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 (202) hide show
  1. package/dist/antivirus-clamav.adapter.d.ts.map +1 -1
  2. package/dist/antivirus-clamav.adapter.js +1 -0
  3. package/dist/antivirus-clamav.adapter.js.map +1 -1
  4. package/dist/bots.vo.d.ts.map +1 -1
  5. package/dist/bots.vo.js +1 -0
  6. package/dist/bots.vo.js.map +1 -1
  7. package/dist/cache-repository-redis.adapter.d.ts.map +1 -1
  8. package/dist/cache-repository-redis.adapter.js.map +1 -1
  9. package/dist/crypto-aes-gcm.service.d.ts +0 -1
  10. package/dist/crypto-aes-gcm.service.d.ts.map +1 -1
  11. package/dist/crypto-aes-gcm.service.js +2 -1
  12. package/dist/crypto-aes-gcm.service.js.map +1 -1
  13. package/dist/csv-stringifier-noop.adapter.d.ts.map +1 -1
  14. package/dist/csv-stringifier-noop.adapter.js.map +1 -1
  15. package/dist/csv-stringifier.adapter.d.ts.map +1 -1
  16. package/dist/csv-stringifier.adapter.js +1 -0
  17. package/dist/csv-stringifier.adapter.js.map +1 -1
  18. package/dist/csv-stringifier.port.d.ts.map +1 -1
  19. package/dist/etag-extractor-hono.middleware.d.ts +0 -1
  20. package/dist/etag-extractor-hono.middleware.d.ts.map +1 -1
  21. package/dist/etag-extractor-hono.middleware.js.map +1 -1
  22. package/dist/event-store.adapter.d.ts.map +1 -1
  23. package/dist/event-store.adapter.js.map +1 -1
  24. package/dist/event-upcaster-chain.adapter.d.ts.map +1 -1
  25. package/dist/event-upcaster-chain.adapter.js.map +1 -1
  26. package/dist/file-draft-zip.service.d.ts.map +1 -1
  27. package/dist/file-draft-zip.service.js +1 -0
  28. package/dist/file-draft-zip.service.js.map +1 -1
  29. package/dist/handler-bare.strategy.d.ts.map +1 -1
  30. package/dist/handler-bare.strategy.js.map +1 -1
  31. package/dist/handler-noop.strategy.d.ts.map +1 -1
  32. package/dist/handler-noop.strategy.js.map +1 -1
  33. package/dist/handler-with-logger-safe.strategy.d.ts.map +1 -1
  34. package/dist/handler-with-logger-safe.strategy.js.map +1 -1
  35. package/dist/handler-with-logger.strategy.d.ts.map +1 -1
  36. package/dist/handler-with-logger.strategy.js.map +1 -1
  37. package/dist/handler.strategy.d.ts.map +1 -1
  38. package/dist/image-exif-clear-noop.adapter.d.ts.map +1 -1
  39. package/dist/image-exif-clear-noop.adapter.js.map +1 -1
  40. package/dist/image-exif-clear-with-semaphore.adapter.d.ts.map +1 -1
  41. package/dist/image-exif-clear-with-semaphore.adapter.js.map +1 -1
  42. package/dist/image-exif-clear.adapter.d.ts.map +1 -1
  43. package/dist/image-exif-clear.adapter.js.map +1 -1
  44. package/dist/image-exif-clear.port.d.ts.map +1 -1
  45. package/dist/image-grayscale.adapter.d.ts.map +1 -1
  46. package/dist/image-grayscale.adapter.js.map +1 -1
  47. package/dist/image-resizer-noop.adapter.d.ts.map +1 -1
  48. package/dist/image-resizer-noop.adapter.js.map +1 -1
  49. package/dist/image-resizer-with-semaphore.adapter.d.ts.map +1 -1
  50. package/dist/image-resizer-with-semaphore.adapter.js.map +1 -1
  51. package/dist/image-resizer.adapter.d.ts.map +1 -1
  52. package/dist/image-resizer.adapter.js.map +1 -1
  53. package/dist/image-resizer.port.d.ts.map +1 -1
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/index.js +1 -0
  56. package/dist/index.js.map +1 -1
  57. package/dist/modules/history/event-handlers/onHistoryClearedEvent.d.ts.map +1 -1
  58. package/dist/modules/history/event-handlers/onHistoryClearedEvent.js.map +1 -1
  59. package/dist/modules/history/event-handlers/onHistoryPopulatedEvent.d.ts.map +1 -1
  60. package/dist/modules/history/event-handlers/onHistoryPopulatedEvent.js +1 -0
  61. package/dist/modules/history/event-handlers/onHistoryPopulatedEvent.js.map +1 -1
  62. package/dist/modules/history/events/HISTORY_CLEARED_EVENT.d.ts.map +1 -1
  63. package/dist/modules/history/events/HISTORY_CLEARED_EVENT.js +1 -0
  64. package/dist/modules/history/events/HISTORY_CLEARED_EVENT.js.map +1 -1
  65. package/dist/modules/history/events/HISTORY_POPULATED_EVENT.d.ts.map +1 -1
  66. package/dist/modules/history/events/HISTORY_POPULATED_EVENT.js +1 -0
  67. package/dist/modules/history/events/HISTORY_POPULATED_EVENT.js.map +1 -1
  68. package/dist/modules/history/index.d.ts.map +1 -1
  69. package/dist/modules/history/index.js +1 -0
  70. package/dist/modules/history/index.js.map +1 -1
  71. package/dist/modules/history/ports/history-reader.d.ts.map +1 -1
  72. package/dist/modules/history/ports/history-writer.d.ts.map +1 -1
  73. package/dist/modules/history/value-objects/history-created-at.d.ts.map +1 -1
  74. package/dist/modules/history/value-objects/history-operation.d.ts.map +1 -1
  75. package/dist/modules/history/value-objects/history-operation.js +1 -0
  76. package/dist/modules/history/value-objects/history-operation.js.map +1 -1
  77. package/dist/modules/history/value-objects/history-payload.d.ts.map +1 -1
  78. package/dist/modules/history/value-objects/history-payload.js +1 -0
  79. package/dist/modules/history/value-objects/history-payload.js.map +1 -1
  80. package/dist/modules/history/value-objects/history-subject.d.ts.map +1 -1
  81. package/dist/modules/history/value-objects/history-subject.js +1 -0
  82. package/dist/modules/history/value-objects/history-subject.js.map +1 -1
  83. package/dist/modules/history/value-objects/history.d.ts.map +1 -1
  84. package/dist/modules/history/value-objects/history.js +1 -0
  85. package/dist/modules/history/value-objects/history.js.map +1 -1
  86. package/dist/modules/preferences/command-handlers/handleSetUserLanguageCommand.d.ts.map +1 -1
  87. package/dist/modules/preferences/command-handlers/handleSetUserLanguageCommand.js.map +1 -1
  88. package/dist/modules/preferences/commands/SET_USER_LANGUAGE_COMMAND.d.ts.map +1 -1
  89. package/dist/modules/preferences/commands/SET_USER_LANGUAGE_COMMAND.js +1 -0
  90. package/dist/modules/preferences/commands/SET_USER_LANGUAGE_COMMAND.js.map +1 -1
  91. package/dist/modules/preferences/events/USER_LANGUAGE_SET_EVENT.d.ts.map +1 -1
  92. package/dist/modules/preferences/events/USER_LANGUAGE_SET_EVENT.js +1 -0
  93. package/dist/modules/preferences/events/USER_LANGUAGE_SET_EVENT.js.map +1 -1
  94. package/dist/modules/preferences/index.d.ts.map +1 -1
  95. package/dist/modules/preferences/index.js +1 -0
  96. package/dist/modules/preferences/index.js.map +1 -1
  97. package/dist/modules/preferences/open-host-queries/user-language.d.ts.map +1 -1
  98. package/dist/modules/preferences/open-host-queries/user-language.js.map +1 -1
  99. package/dist/modules/preferences/ports/user-language-resolver.d.ts.map +1 -1
  100. package/dist/modules/preferences/ports/user-language-resolver.js.map +1 -1
  101. package/dist/modules/system/events/HOUR_HAS_PASSED_EVENT.d.ts.map +1 -1
  102. package/dist/modules/system/events/HOUR_HAS_PASSED_EVENT.js +1 -0
  103. package/dist/modules/system/events/HOUR_HAS_PASSED_EVENT.js.map +1 -1
  104. package/dist/modules/system/events/MINUTE_HAS_PASSED_EVENT.d.ts.map +1 -1
  105. package/dist/modules/system/events/MINUTE_HAS_PASSED_EVENT.js +1 -0
  106. package/dist/modules/system/events/MINUTE_HAS_PASSED_EVENT.js.map +1 -1
  107. package/dist/modules/system/events/SECURITY_VIOLATION_DETECTED_EVENT.d.ts.map +1 -1
  108. package/dist/modules/system/events/SECURITY_VIOLATION_DETECTED_EVENT.js +1 -0
  109. package/dist/modules/system/events/SECURITY_VIOLATION_DETECTED_EVENT.js.map +1 -1
  110. package/dist/modules/system/job-handlers/send-email-job.handler.d.ts +2 -2
  111. package/dist/modules/system/job-handlers/send-email-job.handler.d.ts.map +1 -1
  112. package/dist/modules/system/job-handlers/send-email-job.handler.js +2 -2
  113. package/dist/modules/system/job-handlers/send-email-job.handler.js.map +1 -1
  114. package/dist/modules/system/jobs/SEND_EMAIL_JOB.d.ts.map +1 -1
  115. package/dist/modules/system/jobs/SEND_EMAIL_JOB.js +6 -4
  116. package/dist/modules/system/jobs/SEND_EMAIL_JOB.js.map +1 -1
  117. package/dist/node-env.vo.d.ts.map +1 -1
  118. package/dist/node-env.vo.js +1 -0
  119. package/dist/node-env.vo.js.map +1 -1
  120. package/dist/prerequisite-runner-startup.service.d.ts +0 -1
  121. package/dist/prerequisite-runner-startup.service.d.ts.map +1 -1
  122. package/dist/prerequisite-runner-startup.service.js +0 -1
  123. package/dist/prerequisite-runner-startup.service.js.map +1 -1
  124. package/dist/redactor-mask.strategy.d.ts.map +1 -1
  125. package/dist/redactor-mask.strategy.js +1 -0
  126. package/dist/redactor-mask.strategy.js.map +1 -1
  127. package/dist/security-countermeasure-tarpit.strategy.d.ts.map +1 -1
  128. package/dist/security-countermeasure-tarpit.strategy.js.map +1 -1
  129. package/dist/setup-hono.service.d.ts.map +1 -1
  130. package/dist/setup-hono.service.js +1 -0
  131. package/dist/setup-hono.service.js.map +1 -1
  132. package/dist/shield-recaptcha.strategy.d.ts.map +1 -1
  133. package/dist/shield-recaptcha.strategy.js +1 -0
  134. package/dist/shield-recaptcha.strategy.js.map +1 -1
  135. package/dist/sitemap-changefreq.vo.d.ts.map +1 -1
  136. package/dist/sitemap-changefreq.vo.js +1 -0
  137. package/dist/sitemap-changefreq.vo.js.map +1 -1
  138. package/dist/ssr.service.d.ts.map +1 -1
  139. package/dist/ssr.service.js.map +1 -1
  140. package/dist/static-files-hono.service.d.ts +1 -1
  141. package/dist/static-files-hono.service.d.ts.map +1 -1
  142. package/dist/static-files-hono.service.js.map +1 -1
  143. package/package.json +15 -17
  144. package/readme.md +5 -5
  145. package/src/antivirus-clamav.adapter.ts +1 -0
  146. package/src/bots.vo.ts +1 -0
  147. package/src/cache-repository-redis.adapter.ts +1 -0
  148. package/src/crypto-aes-gcm.service.ts +2 -1
  149. package/src/csv-stringifier-noop.adapter.ts +1 -0
  150. package/src/csv-stringifier.adapter.ts +1 -0
  151. package/src/csv-stringifier.port.ts +1 -0
  152. package/src/etag-extractor-hono.middleware.ts +0 -1
  153. package/src/event-store.adapter.ts +1 -0
  154. package/src/event-upcaster-chain.adapter.ts +1 -0
  155. package/src/file-draft-zip.service.ts +1 -0
  156. package/src/handler-bare.strategy.ts +1 -0
  157. package/src/handler-noop.strategy.ts +1 -0
  158. package/src/handler-with-logger-safe.strategy.ts +1 -0
  159. package/src/handler-with-logger.strategy.ts +1 -0
  160. package/src/handler.strategy.ts +1 -0
  161. package/src/image-exif-clear-noop.adapter.ts +1 -0
  162. package/src/image-exif-clear-with-semaphore.adapter.ts +1 -0
  163. package/src/image-exif-clear.adapter.ts +1 -0
  164. package/src/image-exif-clear.port.ts +1 -0
  165. package/src/image-grayscale.adapter.ts +1 -0
  166. package/src/image-resizer-noop.adapter.ts +1 -0
  167. package/src/image-resizer-with-semaphore.adapter.ts +1 -0
  168. package/src/image-resizer.adapter.ts +1 -0
  169. package/src/image-resizer.port.ts +1 -0
  170. package/src/index.ts +1 -0
  171. package/src/modules/history/event-handlers/onHistoryClearedEvent.ts +1 -0
  172. package/src/modules/history/event-handlers/onHistoryPopulatedEvent.ts +1 -0
  173. package/src/modules/history/events/HISTORY_CLEARED_EVENT.ts +1 -0
  174. package/src/modules/history/events/HISTORY_POPULATED_EVENT.ts +1 -0
  175. package/src/modules/history/index.ts +1 -0
  176. package/src/modules/history/ports/history-reader.ts +1 -0
  177. package/src/modules/history/ports/history-writer.ts +1 -0
  178. package/src/modules/history/value-objects/history-created-at.ts +1 -0
  179. package/src/modules/history/value-objects/history-operation.ts +1 -0
  180. package/src/modules/history/value-objects/history-payload.ts +1 -0
  181. package/src/modules/history/value-objects/history-subject.ts +1 -0
  182. package/src/modules/history/value-objects/history.ts +1 -0
  183. package/src/modules/preferences/command-handlers/handleSetUserLanguageCommand.ts +1 -0
  184. package/src/modules/preferences/commands/SET_USER_LANGUAGE_COMMAND.ts +1 -0
  185. package/src/modules/preferences/events/USER_LANGUAGE_SET_EVENT.ts +1 -0
  186. package/src/modules/preferences/index.ts +1 -0
  187. package/src/modules/preferences/open-host-queries/user-language.ts +1 -0
  188. package/src/modules/preferences/ports/user-language-resolver.ts +1 -0
  189. package/src/modules/system/events/HOUR_HAS_PASSED_EVENT.ts +1 -0
  190. package/src/modules/system/events/MINUTE_HAS_PASSED_EVENT.ts +1 -0
  191. package/src/modules/system/events/SECURITY_VIOLATION_DETECTED_EVENT.ts +1 -0
  192. package/src/modules/system/job-handlers/send-email-job.handler.ts +4 -3
  193. package/src/modules/system/jobs/SEND_EMAIL_JOB.ts +6 -4
  194. package/src/node-env.vo.ts +2 -0
  195. package/src/prerequisite-runner-startup.service.ts +0 -1
  196. package/src/redactor-mask.strategy.ts +1 -0
  197. package/src/security-countermeasure-tarpit.strategy.ts +1 -0
  198. package/src/setup-hono.service.ts +1 -0
  199. package/src/shield-recaptcha.strategy.ts +1 -0
  200. package/src/sitemap-changefreq.vo.ts +2 -0
  201. package/src/ssr.service.ts +1 -0
  202. package/src/static-files-hono.service.ts +1 -0
@@ -1 +1 @@
1
- {"version":3,"file":"ssr.service.js","sourceRoot":"","sources":["../src/ssr.service.ts"],"names":[],"mappings":"AA4BA,MAAM,OAAO,UAAU;IAEF,IAAI;IACJ,MAAM;IAFzB,YACmB,IAAkB,EAClB,MAAkB;oBADlB,IAAI;sBACJ,MAAM;IACtB,CAAC;IAEJ,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,EAAE,CAAC;IAC5C,CAAC;IAED,MAAM,CAAC,KAAqB;QAC1B,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,UAAU,KAAK,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAC1G,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,UAAU,KAAK,GAAG,EAAE,GAAG,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,YAAY,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACxG,MAAM,YAAY,GAAG,CAAC,QAAQ,EAAE,GAA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AiB;gBACjB,mBAAmB;gBACnB,aAAa,YAAY,EAAE;gBAC3B,wBAAwB;gBACxB,cAAc,aAAa,EAAE;gBAC7B,mBAAmB,aAAa,EAAE;gBAClC,aAAa,YAAY,EAAE;gBAC3B,gCAAgC;gBAChC,WAAW,UAAU,EAAE;gBACvB,kBAAkB;gBAClB,iBAAiB;gBACjB,eAAe,cAAc,EAAE;gBAC/B,oBAAoB;aACrB,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,oBAAoB,EAAE;gBACpB,kBAAkB;gBAClB,aAAa;gBACb,WAAW;gBACX,mBAAmB;gBACnB,gBAAgB;gBAChB,cAAc;gBACd,iBAAiB;gBACjB,eAAe;gBACf,YAAY;gBACZ,QAAQ;aACT,CAAC,IAAI,CAAC,IAAI,CAAC;YACZ,4BAA4B,EAAE,aAAa;YAC3C,8BAA8B,EAAE,aAAa;YAC7C,iBAAiB,EAAE,aAAa;YAChC,2BAA2B,EAAE,qCAAqC;YAClE,wBAAwB,EAAE,SAAS;YACnC,wBAAwB,EAAE,KAAK;YAC/B,oBAAoB,EAAE,QAAQ;YAC9B,mCAAmC,EAAE,MAAM;YAC3C,kBAAkB,EAAE,GAAG;SACxB,CAAC;IACJ,CAAC;CACF"}
@@ -8,7 +8,7 @@ type StaticFilesOptions = {
8
8
  };
9
9
  export declare class StaticFilesHono {
10
10
  static handle(path: string, strategy: StaticFilesStrategy, options?: StaticFilesOptions): {
11
- [x: string]: (request: Request, Env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
11
+ [path]: (request: Request, Env?: unknown, executionCtx?: import("hono").ExecutionContext) => Response | Promise<Response>;
12
12
  };
13
13
  }
14
14
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"static-files-hono.service.d.ts","sourceRoot":"","sources":["../src/static-files-hono.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,KAAK,OAAO,EAAQ,MAAM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AC,KAAK;SACR,CAAC;IACJ,CAAC;CACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgord/bun",
3
- "version": "1.19.4",
3
+ "version": "1.19.6",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "Bartosz Gordon",
@@ -21,42 +21,40 @@
21
21
  "preinstall": "bunx only-allow bun"
22
22
  },
23
23
  "devDependencies": {
24
- "@biomejs/biome": "2.4.15",
25
- "@commitlint/cli": "21.0.1",
26
- "@commitlint/config-conventional": "21.0.1",
24
+ "@biomejs/biome": "2.5.0",
27
25
  "@standard-schema/spec": "1.1.0",
28
26
  "@stryker-mutator/core": "9.6.1",
29
27
  "@stryker-mutator/typescript-checker": "9.6.1",
30
28
  "@types/bun": "1.3.14",
31
- "@types/nodemailer": "8.0.0",
29
+ "@types/nodemailer": "8.0.1",
32
30
  "@types/yazl": "3.3.1",
33
- "@typescript/native-preview": "7.0.0-dev.20260521.1",
34
- "better-auth": "1.6.11",
31
+ "@typescript/native-preview": "7.0.0-dev.20260613.1",
32
+ "better-auth": "1.6.18",
35
33
  "croner": "10.0.1",
36
- "cspell": "10.0.0",
34
+ "cspell": "10.0.1",
37
35
  "csv": "6.5.1",
38
- "knip": "6.14.1",
39
- "lefthook": "2.1.8",
36
+ "fallow": "2.96.0",
37
+ "lefthook": "2.1.9",
40
38
  "lockfile-lint": "5.0.0",
41
- "nodemailer": "8.0.7",
39
+ "nodemailer": "8.0.11",
42
40
  "only-allow": "1.2.2",
43
- "resend": "6.12.3",
41
+ "resend": "6.12.4",
44
42
  "shellcheck": "4.1.0",
45
43
  "typescript": "6.0.3",
46
44
  "yazl": "3.3.1"
47
45
  },
48
46
  "dependencies": {
49
- "@bgord/tools": "1.5.11",
47
+ "@bgord/tools": "1.5.14",
50
48
  "emittery": "2.0.0",
51
- "hono": "4.12.19",
49
+ "hono": "4.12.25",
52
50
  "node-cache": "5.1.2"
53
51
  },
54
52
  "peerDependencies": {
55
- "better-auth": "1.6.11",
53
+ "better-auth": "1.6.18",
56
54
  "csv": "6.5.1",
57
55
  "croner": "10.0.1",
58
- "nodemailer": "8.0.7",
59
- "resend": "6.12.3",
56
+ "nodemailer": "8.0.11",
57
+ "resend": "6.12.4",
60
58
  "yazl": "3.3.1"
61
59
  },
62
60
  "peerDependenciesMeta": {
package/readme.md CHANGED
@@ -17,7 +17,7 @@ bun i
17
17
  Run the tests
18
18
 
19
19
  ```
20
- ./bgord-scripts/test-run.sh
20
+ ./bgord-scripts/test.sh
21
21
  ```
22
22
 
23
23
  ## Files:
@@ -380,9 +380,9 @@ src/
380
380
  │   │   ├── command-handlers
381
381
  │   │   │   ├── handleSetUserLanguageCommand.ts
382
382
  │   │   ├── commands
383
- │   │   │   ├── SET_USER_LANGUAGE_COMMAND.ts
383
+ │   │   │   └── SET_USER_LANGUAGE_COMMAND.ts
384
384
  │   │   ├── events
385
- │   │   │   ├── USER_LANGUAGE_SET_EVENT.ts
385
+ │   │   │   └── USER_LANGUAGE_SET_EVENT.ts
386
386
  │   │   ├── invariants
387
387
  │   │   │   └── user-language-has-changed.ts
388
388
  │   │   ├── open-host-queries
@@ -397,13 +397,13 @@ src/
397
397
  │   ├── events
398
398
  │   │   ├── HOUR_HAS_PASSED_EVENT.ts
399
399
  │   │   ├── MINUTE_HAS_PASSED_EVENT.ts
400
- │   │   ├── SECURITY_VIOLATION_DETECTED_EVENT.ts
400
+ │   │   └── SECURITY_VIOLATION_DETECTED_EVENT.ts
401
401
  │   ├── invariants
402
402
  │   │   ├── feature-flag-enabled.ts
403
403
  │   ├── job-handlers
404
404
  │   │   └── send-email-job.handler.ts
405
405
  │   └── jobs
406
- │   ├── SEND_EMAIL_JOB.ts
406
+ │   └── SEND_EMAIL_JOB.ts
407
407
  ├── node-env.vo.ts
408
408
  ├── nonce-provider-crypto.adapter.ts
409
409
  ├── nonce-provider-deterministic.adapter.ts
@@ -1,3 +1,4 @@
1
+ // cSpell:ignore clamav, clamscan
1
2
  import { type AntivirusPort, AntivirusPortError, type AntivirusScanResult } from "./antivirus.port";
2
3
 
3
4
  export class AntivirusClamavAdapter implements AntivirusPort {
package/src/bots.vo.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  // Source: https://github.com/honojs/middleware/blob/main/packages/ua-blocker/src/generated.ts
2
+ /* cSpell:disable */
2
3
  // Stryker disable all
3
4
  export const ALL_BOTS = [
4
5
  "AddSearchBot",
@@ -1,3 +1,4 @@
1
+ // cSpell:ignore setex
1
2
  import type { RedisClient } from "bun";
2
3
  import type { CacheRepositoryPort, CacheRepositoryTtlType } from "./cache-repository.port";
3
4
  import type { Hash } from "./hash.vo";
@@ -1,6 +1,7 @@
1
+ // cspell:ignore ciphertext
1
2
  import { EncryptionIV } from "./encryption-iv.vo";
2
3
 
3
- /** @public */
4
+ // fallow-ignore-next-line unused-export
4
5
  export const CryptoAesGcmError = { InvalidPayload: "aes.gcm.crypto.invalid.payload" };
5
6
 
6
7
  export class CryptoAesGcm {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Stringifier
1
2
  import type { CsvColumnType, CsvRowType, CsvStringifierPort } from "./csv-stringifier.port";
2
3
 
3
4
  export class CsvStringifierNoopAdapter implements CsvStringifierPort {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Stringifier
1
2
  import { text } from "node:stream/consumers";
2
3
  import type { CsvColumnType, CsvRowType, CsvStringifierPort } from "./csv-stringifier.port";
3
4
  import { DynamicImport } from "./dynamic-import.service";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Stringifier
1
2
  export type CsvColumnType = string;
2
3
  export type CsvRowType = Record<string, any>;
3
4
 
@@ -4,7 +4,6 @@ import { ETagExtractorMiddleware, type ETagExtractorMiddlewareConfig } from "./e
4
4
  import type { MiddlewareHonoPort } from "./middleware-hono.port";
5
5
  import { RequestContextHonoAdapter } from "./request-context-hono.adapter";
6
6
 
7
- /** @public */
8
7
  export type ETagVariables = { ETag: tools.ETag | null };
9
8
 
10
9
  export class ETagExtractorHonoMiddleware implements MiddlewareHonoPort {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore upcasted
1
2
  import type { GenericEvent } from "./event.types";
2
3
  import type { EventFinderPort } from "./event-finder.port";
3
4
  import type { EventFinderLastPort } from "./event-finder-last.port";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore upcasters
1
2
  import type { GenericEvent } from "./event.types";
2
3
  import type { EventUpcasterPort } from "./event-upcaster.port";
3
4
  import type { EventUpcasterStep } from "./event-upcaster-step.vo";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Yazl
1
2
  import { Readable } from "node:stream";
2
3
  import * as tools from "@bgord/tools";
3
4
  import * as v from "valibot";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Handleable
1
2
  import type { Handleable, HandlerStrategy } from "./handler.strategy";
2
3
 
3
4
  export class HandlerBareStrategy implements HandlerStrategy {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Handleable
1
2
  import type { Handleable, HandlerStrategy } from "./handler.strategy";
2
3
 
3
4
  export class HandlerNoopStrategy implements HandlerStrategy {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Handleable
1
2
  import type { ClockPort } from "./clock.port";
2
3
  import { CorrelationStorage } from "./correlation-storage.service";
3
4
  import type { Handleable, HandlerStrategy } from "./handler.strategy";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Handleable
1
2
  import type { ClockPort } from "./clock.port";
2
3
  import { CorrelationStorage } from "./correlation-storage.service";
3
4
  import type { Handleable, HandlerStrategy } from "./handler.strategy";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Handleable
1
2
  export type Handleable = { name: string };
2
3
 
3
4
  export interface HandlerStrategy {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Exif
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { ImageExifClearPort, ImageExifClearStrategy } from "./image-exif-clear.port";
3
4
 
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Exif
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { ImageExifClearPort, ImageExifClearStrategy } from "./image-exif-clear.port";
3
4
  import type { Semaphore } from "./semaphore.service";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Exif
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { FileRenamerPort } from "./file-renamer.port";
3
4
  import type { FileWriterPort } from "./file-writer.port";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Exif
1
2
  import type * as tools from "@bgord/tools";
2
3
 
3
4
  export type ImageExifClearOutputPathStrategy = {
@@ -1,3 +1,4 @@
1
+ // cspell:ignore grayscaled
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { FileRenamerPort } from "./file-renamer.port";
3
4
  import type { FileWriterPort } from "./file-writer.port";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Resizer
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { ImageResizerPort, ImageResizerStrategy } from "./image-resizer.port";
3
4
 
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Resizer
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { ImageResizerPort, ImageResizerStrategy } from "./image-resizer.port";
3
4
  import type { Semaphore } from "./semaphore.service";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Resizer
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { FileRenamerPort } from "./file-renamer.port";
3
4
  import type { FileWriterPort } from "./file-writer.port";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Resizer
1
2
  import type * as tools from "@bgord/tools";
2
3
 
3
4
  export type ImageResizerOutputPathStrategy = {
package/src/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./ab.middleware";
2
2
  export * from "./ab-assignment.strategy";
3
+ // cspell:ignore clamav tarpit stringifier exif resizer
3
4
  export * from "./ab-assignment-composite.strategy";
4
5
  export * from "./ab-assignment-cookie.strategy";
5
6
  export * from "./ab-assignment-fixed.strategy";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import type * as Events from "../events";
2
3
  import type * as Ports from "../ports";
3
4
 
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
  import type * as Events from "../events";
3
4
  import type * as Ports from "../ports";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
  import { EventEnvelopeSchema } from "../../../event-envelope";
3
4
  import * as VO from "../value-objects";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
  import { EventEnvelopeSchema } from "../../../event-envelope";
3
4
  import * as VO from "../value-objects";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file duplicate-export
1
2
  export * as EventHandlers from "./event-handlers";
2
3
  export * as Events from "./events";
3
4
  export * as Ports from "./ports";
@@ -1,5 +1,6 @@
1
1
  import type * as VO from "../value-objects";
2
2
 
3
+ // fallow-ignore-next-line unused-type
3
4
  export interface HistoryReaderPort {
4
5
  read(subject: VO.HistoryParsedType["subject"]): Promise<ReadonlyArray<VO.HistoryType>>;
5
6
  }
@@ -1,5 +1,6 @@
1
1
  import type * as VO from "../value-objects";
2
2
 
3
+ // fallow-ignore-next-line unused-type
3
4
  export interface HistoryWriterPort {
4
5
  populate(history: Omit<VO.HistoryType, "id">): Promise<void>;
5
6
 
@@ -3,4 +3,5 @@ import type * as v from "valibot";
3
3
 
4
4
  export const HistoryCreatedAt = tools.TimestampValue;
5
5
 
6
+ // fallow-ignore-next-line unused-type
6
7
  export type HistoryCreatedAtType = v.InferOutput<typeof HistoryCreatedAt>;
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
 
3
4
  export const HistoryOperationError = {
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
 
3
4
  export const HistoryPayload = v.record(v.string(), v.unknown());
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
 
3
4
  export const HistorySubjectError = {
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
  import { HistoryCreatedAt } from "./history-created-at";
3
4
  import { HistoryId } from "./history-id";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { ClockPort } from "../../../clock.port";
3
4
  import { event } from "../../../event-envelope";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as tools from "@bgord/tools";
2
3
  import * as v from "valibot";
3
4
  import { CommandEnvelopeSchema } from "../../../command-envelope";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as tools from "@bgord/tools";
2
3
  import * as v from "valibot";
3
4
  import { EventEnvelopeSchema } from "../../../event-envelope";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file duplicate-export
1
2
  export * as CommandHandlers from "./command-handlers";
2
3
  export * as Commands from "./commands";
3
4
  export * as Events from "./events";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { Languages } from "../../../languages.vo";
3
4
  import type { UUIDType } from "../../../uuid.vo";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import type * as tools from "@bgord/tools";
2
3
  import type { Languages } from "../../../languages.vo";
3
4
 
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as tools from "@bgord/tools";
2
3
  import * as v from "valibot";
3
4
  import { EventEnvelopeSchema } from "../../../event-envelope";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as tools from "@bgord/tools";
2
3
  import * as v from "valibot";
3
4
  import { EventEnvelopeSchema } from "../../../event-envelope";
@@ -1,3 +1,4 @@
1
+ // fallow-ignore-file unused-export
1
2
  import * as v from "valibot";
2
3
  import { ClientIp } from "../../../client-ip.vo";
3
4
  import { ClientUserAgent } from "../../../client-user-agent.vo";
@@ -1,12 +1,13 @@
1
- import * as bg from "@bgord/bun";
1
+ import type { MailerPort } from "../../../mailer.port";
2
+ import { MailerTemplate } from "../../../mailer-template.vo";
2
3
  import type { SendEmailJobType } from "../jobs";
3
4
 
4
- type Dependencies = { Mailer: bg.MailerPort };
5
+ type Dependencies = { Mailer: MailerPort };
5
6
 
6
7
  export const SendEmailJobHandler =
7
8
  (deps: Dependencies) =>
8
9
  async (job: SendEmailJobType): Promise<void> => {
9
- const template = new bg.MailerTemplate(
10
+ const template = new MailerTemplate(
10
11
  { from: job.payload.from, to: job.payload.to },
11
12
  { subject: job.payload.subject, html: job.payload.html },
12
13
  );
@@ -1,19 +1,21 @@
1
- import * as bg from "@bgord/bun";
2
1
  import * as tools from "@bgord/tools";
3
2
  import * as v from "valibot";
3
+ import { JobEnvelopeSchema } from "../../../job-envelope";
4
+ import { MailerContentHtml } from "../../../mailer-content-html.vo";
5
+ import { MailerSubject } from "../../../mailer-subject.vo";
4
6
 
5
7
  // Stryker disable all
6
8
  export const SEND_EMAIL_JOB = "SEND_EMAIL_JOB";
7
9
  // Stryker restore all
8
10
 
9
11
  export const SendEmailJobSchema = v.object({
10
- ...bg.JobEnvelopeSchema,
12
+ ...JobEnvelopeSchema,
11
13
  name: v.literal(SEND_EMAIL_JOB),
12
14
  payload: v.object({
13
15
  from: tools.Email,
14
16
  to: tools.Email,
15
- subject: bg.MailerSubject,
16
- html: bg.MailerContentHtml,
17
+ subject: MailerSubject,
18
+ html: MailerContentHtml,
17
19
  }),
18
20
  });
19
21
 
@@ -1,3 +1,5 @@
1
+ // fallow-ignore-file unused-enum-member
2
+
1
3
  export enum NodeEnvironmentEnum {
2
4
  local = "local",
3
5
  test = "test",
@@ -7,7 +7,6 @@ export const PrerequisitesError = { Failure: "prerequisites.failure" };
7
7
 
8
8
  type Dependencies = { Logger: LoggerPort; Clock: ClockPort };
9
9
 
10
- /** @public */
11
10
  export class PrerequisiteRunnerStartup {
12
11
  private readonly base = { component: "infra", operation: "startup" };
13
12
 
@@ -1,3 +1,4 @@
1
+ /* cspell:disable */
1
2
  import * as tools from "@bgord/tools";
2
3
  import type { RedactorStrategy } from "./redactor.strategy";
3
4
 
@@ -1,3 +1,4 @@
1
+ // cspell:ignore Tarpit
1
2
  import type * as tools from "@bgord/tools";
2
3
  import * as v from "valibot";
3
4
  import { CorrelationStorage } from "./correlation-storage.service";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore nosniff
1
2
  import * as tools from "@bgord/tools";
2
3
  import type { MiddlewareHandler } from "hono";
3
4
  import { cors } from "hono/cors";
@@ -1,3 +1,4 @@
1
+ // cspell:ignore remoteip
1
2
  import * as tools from "@bgord/tools";
2
3
  import * as v from "valibot";
3
4
  import type { RecaptchaSecretKeyType } from "./recaptcha-secret-key.vo";
@@ -1,3 +1,5 @@
1
+ // fallow-ignore-file unused-enum-member
2
+
1
3
  export enum SitemapChangefreqEnum {
2
4
  always = "always",
3
5
  hourly = "hourly",
@@ -1,3 +1,4 @@
1
+ // cspell:ignore noopen nosniff
1
2
  import type { NonceProviderPort } from "./nonce-provider.port";
2
3
  import type { NonceValueType } from "./nonce-value.vo";
3
4
 
@@ -1,3 +1,4 @@
1
+ // cspell:ignore nosniff
1
2
  import type * as tools from "@bgord/tools";
2
3
  import { type Context, Hono } from "hono";
3
4
  import { serveStatic } from "hono/bun";