@bgord/bun 0.18.18 → 0.18.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 (113) hide show
  1. package/dist/api-version.middleware.d.ts.map +1 -1
  2. package/dist/api-version.middleware.js.map +1 -1
  3. package/dist/cache-response.middleware.d.ts.map +1 -1
  4. package/dist/cache-response.middleware.js.map +1 -1
  5. package/dist/context.middleware.d.ts.map +1 -1
  6. package/dist/context.middleware.js.map +1 -1
  7. package/dist/correlation-id.vo.d.ts.map +1 -1
  8. package/dist/correlation-id.vo.js.map +1 -1
  9. package/dist/correlation-storage.service.d.ts.map +1 -1
  10. package/dist/correlation-storage.service.js.map +1 -1
  11. package/dist/decorators.service.d.ts.map +1 -1
  12. package/dist/decorators.service.js.map +1 -1
  13. package/dist/encryption.service.d.ts.map +1 -1
  14. package/dist/encryption.service.js +0 -2
  15. package/dist/encryption.service.js.map +1 -1
  16. package/dist/env-validator.service.d.ts.map +1 -1
  17. package/dist/env-validator.service.js.map +1 -1
  18. package/dist/file-location.service.d.ts.map +1 -1
  19. package/dist/file-location.service.js.map +1 -1
  20. package/dist/healthcheck.service.d.ts.map +1 -1
  21. package/dist/healthcheck.service.js.map +1 -1
  22. package/dist/http-logger.middleware.d.ts.map +1 -1
  23. package/dist/http-logger.middleware.js.map +1 -1
  24. package/dist/i18n.service.d.ts.map +1 -1
  25. package/dist/i18n.service.js.map +1 -1
  26. package/dist/image-compressor.service.d.ts.map +1 -1
  27. package/dist/image-compressor.service.js.map +1 -1
  28. package/dist/image-exif.service.d.ts.map +1 -1
  29. package/dist/image-exif.service.js.map +1 -1
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/jobs.service.d.ts.map +1 -1
  33. package/dist/jobs.service.js +1 -0
  34. package/dist/jobs.service.js.map +1 -1
  35. package/dist/logger.service.d.ts.map +1 -1
  36. package/dist/logger.service.js.map +1 -1
  37. package/dist/node-cache-rate-limit-store.adapter.d.ts.map +1 -1
  38. package/dist/node-cache-rate-limit-store.adapter.js.map +1 -1
  39. package/dist/open-graph.service.d.ts.map +1 -1
  40. package/dist/open-graph.service.js.map +1 -1
  41. package/dist/prerequisites/binary.d.ts.map +1 -1
  42. package/dist/prerequisites/binary.js.map +1 -1
  43. package/dist/prerequisites/bun.d.ts.map +1 -1
  44. package/dist/prerequisites/bun.js.map +1 -1
  45. package/dist/prerequisites/dependency-vulnerabilities.d.ts.map +1 -1
  46. package/dist/prerequisites/dependency-vulnerabilities.js.map +1 -1
  47. package/dist/prerequisites/memory.d.ts.map +1 -1
  48. package/dist/prerequisites/memory.js.map +1 -1
  49. package/dist/prerequisites/node.d.ts.map +1 -1
  50. package/dist/prerequisites/node.js +1 -1
  51. package/dist/prerequisites/node.js.map +1 -1
  52. package/dist/prerequisites/path.d.ts.map +1 -1
  53. package/dist/prerequisites/path.js.map +1 -1
  54. package/dist/prerequisites/port.d.ts.map +1 -1
  55. package/dist/prerequisites/port.js.map +1 -1
  56. package/dist/prerequisites/ram.d.ts.map +1 -1
  57. package/dist/prerequisites/ram.js.map +1 -1
  58. package/dist/prerequisites/space.d.ts.map +1 -1
  59. package/dist/prerequisites/space.js.map +1 -1
  60. package/dist/prerequisites/ssl-certificate-expiry.d.ts.map +1 -1
  61. package/dist/prerequisites/ssl-certificate-expiry.js.map +1 -1
  62. package/dist/prerequisites/timezone-utc.d.ts.map +1 -1
  63. package/dist/prerequisites/timezone-utc.js.map +1 -1
  64. package/dist/prerequisites/translations.d.ts.map +1 -1
  65. package/dist/prerequisites/translations.js.map +1 -1
  66. package/dist/setup.service.d.ts.map +1 -1
  67. package/dist/setup.service.js.map +1 -1
  68. package/dist/sitemap.service.d.ts.map +1 -1
  69. package/dist/sitemap.service.js.map +1 -1
  70. package/dist/smtp-mailer.adapter.d.ts.map +1 -1
  71. package/dist/smtp-mailer.adapter.js.map +1 -1
  72. package/dist/tsconfig.tsbuildinfo +1 -1
  73. package/dist/weak-etag-extractor.middleware.d.ts.map +1 -1
  74. package/dist/weak-etag-extractor.middleware.js.map +1 -1
  75. package/dist/zip-draft.service.js +1 -1
  76. package/dist/zip-draft.service.js.map +1 -1
  77. package/package.json +5 -5
  78. package/src/api-version.middleware.ts +0 -1
  79. package/src/cache-response.middleware.ts +0 -1
  80. package/src/context.middleware.ts +0 -1
  81. package/src/correlation-id.vo.ts +0 -1
  82. package/src/correlation-storage.service.ts +0 -1
  83. package/src/decorators.service.ts +0 -1
  84. package/src/encryption.service.ts +0 -2
  85. package/src/env-validator.service.ts +0 -1
  86. package/src/file-location.service.ts +0 -1
  87. package/src/healthcheck.service.ts +0 -1
  88. package/src/http-logger.middleware.ts +0 -1
  89. package/src/i18n.service.ts +0 -1
  90. package/src/image-compressor.service.ts +0 -1
  91. package/src/image-exif.service.ts +0 -1
  92. package/src/index.ts +0 -1
  93. package/src/jobs.service.ts +1 -1
  94. package/src/logger.service.ts +0 -1
  95. package/src/node-cache-rate-limit-store.adapter.ts +0 -1
  96. package/src/open-graph.service.ts +0 -1
  97. package/src/prerequisites/binary.ts +0 -1
  98. package/src/prerequisites/bun.ts +0 -1
  99. package/src/prerequisites/dependency-vulnerabilities.ts +0 -1
  100. package/src/prerequisites/memory.ts +0 -1
  101. package/src/prerequisites/node.ts +1 -2
  102. package/src/prerequisites/path.ts +0 -1
  103. package/src/prerequisites/port.ts +0 -1
  104. package/src/prerequisites/ram.ts +0 -1
  105. package/src/prerequisites/space.ts +0 -1
  106. package/src/prerequisites/ssl-certificate-expiry.ts +0 -1
  107. package/src/prerequisites/timezone-utc.ts +0 -1
  108. package/src/prerequisites/translations.ts +0 -1
  109. package/src/setup.service.ts +0 -1
  110. package/src/sitemap.service.ts +0 -1
  111. package/src/smtp-mailer.adapter.ts +0 -1
  112. package/src/weak-etag-extractor.middleware.ts +0 -1
  113. package/src/zip-draft.service.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"weak-etag-extractor.middleware.d.ts","sourceRoot":"","sources":["../src/weak-etag-extractor.middleware.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,MAAM;mBAAiC,aAAa;mBAWxD;CACJ"}
