@digitraffic/common 2026.11.2-1 → 2026.11.18-1

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.
@@ -28,7 +28,7 @@ describe("HttpLogger", () => {
28
28
  httpLogger.logResponse(200, 512);
29
29
  expect(infoSpy).toHaveBeenCalledWith({
30
30
  method: "HttpLogger.logStatus",
31
- [WIDE_CONTEXT.LOGGING.CONTEXT]: "port_call",
31
+ [WIDE_CONTEXT.CONTEXT]: "port_call",
32
32
  [WIDE_CONTEXT.TRACE_ID]: "trace-123",
33
33
  [WIDE_CONTEXT.HTTP_KEYS.URL]: "https://example.test/visits/1",
34
34
  [WIDE_CONTEXT.HTTP_KEYS.URL_TEMPLATE]: "/visits/{id}",
@@ -42,7 +42,7 @@ describe("HttpLogger", () => {
42
42
  ["https://example.test/visits/{id}", "/visits/{id}"],
43
43
  ["http://example.test:8080/visits/{id}?a=1", "/visits/{id}?a=1"],
44
44
  ["HTTPS://example.test/visits/{id}", "/visits/{id}"],
45
- ["https://example.test", ""],
45
+ ["https://example.test", "/"],
46
46
  ["https://example.test?a=1", "?a=1"],
47
47
  ["/visits/{id}", "/visits/{id}"],
48
48
  ["/redirect/https://other.test/{id}", "/redirect/https://other.test/{id}"],
@@ -91,7 +91,7 @@ describe("HttpLogger", () => {
91
91
  httpLogger.logError(new TypeError("request failed"));
92
92
  expect(infoSpy).toHaveBeenCalledWith(expect.objectContaining({
93
93
  method: "HttpLogger.logStatus",
94
- [WIDE_CONTEXT.LOGGING.CONTEXT]: "test",
94
+ [WIDE_CONTEXT.CONTEXT]: "test",
95
95
  [WIDE_CONTEXT.HTTP_KEYS.ERROR_TYPE]: "TypeError",
96
96
  [WIDE_CONTEXT.HTTP_KEYS.STATUS_CODE]: undefined,
97
97
  [WIDE_CONTEXT.HTTP_KEYS.CONTENT_LENGTH]: undefined,
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,124 @@
1
+ import { afterEach, describe, expect, test, vi } from "vitest";
2
+ import { logger } from "../../aws/runtime/logging/dt-logger-default.js";
3
+ import { MaintenanceLogger } from "../../aws/runtime/logging/maintenance-logger.js";
4
+ import { WIDE_CONTEXT } from "../../aws/runtime/logging/wide-context.js";
5
+ vi.mock("../../aws/runtime/logging/dt-logger-default.js", () => ({
6
+ logger: {
7
+ info: vi.fn(),
8
+ error: vi.fn(),
9
+ },
10
+ }));
11
+ describe("maintenance-logger", () => {
12
+ afterEach(() => {
13
+ vi.restoreAllMocks();
14
+ });
15
+ describe("logCleanup", () => {
16
+ test("logs successful cleanup with all required fields", () => {
17
+ const infoSpy = vi
18
+ .spyOn(logger, "info")
19
+ .mockImplementation(() => undefined);
20
+ MaintenanceLogger.instance().logCleanup("users", 150, 10, 2.5);
21
+ expect(infoSpy).toHaveBeenCalledWith({
22
+ method: "MaintenanceLogger.logCleanup",
23
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_SUCCESS,
24
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
25
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "users",
26
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_DELETED_COUNT]: 150,
27
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_BATCH_SIZE]: 10,
28
+ [WIDE_CONTEXT.DURATION]: 2.5,
29
+ });
30
+ });
31
+ test("logs cleanup with different table names", () => {
32
+ const infoSpy = vi
33
+ .spyOn(logger, "info")
34
+ .mockImplementation(() => undefined);
35
+ MaintenanceLogger.instance().logCleanup("events", 500, 50, 5.0);
36
+ expect(infoSpy).toHaveBeenCalledWith({
37
+ method: "MaintenanceLogger.logCleanup",
38
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_SUCCESS,
39
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
40
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "events",
41
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_DELETED_COUNT]: 500,
42
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_BATCH_SIZE]: 50,
43
+ [WIDE_CONTEXT.DURATION]: 5.0,
44
+ });
45
+ });
46
+ test("logs cleanup with zero deleted count", () => {
47
+ const infoSpy = vi
48
+ .spyOn(logger, "info")
49
+ .mockImplementation(() => undefined);
50
+ MaintenanceLogger.instance().logCleanup("archive", 0, 100, 0.5);
51
+ expect(infoSpy).toHaveBeenCalledWith({
52
+ method: "MaintenanceLogger.logCleanup",
53
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_SUCCESS,
54
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
55
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "archive",
56
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_DELETED_COUNT]: 0,
57
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_BATCH_SIZE]: 100,
58
+ [WIDE_CONTEXT.DURATION]: 0.5,
59
+ });
60
+ });
61
+ });
62
+ describe("logError", () => {
63
+ test("logs error with all required fields", () => {
64
+ const errorSpy = vi
65
+ .spyOn(logger, "error")
66
+ .mockImplementation(() => undefined);
67
+ const error = new Error("Database connection failed");
68
+ MaintenanceLogger.instance().logError("users", 1.2, error);
69
+ expect(errorSpy).toHaveBeenCalledWith(expect.objectContaining({
70
+ method: "MaintenanceLogger.logError",
71
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_ERROR,
72
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
73
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "users",
74
+ [WIDE_CONTEXT.DURATION]: 1.2,
75
+ error,
76
+ }));
77
+ });
78
+ test("logs error with string error", () => {
79
+ const errorSpy = vi
80
+ .spyOn(logger, "error")
81
+ .mockImplementation(() => undefined);
82
+ MaintenanceLogger.instance().logError("events", 0.5, "Timeout occurred");
83
+ expect(errorSpy).toHaveBeenCalledWith(expect.objectContaining({
84
+ method: "MaintenanceLogger.logError",
85
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_ERROR,
86
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
87
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "events",
88
+ [WIDE_CONTEXT.DURATION]: 0.5,
89
+ error: "Timeout occurred",
90
+ }));
91
+ });
92
+ test("logs error with Error object", () => {
93
+ const errorSpy = vi
94
+ .spyOn(logger, "error")
95
+ .mockImplementation(() => undefined);
96
+ const error = new Error("Connection lost");
97
+ MaintenanceLogger.instance().logError("archive", 2.0, error);
98
+ expect(errorSpy).toHaveBeenCalledWith(expect.objectContaining({
99
+ method: "MaintenanceLogger.logError",
100
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_ERROR,
101
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
102
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "archive",
103
+ [WIDE_CONTEXT.DURATION]: 2.0,
104
+ error,
105
+ }));
106
+ });
107
+ test("logs error with custom error object", () => {
108
+ const errorSpy = vi
109
+ .spyOn(logger, "error")
110
+ .mockImplementation(() => undefined);
111
+ const customError = { code: "DB_ERROR", message: "Query failed" };
112
+ MaintenanceLogger.instance().logError("users", 0.8, customError);
113
+ expect(errorSpy).toHaveBeenCalledWith(expect.objectContaining({
114
+ method: "MaintenanceLogger.logError",
115
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_ERROR,
116
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
117
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: "users",
118
+ [WIDE_CONTEXT.DURATION]: 0.8,
119
+ error: customError,
120
+ }));
121
+ });
122
+ });
123
+ });
124
+ //# sourceMappingURL=maintenance-logger.test.js.map
@@ -408,6 +408,23 @@ describe("convertJsonSchemaNullableToOneOfDeep", () => {
408
408
  },
409
409
  })).not.toThrow();
410
410
  });
411
+ test("keeps null type working when it is also marked nullable", () => {
412
+ // { type: "null", nullable: true } must not become
413
+ // oneOf: [{ type: "null" }, { type: "null" }], because null would then
414
+ // match both alternatives and oneOf would reject it
415
+ const schema = convertJsonSchemaNullableToOneOfDeep({
416
+ type: "object",
417
+ properties: {
418
+ empty: { type: "null", nullable: true },
419
+ },
420
+ });
421
+ expect(schema).toEqual({
422
+ type: "object",
423
+ properties: {
424
+ empty: { type: "null" },
425
+ },
426
+ });
427
+ });
411
428
  test("creates an API Gateway schema from Zod", () => {
412
429
  const schema = toApiGatewayJsonSchema(z.object({
413
430
  reason: z.string().nullable(),
@@ -42,6 +42,10 @@ export interface LoggableType extends CustomParams {
42
42
  method: LoggerMethodType;
43
43
  /** Message to log, optional */
44
44
  message?: string;
45
+ /** context, optional */
46
+ context?: string;
47
+ /** Duration of the operation in seconds, optional */
48
+ duration?: number;
45
49
  /** Type of message, optional */
46
50
  type?: string;
47
51
  /** Stack trace, optional */
@@ -49,7 +49,9 @@ export class HttpLogger {
49
49
  this._context = snakeCase(parameters.context);
50
50
  this._url = parameters.url;
51
51
  this._traceId = parameters.traceId;
52
- this._urlTemplate = parameters.urlTemplate?.replace(/^https?:\/\/[^/?#]+/i, "");
52
+ this._urlTemplate = parameters.urlTemplate
53
+ ? parameters.urlTemplate.replace(/^(?:[a-z][a-z0-9+.-]*:)?\/\/[^/?#]+/i, "") || "/"
54
+ : undefined;
53
55
  this._startTime = Date.now();
54
56
  }
55
57
  start() {
@@ -88,7 +90,7 @@ export class HttpLogger {
88
90
  logger.info({
89
91
  method: METHOD,
90
92
  [WIDE_CONTEXT.TRACE_ID]: this._traceId,
91
- [WIDE_CONTEXT.LOGGING.CONTEXT]: this._context,
93
+ [WIDE_CONTEXT.CONTEXT]: this._context,
92
94
  [WIDE_CONTEXT.HTTP_KEYS.URL]: this._url,
93
95
  [WIDE_CONTEXT.HTTP_KEYS.URL_TEMPLATE]: this._urlTemplate,
94
96
  [WIDE_CONTEXT.HTTP_KEYS.ERROR_TYPE]: parameters.errorType,
@@ -0,0 +1,21 @@
1
+ export declare class MaintenanceLogger {
2
+ private static _maintenanceLogger?;
3
+ static instance(): MaintenanceLogger;
4
+ /**
5
+ * Logs a successful database cleanup operation with structured metrics.
6
+ *
7
+ * @param tableName - The name of the table being cleaned up
8
+ * @param deletedCount - Number of rows deleted
9
+ * @param batchSize - Size of the batch processed
10
+ * @param seconds - Duration of the operation in seconds
11
+ */
12
+ logCleanup(tableName: string, deletedCount: number, batchSize: number, seconds: number): void;
13
+ /**
14
+ * Logs a database cleanup operation error with relevant context.
15
+ *
16
+ * @param tableName - The name of the table where the error occurred
17
+ * @param seconds - Duration of the operation before the error in seconds
18
+ * @param error - The error that occurred
19
+ */
20
+ logError(tableName: string, seconds: number, error: unknown): void;
21
+ }
@@ -0,0 +1,50 @@
1
+ import { logger } from "./dt-logger-default.js";
2
+ import { WIDE_CONTEXT } from "./wide-context.js";
3
+ const METHOD_CLEANUP = "MaintenanceLogger.logCleanup";
4
+ const METHOD_ERROR = "MaintenanceLogger.logError";
5
+ export class MaintenanceLogger {
6
+ static _maintenanceLogger;
7
+ static instance() {
8
+ if (!MaintenanceLogger._maintenanceLogger) {
9
+ MaintenanceLogger._maintenanceLogger = new MaintenanceLogger();
10
+ }
11
+ return MaintenanceLogger._maintenanceLogger;
12
+ }
13
+ /**
14
+ * Logs a successful database cleanup operation with structured metrics.
15
+ *
16
+ * @param tableName - The name of the table being cleaned up
17
+ * @param deletedCount - Number of rows deleted
18
+ * @param batchSize - Size of the batch processed
19
+ * @param seconds - Duration of the operation in seconds
20
+ */
21
+ logCleanup(tableName, deletedCount, batchSize, seconds) {
22
+ logger.info({
23
+ method: METHOD_CLEANUP,
24
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_SUCCESS,
25
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
26
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: tableName,
27
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_DELETED_COUNT]: deletedCount,
28
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_BATCH_SIZE]: batchSize,
29
+ [WIDE_CONTEXT.DURATION]: seconds,
30
+ });
31
+ }
32
+ /**
33
+ * Logs a database cleanup operation error with relevant context.
34
+ *
35
+ * @param tableName - The name of the table where the error occurred
36
+ * @param seconds - Duration of the operation before the error in seconds
37
+ * @param error - The error that occurred
38
+ */
39
+ logError(tableName, seconds, error) {
40
+ logger.error({
41
+ method: METHOD_ERROR,
42
+ [WIDE_CONTEXT.OUTCOME.KEY]: WIDE_CONTEXT.OUTCOME.VALUE_ERROR,
43
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_CLEANUP]: true,
44
+ [WIDE_CONTEXT.DB_MAINTENANCE.KEY_TABLENAME]: tableName,
45
+ [WIDE_CONTEXT.DURATION]: seconds,
46
+ error,
47
+ });
48
+ }
49
+ }
50
+ //# sourceMappingURL=maintenance-logger.js.map
@@ -1,14 +1,25 @@
1
1
  export declare const WIDE_CONTEXT: {
2
+ readonly METHOD: "method";
2
3
  readonly TRACE_ID: "customTrace_id";
3
- readonly LOGGING: {
4
- readonly CONTEXT: "customLogging.context";
5
- };
4
+ readonly CONTEXT: "context";
5
+ readonly DURATION: "duration";
6
6
  readonly HTTP_KEYS: {
7
+ readonly URL: "customUrl_full";
8
+ readonly URL_TEMPLATE: "customUrl_template";
9
+ readonly ERROR_TYPE: "customError_type";
7
10
  readonly DURATION: "customHttp.client.request.duration";
8
- readonly ERROR_TYPE: "customRequest.error.type";
9
11
  readonly STATUS_CODE: "customHttp.response.status_code";
10
- readonly URL: "customRequest.url.full";
11
- readonly URL_TEMPLATE: "customRequest.url.template";
12
12
  readonly CONTENT_LENGTH: "customHttp.response.body.size";
13
13
  };
14
+ readonly OUTCOME: {
15
+ readonly KEY: "customOutcome";
16
+ readonly VALUE_SUCCESS: "success";
17
+ readonly VALUE_ERROR: "error";
18
+ };
19
+ readonly DB_MAINTENANCE: {
20
+ readonly KEY_CLEANUP: "customMaintenance.db.cleanup.enabled";
21
+ readonly KEY_TABLENAME: "customMaintenance.db.table.name";
22
+ readonly KEY_DELETED_COUNT: "customMaintenance.db.cleanup.deleted.count";
23
+ readonly KEY_BATCH_SIZE: "customMaintenance.db.cleanup.batch.size";
24
+ };
14
25
  };
@@ -1,15 +1,27 @@
1
1
  export const WIDE_CONTEXT = {
2
+ METHOD: "method",
2
3
  TRACE_ID: "customTrace_id",
3
- LOGGING: {
4
- CONTEXT: "customLogging.context",
5
- },
4
+ CONTEXT: "context",
5
+ DURATION: "duration",
6
6
  HTTP_KEYS: {
7
+ // temporary keys, change to url.full etc later
8
+ URL: "customUrl_full",
9
+ URL_TEMPLATE: "customUrl_template",
10
+ ERROR_TYPE: "customError_type",
7
11
  DURATION: "customHttp.client.request.duration",
8
- ERROR_TYPE: "customRequest.error.type",
9
12
  STATUS_CODE: "customHttp.response.status_code",
10
- URL: "customRequest.url.full",
11
- URL_TEMPLATE: "customRequest.url.template",
12
13
  CONTENT_LENGTH: "customHttp.response.body.size",
13
14
  },
15
+ OUTCOME: {
16
+ KEY: "customOutcome",
17
+ VALUE_SUCCESS: "success",
18
+ VALUE_ERROR: "error",
19
+ },
20
+ DB_MAINTENANCE: {
21
+ KEY_CLEANUP: "customMaintenance.db.cleanup.enabled",
22
+ KEY_TABLENAME: "customMaintenance.db.table.name",
23
+ KEY_DELETED_COUNT: "customMaintenance.db.cleanup.deleted.count",
24
+ KEY_BATCH_SIZE: "customMaintenance.db.cleanup.batch.size",
25
+ },
14
26
  };
15
27
  //# sourceMappingURL=wide-context.js.map
@@ -183,6 +183,12 @@ function convertNullableSchema(schema) {
183
183
  if (nullable !== true) {
184
184
  return rest;
185
185
  }
186
+ // A null type already allows only null, so adding a null alternative
187
+ // would make null match two oneOf alternatives and be rejected.
188
+ // biome-ignore lint/complexity/useLiteralKeys: index signature requires bracket notation
189
+ if (rest["type"] === "null") {
190
+ return rest;
191
+ }
186
192
  // A simple typed schema cannot overlap with null, so oneOf is safe.
187
193
  // biome-ignore lint/complexity/useLiteralKeys: index signature requires bracket notation
188
194
  if (typeof rest["type"] === "string") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digitraffic/common",
3
- "version": "2026.11.2-1",
3
+ "version": "2026.11.18-1",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "repository": {
@@ -97,6 +97,7 @@
97
97
  "./dist/aws/runtime/logging/http-logger": "./dist/aws/runtime/logging/http-logger.js",
98
98
  "./dist/aws/runtime/logging/wide-context": "./dist/aws/runtime/logging/wide-context.js",
99
99
  "./dist/aws/runtime/logging/http-interceptors": "./dist/aws/runtime/logging/http-interceptors.js",
100
+ "./dist/aws/runtime/logging/maintenance-logger": "./dist/aws/runtime/logging/maintenance-logger.js",
100
101
  "./dist/aws/runtime/secrets/secret": "./dist/aws/runtime/secrets/secret.js",
101
102
  "./dist/aws/runtime/secrets/proxy-holder": "./dist/aws/runtime/secrets/proxy-holder.js",
102
103
  "./dist/aws/runtime/secrets/dbsecret": "./dist/aws/runtime/secrets/dbsecret.js",
@@ -112,63 +113,63 @@
112
113
  "dist/**/*.d.ts"
113
114
  ],
114
115
  "devDependencies": {
115
- "@aws-sdk/client-api-gateway": "3.1098.0",
116
- "@aws-sdk/client-s3": "3.1098.0",
117
- "@aws-sdk/client-secrets-manager": "3.1098.0",
118
- "@aws-sdk/client-sns": "3.1098.0",
119
- "@aws-sdk/lib-storage": "3.1098.0",
120
- "@biomejs/biome": "2.5.6",
116
+ "@aws-sdk/client-api-gateway": "3.1163.0",
117
+ "@aws-sdk/client-s3": "3.1163.0",
118
+ "@aws-sdk/client-secrets-manager": "3.1163.0",
119
+ "@aws-sdk/client-sns": "3.1163.0",
120
+ "@aws-sdk/lib-storage": "3.1163.0",
121
+ "@biomejs/biome": "2.6.5",
121
122
  "@date-fns/tz": "1.5.0",
122
- "@rushstack/heft": "1.2.22",
123
- "@rushstack/heft-typescript-plugin": "1.3.17",
124
- "@smithy/fetch-http-handler": "5.6.13",
125
- "@smithy/node-http-handler": "4.9.13",
126
- "@smithy/types": "4.16.1",
127
- "@types/aws-lambda": "8.10.162",
123
+ "@rushstack/heft": "1.3.5",
124
+ "@rushstack/heft-typescript-plugin": "1.3.27",
125
+ "@smithy/fetch-http-handler": "5.8.1",
126
+ "@smithy/node-http-handler": "4.14.2",
127
+ "@smithy/types": "4.20.0",
128
+ "@types/aws-lambda": "8.10.164",
128
129
  "@types/etag": "1.8.4",
129
130
  "@types/geojson": "7946.0.16",
130
131
  "@types/geojson-validation": "1.0.3",
131
132
  "@types/madge": "5.0.3",
132
- "@types/node": "24.13.3",
133
+ "@types/node": "24.19.2",
133
134
  "@vitest/coverage-v8": "4.1.12",
134
- "aws-cdk-lib": "2.262.2",
135
- "constructs": "10.7.2",
135
+ "aws-cdk-lib": "2.275.0",
136
+ "constructs": "10.8.1",
136
137
  "date-fns": "4.4.0",
137
- "es-toolkit": "1.50.0",
138
+ "es-toolkit": "1.53.2",
138
139
  "etag": "1.8.1",
139
140
  "geojson-validation": "1.0.2",
140
- "ky": "2.0.2",
141
- "lefthook": "2.1.10",
141
+ "ky": "2.2.0",
142
+ "lefthook": "2.2.2",
142
143
  "madge": "8.0.0",
143
- "pg-native": "3.8.0",
144
- "pg-promise": "12.7.0",
145
- "pg-query-stream": "4.16.0",
146
- "rimraf": "6.1.3",
147
- "sort-package-json": "4.0.0",
144
+ "pg-native": "3.9.1",
145
+ "pg-promise": "12.7.1",
146
+ "pg-query-stream": "4.17.0",
147
+ "rimraf": "6.1.4",
148
+ "sort-package-json": "4.1.0",
148
149
  "typescript": "5.9.3",
149
- "undici": "8.12.2",
150
+ "undici": "8.12.4",
150
151
  "velocityjs": "2.1.7",
151
152
  "vitest": "4.1.12",
152
153
  "zod": "4.6.7"
153
154
  },
154
155
  "peerDependencies": {
155
- "@aws-sdk/client-api-gateway": "3.1098.0",
156
- "@aws-sdk/client-s3": "3.1098.0",
157
- "@aws-sdk/client-secrets-manager": "3.1098.0",
158
- "@aws-sdk/client-sns": "3.1098.0",
159
- "@aws-sdk/lib-storage": "3.1098.0",
156
+ "@aws-sdk/client-api-gateway": "3.1163.0",
157
+ "@aws-sdk/client-s3": "3.1163.0",
158
+ "@aws-sdk/client-secrets-manager": "3.1163.0",
159
+ "@aws-sdk/client-sns": "3.1163.0",
160
+ "@aws-sdk/lib-storage": "3.1163.0",
160
161
  "@date-fns/tz": "1.5.0",
161
- "@smithy/fetch-http-handler": "5.6.13",
162
- "@smithy/node-http-handler": "4.9.13",
163
- "aws-cdk-lib": "2.262.2",
164
- "constructs": "10.7.2",
162
+ "@smithy/fetch-http-handler": "5.8.1",
163
+ "@smithy/node-http-handler": "4.14.2",
164
+ "aws-cdk-lib": "2.275.0",
165
+ "constructs": "10.8.1",
165
166
  "date-fns": "4.4.0",
166
- "es-toolkit": "1.50.0",
167
+ "es-toolkit": "1.53.2",
167
168
  "geojson-validation": "1.0.2",
168
- "ky": "2.0.2",
169
- "pg-native": "3.8.0",
170
- "pg-promise": "12.7.0",
171
- "undici": "8.12.2",
169
+ "ky": "2.2.0",
170
+ "pg-native": "3.9.1",
171
+ "pg-promise": "12.7.1",
172
+ "undici": "8.12.4",
172
173
  "zod": "4.6.7"
173
174
  },
174
175
  "engines": {