@digitraffic/common 2025.5.5-1 → 2025.6.16-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/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 +34 -34
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.6.16-1",
|
4
4
|
"description": "",
|
5
5
|
"type": "module",
|
6
6
|
"repository": {
|
@@ -104,32 +104,32 @@
|
|
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.
|
112
|
-
"@date-fns/tz": "1.2.0",
|
113
|
-
"@smithy/fetch-http-handler": "5.0.
|
114
|
-
"aws-cdk-lib": "^2.
|
107
|
+
"@aws-sdk/client-api-gateway": "^3.829.0",
|
108
|
+
"@aws-sdk/client-s3": "^3.828.0",
|
109
|
+
"@aws-sdk/client-secrets-manager": "^3.828.0",
|
110
|
+
"@aws-sdk/client-sns": "^3.828.0",
|
111
|
+
"@aws-sdk/lib-storage": "^3.828.0",
|
112
|
+
"@date-fns/tz": "^1.2.0",
|
113
|
+
"@smithy/fetch-http-handler": "^5.0.4",
|
114
|
+
"aws-cdk-lib": "^2.201.0",
|
115
115
|
"change-case": "^5.4.4",
|
116
|
-
"constructs": "
|
117
|
-
"date-fns": "
|
116
|
+
"constructs": "^10.4.2",
|
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
|
-
"pg-native": "^3.
|
123
|
-
"pg-promise": "^11.
|
124
|
-
"zod": "^3.
|
122
|
+
"pg-native": "^3.5.0",
|
123
|
+
"pg-promise": "^11.14.0",
|
124
|
+
"zod": "^3.25.64"
|
125
125
|
},
|
126
126
|
"devDependencies": {
|
127
|
-
"@aws-sdk/client-api-gateway": "^3.
|
128
|
-
"@aws-sdk/client-s3": "^3.
|
129
|
-
"@aws-sdk/client-secrets-manager": "^3.
|
130
|
-
"@aws-sdk/client-sns": "^3.
|
131
|
-
"@aws-sdk/lib-storage": "^3.
|
132
|
-
"@date-fns/tz": "1.2.0",
|
127
|
+
"@aws-sdk/client-api-gateway": "^3.829.0",
|
128
|
+
"@aws-sdk/client-s3": "^3.828.0",
|
129
|
+
"@aws-sdk/client-secrets-manager": "^3.828.0",
|
130
|
+
"@aws-sdk/client-sns": "^3.828.0",
|
131
|
+
"@aws-sdk/lib-storage": "^3.828.0",
|
132
|
+
"@date-fns/tz": "^1.2.0",
|
133
133
|
"@digitraffic/eslint-config": "^3.1.1",
|
134
134
|
"@jest/globals": "^29.7.0",
|
135
135
|
"@rushstack/eslint-config": "^3.7.1",
|
@@ -137,7 +137,7 @@
|
|
137
137
|
"@rushstack/heft-jest-plugin": "^0.15.3",
|
138
138
|
"@rushstack/heft-lint-plugin": "^0.5.37",
|
139
139
|
"@rushstack/heft-typescript-plugin": "^0.8.2",
|
140
|
-
"@smithy/fetch-http-handler": "5.0.
|
140
|
+
"@smithy/fetch-http-handler": "5.0.3",
|
141
141
|
"@smithy/types": "^4.2.0",
|
142
142
|
"@types/aws-lambda": "8.10.149",
|
143
143
|
"@types/etag": "^1.8.3",
|
@@ -146,33 +146,33 @@
|
|
146
146
|
"@types/jest": "29.5.14",
|
147
147
|
"@types/lodash-es": "4.17.12",
|
148
148
|
"@types/madge": "5.0.3",
|
149
|
-
"@types/node": "22.15.
|
150
|
-
"@typescript-eslint/eslint-plugin": "
|
149
|
+
"@types/node": "22.15.23",
|
150
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
151
151
|
"@typescript-eslint/parser": "^7.18.0",
|
152
|
-
"aws-cdk-lib": "^2.
|
152
|
+
"aws-cdk-lib": "^2.201.0",
|
153
153
|
"aws-sdk": "^2.1692.0",
|
154
154
|
"change-case": "^5.4.4",
|
155
|
-
"constructs": "
|
156
|
-
"date-fns": "
|
155
|
+
"constructs": "^10.4.2",
|
156
|
+
"date-fns": "^4.1.0",
|
157
157
|
"eslint": "^8.57.1",
|
158
158
|
"eslint-config-prettier": "^9.1.0",
|
159
|
-
"eslint-plugin-deprecation": "
|
159
|
+
"eslint-plugin-deprecation": "^3.0.0",
|
160
160
|
"etag": "^1.8.1",
|
161
161
|
"geojson-validation": "^1.0.2",
|
162
162
|
"jest": "^29.7.0",
|
163
163
|
"jest-junit": "^16.0.0",
|
164
164
|
"ky": "^1.8.1",
|
165
|
-
"lefthook": "^1.11.
|
165
|
+
"lefthook": "^1.11.14",
|
166
166
|
"lodash": "^4.17.21",
|
167
167
|
"lodash-es": "^4.17.21",
|
168
168
|
"madge": "^8.0.0",
|
169
|
-
"pg-native": "^3.
|
170
|
-
"pg-promise": "^11.
|
169
|
+
"pg-native": "^3.5.0",
|
170
|
+
"pg-promise": "^11.14.0",
|
171
171
|
"rimraf": "^6.0.1",
|
172
|
-
"ts-jest": "^29.
|
173
|
-
"typescript": "
|
172
|
+
"ts-jest": "^29.4.0",
|
173
|
+
"typescript": "^5.8.3",
|
174
174
|
"velocityjs": "^2.1.5",
|
175
|
-
"zod": "
|
175
|
+
"zod": "^3.25.64"
|
176
176
|
},
|
177
177
|
"scripts": {
|
178
178
|
"build": "heft build --clean",
|