@digitraffic/common 2025.4.29-1 → 2025.5.28-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.
- package/README.md +4 -0
- package/dist/__test__/infra/acl-builder.test.js +7 -2
- package/dist/aws/infra/acl-builder.d.ts +19 -12
- package/dist/aws/infra/acl-builder.js +34 -2
- package/dist/aws/runtime/secrets/secret-holder.d.ts +3 -1
- package/dist/aws/runtime/secrets/secret-holder.js +12 -8
- package/dist/types/openapi-schema.d.ts +128 -128
- package/dist/utils/logging.d.ts +1 -2
- package/dist/utils/logging.js +1 -2
- package/package.json +29 -33
package/dist/utils/logging.d.ts
CHANGED
@@ -11,8 +11,7 @@ import { DtLogger } from "../aws/runtime/dt-logger.js";
|
|
11
11
|
*
|
12
12
|
* @param [logger=undefined] - DtLogger to use. If not given, will create a new instance of DtLogger
|
13
13
|
* @param [includeStack=false] - Define if the stack trace should be logged.
|
14
|
-
* @
|
15
|
-
* @returns Logs the error without rethrowing.
|
14
|
+
* @returns Logger that logs the error without rethrowing.
|
16
15
|
* @see {@link logException}
|
17
16
|
*/
|
18
17
|
export declare function createExceptionLogger(logger?: DtLogger | undefined, includeStack?: boolean): (error: unknown) => void;
|
package/dist/utils/logging.js
CHANGED
@@ -13,8 +13,7 @@ const functionName = getEnvVariableOrElse("AWS_LAMBDA_FUNCTION_NAME", "test");
|
|
13
13
|
*
|
14
14
|
* @param [logger=undefined] - DtLogger to use. If not given, will create a new instance of DtLogger
|
15
15
|
* @param [includeStack=false] - Define if the stack trace should be logged.
|
16
|
-
* @
|
17
|
-
* @returns Logs the error without rethrowing.
|
16
|
+
* @returns Logger that logs the error without rethrowing.
|
18
17
|
* @see {@link logException}
|
19
18
|
*/
|
20
19
|
export function createExceptionLogger(logger = undefined, includeStack = false) {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@digitraffic/common",
|
3
|
-
"version": "2025.
|
3
|
+
"version": "2025.5.28-1",
|
4
4
|
"description": "",
|
5
5
|
"type": "module",
|
6
6
|
"repository": {
|
@@ -104,54 +104,52 @@
|
|
104
104
|
"./dist/aws/runtime/digitraffic-integration-response": "./dist/aws/runtime/digitraffic-integration-response.js"
|
105
105
|
},
|
106
106
|
"peerDependencies": {
|
107
|
-
"@aws-sdk/client-api-gateway": "^3.
|
108
|
-
"@aws-sdk/client-s3": "^3.
|
109
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
110
|
-
"@aws-sdk/client-sns": "^3.
|
111
|
-
"@aws-sdk/lib-storage": "^3.
|
107
|
+
"@aws-sdk/client-api-gateway": "^3.817.0",
|
108
|
+
"@aws-sdk/client-s3": "^3.817.0",
|
109
|
+
"@aws-sdk/client-secrets-manager": "^3.817.0",
|
110
|
+
"@aws-sdk/client-sns": "^3.817.0",
|
111
|
+
"@aws-sdk/lib-storage": "^3.817.0",
|
112
112
|
"@date-fns/tz": "1.2.0",
|
113
113
|
"@smithy/fetch-http-handler": "5.0.2",
|
114
|
-
"aws-cdk-lib": "^2.
|
114
|
+
"aws-cdk-lib": "^2.199.0",
|
115
115
|
"change-case": "^5.4.4",
|
116
116
|
"constructs": "~10.4.2",
|
117
117
|
"date-fns": "~4.1.0",
|
118
118
|
"etag": "^1.8.1",
|
119
119
|
"geojson-validation": "^1.0.2",
|
120
|
-
"ky": "^1.
|
120
|
+
"ky": "^1.8.1",
|
121
121
|
"lodash-es": "^4.17.21",
|
122
|
-
"
|
123
|
-
"pg-native": "^3.3.0",
|
122
|
+
"pg-native": "^3.5.0",
|
124
123
|
"pg-promise": "^11.13.0",
|
125
|
-
"
|
126
|
-
"zod": "^3.24.2"
|
124
|
+
"zod": "^3.25.32"
|
127
125
|
},
|
128
126
|
"devDependencies": {
|
129
|
-
"@aws-sdk/client-api-gateway": "^3.
|
130
|
-
"@aws-sdk/client-s3": "^3.
|
131
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
132
|
-
"@aws-sdk/client-sns": "^3.
|
133
|
-
"@aws-sdk/lib-storage": "^3.
|
127
|
+
"@aws-sdk/client-api-gateway": "^3.817.0",
|
128
|
+
"@aws-sdk/client-s3": "^3.817.0",
|
129
|
+
"@aws-sdk/client-secrets-manager": "^3.817.0",
|
130
|
+
"@aws-sdk/client-sns": "^3.817.0",
|
131
|
+
"@aws-sdk/lib-storage": "^3.817.0",
|
134
132
|
"@date-fns/tz": "1.2.0",
|
135
133
|
"@digitraffic/eslint-config": "^3.1.1",
|
136
134
|
"@jest/globals": "^29.7.0",
|
137
135
|
"@rushstack/eslint-config": "^3.7.1",
|
138
|
-
"@rushstack/heft": "^0.71.
|
136
|
+
"@rushstack/heft": "^0.71.2",
|
139
137
|
"@rushstack/heft-jest-plugin": "^0.15.3",
|
140
|
-
"@rushstack/heft-lint-plugin": "^0.5.
|
141
|
-
"@rushstack/heft-typescript-plugin": "^0.8.
|
142
|
-
"@smithy/fetch-http-handler": "5.0.
|
138
|
+
"@rushstack/heft-lint-plugin": "^0.5.37",
|
139
|
+
"@rushstack/heft-typescript-plugin": "^0.8.2",
|
140
|
+
"@smithy/fetch-http-handler": "5.0.3",
|
143
141
|
"@smithy/types": "^4.2.0",
|
144
|
-
"@types/aws-lambda": "8.10.
|
142
|
+
"@types/aws-lambda": "8.10.149",
|
145
143
|
"@types/etag": "^1.8.3",
|
146
144
|
"@types/geojson": "7946.0.16",
|
147
145
|
"@types/geojson-validation": "^1.0.3",
|
148
146
|
"@types/jest": "29.5.14",
|
149
147
|
"@types/lodash-es": "4.17.12",
|
150
148
|
"@types/madge": "5.0.3",
|
151
|
-
"@types/node": "22.
|
149
|
+
"@types/node": "22.15.23",
|
152
150
|
"@typescript-eslint/eslint-plugin": "~7.14.1",
|
153
151
|
"@typescript-eslint/parser": "^7.18.0",
|
154
|
-
"aws-cdk-lib": "^2.
|
152
|
+
"aws-cdk-lib": "^2.199.0",
|
155
153
|
"aws-sdk": "^2.1692.0",
|
156
154
|
"change-case": "^5.4.4",
|
157
155
|
"constructs": "~10.4.2",
|
@@ -163,20 +161,18 @@
|
|
163
161
|
"geojson-validation": "^1.0.2",
|
164
162
|
"jest": "^29.7.0",
|
165
163
|
"jest-junit": "^16.0.0",
|
166
|
-
"ky": "^1.
|
167
|
-
"lefthook": "^1.11.
|
164
|
+
"ky": "^1.8.1",
|
165
|
+
"lefthook": "^1.11.12",
|
168
166
|
"lodash": "^4.17.21",
|
169
167
|
"lodash-es": "^4.17.21",
|
170
168
|
"madge": "^8.0.0",
|
171
|
-
"
|
172
|
-
"pg-native": "^3.3.0",
|
169
|
+
"pg-native": "^3.5.0",
|
173
170
|
"pg-promise": "^11.13.0",
|
174
|
-
"pg-query-stream": "4.8.1",
|
175
171
|
"rimraf": "^6.0.1",
|
176
|
-
"ts-jest": "^29.3.
|
177
|
-
"typescript": "~5.
|
178
|
-
"velocityjs": "^2.
|
179
|
-
"zod": "
|
172
|
+
"ts-jest": "^29.3.4",
|
173
|
+
"typescript": "~5.8.3",
|
174
|
+
"velocityjs": "^2.1.5",
|
175
|
+
"zod": "~3.25.32"
|
180
176
|
},
|
181
177
|
"scripts": {
|
182
178
|
"build": "heft build --clean",
|