1
+ {"version":3,"file":"weak-etag-extractor.middleware.d.ts","sourceRoot":"","sources":["../src/weak-etag-extractor.middleware.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAE5D,qBAAa,iBAAiB;IAC5B,MAAM,CAAC,MAAM;mBAAiC,aAAa;mBAWxD;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"weak-etag-extractor.middleware.js","sourceRoot":"","sources":["../src/weak-etag-extractor.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAIhD,MAAM,OAAO,iBAAiB;IAC5B,MAAM,CAAC,MAAM,GAAG,gBAAgB,CAA+B,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE;QAC/E,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,CAAC;YAEzE,IAAI,CAAC,MAAM,IAAI,MAAM,KAAK,WAAW;gBAAE,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;;gBAC1D,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QAC5D,CAAC;QAAC,OAAO,MAAM,EAAE,CAAC;YAChB,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QAC1B,CAAC;QAED,MAAM,IAAI,EAAE,CAAC;IACf,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"weak-etag-extractor.middleware.js","sourceRoot":"","sources":["../src/weak-etag-extractor.middleware.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAGhD,MAAM,OAAO,iBAAiB;IAC5B,MAAM,CAAC,MAAM,GAAG,gBAAgB,CAA+B,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE;QAC/E,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,oBAAoB,CAAC,CAAC,CAAC;YAEzE,IAAI,CAAC,MAAM,IAAI,MAAM,KAAK,WAAW;gBAAE,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;;gBAC1D,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC;QAC5D,CAAC;QAAC,OAAO,MAAM,EAAE,CAAC;YAChB,CAAC,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;QAC1B,CAAC;QAED,MAAM,IAAI,EAAE,CAAC;IACf,CAAC,CAAC,CAAC"}
@@ -7,7 +7,7 @@ export class ZipDraft extends FileDraft {
7
7
  super({ filename: config.filename, mime: new tools.Mime("application/zip") });
8
8
  this.parts = config.parts;
9
9
  }
10
- // @ts-ignore
10
+ // @ts-expect-error
11
11
  async create() {
12
12
  const zip = new ZipFile();
13
13
  const chunks = [];
@@ -1 +1 @@
1
- {"version":3,"file":"zip-draft.service.js","sourceRoot":"","sources":["../src/zip-draft.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,SAAS,EAAE,M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@bgord/bun",
3
- "version": "0.18.18",
3
+ "version": "0.18.20",
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.0.6",
23
+ "@biomejs/biome": "2.2.0",
24
24
  "@commitlint/cli": "19.8.1",
25
25
  "@commitlint/config-conventional": "19.8.1",
26
26
  "@types/bun": "1.2.20",
@@ -32,14 +32,14 @@
32
32
  "knip": "5.62.0",
33
33
  "lefthook": "1.12.3",
34
34
  "only-allow": "1.2.1",
35
- "shellcheck": "3.1.0",
35
+ "shellcheck": "4.1.0",
36
36
  "typescript": "5.9.2"
37
37
  },
38
38
  "dependencies": {
39
39
  "@axiomhq/winston": "1.3.1",
40
- "@bgord/tools": "0.12.8",
40
+ "@bgord/tools": "0.12.10",
41
41
  "@hono/ua-blocker": "0.1.7",
42
- "better-auth": "1.3.5",
42
+ "better-auth": "1.3.6",
43
43
  "check-disk-space": "3.4.0",
44
44
  "croner": "9.1.0",
45
45
  "hcaptcha": "0.2.0",
@@ -1,5 +1,4 @@
1
1
  import { createMiddleware } from "hono/factory";
2
-
3
2
  import { BuildInfoRepository } from "./build-info-repository.service";
4
3
 
5
4
  export class ApiVersion {
@@ -1,7 +1,6 @@
1
1
  import { createMiddleware } from "hono/factory";
2
2
  import _ from "lodash";
3
3
  import NodeCache from "node-cache";
4
-
5
4
  import { CacheHitEnum } from "./cache-resolver.service";
6
5
 
7
6
  export class CacheResponse {
@@ -1,5 +1,4 @@
1
1
  import { createMiddleware } from "hono/factory";
2
-
3
2
  import type { CorrelationIdType } from "./correlation-id.vo";
4
3
  import { TimeZoneOffsetVariables } from "./time-zone-offset.middleware";
5
4
 
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  import { UUID } from "./uuid.vo";
4
3
 
5
4
  export const CorrelationId = UUID;
@@ -1,6 +1,5 @@
1
1
  import { AsyncLocalStorage } from "node:async_hooks";
2
2
  import { createMiddleware } from "hono/factory";
3
-
4
3
  import type { CorrelationIdType } from "./correlation-id.vo";
5
4
 
6
5
  interface CorrelationContext {
@@ -1,5 +1,4 @@
1
1
  import * as tools from "@bgord/tools";
2
-
3
2
  import { Logger } from "./logger.service";
4
3
 
5
4
  export class DecoratorTimeoutError extends Error {}
@@ -35,14 +35,12 @@ export class Encryption {
35
35
  async createEncrypt() {
36
36
  const key = (await scrypt(this.config.secret, "salt", 24)) as Buffer;
37
37
 
38
- // @ts-ignore
39
38
  return crypto.createCipheriv(this.algorithm, key, this.config.iv);
40
39
  }
41
40
 
42
41
  async createDecrypt() {
43
42
  const key = (await scrypt(this.config.secret, "salt", 24)) as Buffer;
44
43
 
45
- // @ts-ignore
46
44
  return crypto.createDecipheriv(this.algorithm, key, this.config.iv);
47
45
  }
48
46
 
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  import { NodeEnvironment } from "../src/node-env.vo";
4
3
 
5
4
  type NodeEnvironmentEnumType = z.infer<typeof NodeEnvironment>;
@@ -1,5 +1,4 @@
1
1
  import * as path from "node:path";
2
-
3
2
  import { Path, PathType } from "./path.vo";
4
3
 
5
4
  type FileLocationBasenameType = string;
@@ -1,6 +1,5 @@
1
1
  import * as tools from "@bgord/tools";
2
2
  import { createFactory } from "hono/factory";
3
-
4
3
  import { BuildInfoRepository } from "./build-info-repository.service";
5
4
  import { MemoryConsumption } from "./memory-consumption.service";
6
5
  import * as prereqs from "./prerequisites.service";
@@ -1,7 +1,6 @@
1
1
  import { getConnInfo } from "hono/bun";
2
2
  import { createMiddleware } from "hono/factory";
3
3
  import _ from "lodash";
4
-
5
4
  import { CacheHitEnum } from "./cache-resolver.service";
6
5
  import { CacheResponse } from "./cache-response.middleware";
7
6
  import type { CorrelationIdType } from "./correlation-id.vo";
@@ -1,6 +1,5 @@
1
1
  import path from "node:path";
2
2
  import * as tools from "@bgord/tools";
3
-
4
3
  import { Path, PathType } from "./path.vo";
5
4
 
6
5
  export type TranslationsKeyType = string;
@@ -1,6 +1,5 @@
1
1
  import sharp from "sharp";
2
2
  import { z } from "zod/v4";
3
-
4
3
  import type { PathType } from "../src/path.vo";
5
4
 
6
5
  export const ImageCompressionQuality = z
@@ -2,7 +2,6 @@ import path from "node:path";
2
2
  import * as tools from "@bgord/tools";
3
3
  import mime from "mime-types";
4
4
  import sharp from "sharp";
5
-
6
5
  import type { PathType } from "./path.vo";
7
6
 
8
7
  export type ImageExifOutputType = {
package/src/index.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { default as sharp } from "sharp";
2
-
3
2
  export * from "./api-key-shield.middleware";
4
3
  export * from "./api-version.middleware";
5
4
  export * from "./auth-shield.middleware";
@@ -1,6 +1,5 @@
1
1
  import * as tools from "@bgord/tools";
2
2
  import { Cron } from "croner";
3
-
4
3
  import { CorrelationId } from "./correlation-id.vo";
5
4
  import { CorrelationStorage } from "./correlation-storage.service";
6
5
  import { Logger } from "./logger.service";
@@ -27,6 +26,7 @@ export class Jobs {
27
26
  };
28
27
 
29
28
  static stopAll(jobs: MultipleJobsType) {
29
+ // biome-ignore lint: lint/suspicious/useIterableCallbackReturn
30
30
  Object.values(jobs).forEach((job) => job.stop());
31
31
  }
32
32
 
@@ -1,7 +1,6 @@
1
1
  import * as tools from "@bgord/tools";
2
2
  import * as winston from "winston";
3
3
  import { z } from "zod/v4";
4
-
5
4
  import { CorrelationIdType } from "./correlation-id.vo";
6
5
  import { NodeEnvironmentEnum } from "./node-env.vo";
7
6
  import { PathType } from "./path.vo";
@@ -1,6 +1,5 @@
1
1
  import * as tools from "@bgord/tools";
2
2
  import NodeCache from "node-cache";
3
-
4
3
  import { RateLimitStore, RateLimitStoreSubjectType } from "./rate-limit-store.port";
5
4
 
6
5
  export class NodeCacheRateLimitStore implements RateLimitStore {
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  import { ImageEXIF } from "./image-exif.service";
4
3
  import { Path, PathType } from "./path.vo";
5
4
  import { UrlWithoutTrailingSlashType } from "./url-wo-trailing-slash.vo";
@@ -1,6 +1,5 @@
1
1
  import bun from "bun";
2
2
  import { z } from "zod/v4";
3
-
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
6
5
  const PrerequisiteBinaryValue = z
@@ -1,5 +1,4 @@
1
1
  import * as tools from "@bgord/tools";
2
-
3
2
  import * as prereqs from "../prerequisites.service";
4
3
 
5
4
  type PrerequisiteBunConfigType = {
@@ -1,5 +1,4 @@
1
1
  import bun from "bun";
2
-
3
2
  import {
4
3
  AbstractPrerequisite,
5
4
  PrerequisiteLabelType,
@@ -1,5 +1,4 @@
1
1
  import * as tools from "@bgord/tools";
2
-
3
2
  import { MemoryConsumption } from "../memory-consumption.service";
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
@@ -1,6 +1,5 @@
1
- import * as tools from "@bgord/tools";
2
1
  import bun from "bun";
3
-
2
+ import * as tools from "@bgord/tools";
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
6
5
  type PrerequisiteNodeConfigType = {
@@ -1,6 +1,5 @@
1
1
  import { constants } from "node:fs";
2
2
  import fsp from "node:fs/promises";
3
-
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
6
5
  type PrerequisitePathConfigType = {
@@ -1,5 +1,4 @@
1
1
  import net from "node:net";
2
-
3
2
  import type { PortType } from "../port.vo";
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
@@ -1,6 +1,5 @@
1
1
  import os from "node:os";
2
2
  import * as tools from "@bgord/tools";
3
-
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
6
5
  type PrerequisiteRAMConfigType = {
@@ -1,7 +1,6 @@
1
1
  import path from "node:path";
2
2
  import * as tools from "@bgord/tools";
3
3
  import checkDiskSpace from "check-disk-space";
4
-
5
4
  import * as prereqs from "../prerequisites.service";
6
5
 
7
6
  type PrerequisiteSpaceConfigType = {
@@ -1,5 +1,4 @@
1
1
  import sslChecker from "ssl-checker";
2
-
3
2
  import * as prereqs from "../prerequisites.service";
4
3
 
5
4
  type PrerequisiteSSLCertificateExpiryConfigType = {
@@ -1,6 +1,5 @@
1
1
  import * as tools from "@bgord/tools";
2
2
  import { z } from "zod/v4";
3
-
4
3
  import * as prereqs from "../prerequisites.service";
5
4
 
6
5
  type PrerequisiteTimezoneUtcConfigType = {
@@ -1,7 +1,6 @@
1
1
  import { constants } from "node:fs";
2
2
  import fsp from "node:fs/promises";
3
3
  import * as tools from "@bgord/tools";
4
-
5
4
  import * as i18n from "../i18n.service";
6
5
  import * as prereqs from "../prerequisites.service";
7
6
 
@@ -6,7 +6,6 @@ import { languageDetector } from "hono/language";
6
6
  import { requestId } from "hono/request-id";
7
7
  import { secureHeaders } from "hono/secure-headers";
8
8
  import { timing } from "hono/timing";
9
-
10
9
  import { ApiVersion } from "./api-version.middleware";
11
10
  import { BOTS_REGEX } from "./bots.vo";
12
11
  import { Context } from "./context.middleware";
@@ -1,5 +1,4 @@
1
1
  import { z } from "zod/v4";
2
-
3
2
  import { PathType } from "./path.vo";
4
3
  import { UrlWithoutTrailingSlashType } from "./url-wo-trailing-slash.vo";
5
4
 
@@ -1,7 +1,6 @@
1
1
  import nodemailer, { SendMailOptions } from "nodemailer";
2
2
  import { z } from "zod/v4";
3
3
  import { MailerPort } from "./mailer.port";
4
-
5
4
  import { Path } from "./path.vo";
6
5
  import { Port } from "./port.vo";
7
6
 
@@ -1,6 +1,5 @@
1
1
  import * as tools from "@bgord/tools";
2
2
  import { createMiddleware } from "hono/factory";
3
-
4
3
  import { EtagVariables } from "./etag-extractor.middleware";
5
4
 
6
5
  export class WeakETagExtractor {
@@ -11,7 +11,7 @@ export class ZipDraft extends FileDraft {
11
11
  this.parts = config.parts;
12
12
  }
13
13
 
14
- // @ts-ignore
14
+ // @ts-expect-error
15
15
  async create(): Promise<Buffer> {
16
16
  const zip = new ZipFile();
17
17
  const chunks: Buffer[] = [];