@digitraffic/common 2026.6.30-1 → 2026.8.3-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.
|
@@ -3,12 +3,12 @@ export function logLeadTime(name, target, tookMs, extraFields) {
|
|
|
3
3
|
const method = "LeadTimeLogging.logLeadTime";
|
|
4
4
|
try {
|
|
5
5
|
logger.info({
|
|
6
|
-
...(extraFields ?? {}),
|
|
7
6
|
method,
|
|
8
7
|
customLeadTime: true,
|
|
9
8
|
customName: name,
|
|
10
9
|
customTarget: target,
|
|
11
10
|
tookMs,
|
|
11
|
+
...(extraFields || {}),
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
catch (error) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digitraffic/common",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.8.3-1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"repository": {
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"@aws-sdk/client-secrets-manager": "3.1073.0",
|
|
115
115
|
"@aws-sdk/client-sns": "3.1073.0",
|
|
116
116
|
"@aws-sdk/lib-storage": "3.1073.0",
|
|
117
|
-
"@biomejs/biome": "2.5.
|
|
117
|
+
"@biomejs/biome": "2.5.5",
|
|
118
118
|
"@date-fns/tz": "1.5.0",
|
|
119
119
|
"@rushstack/heft": "1.2.19",
|
|
120
120
|
"@rushstack/heft-typescript-plugin": "1.3.14",
|
|
@@ -127,12 +127,11 @@
|
|
|
127
127
|
"@types/geojson-validation": "1.0.3",
|
|
128
128
|
"@types/madge": "5.0.3",
|
|
129
129
|
"@types/node": "24.12.4",
|
|
130
|
-
"@vitest/coverage-v8": "4.1.
|
|
130
|
+
"@vitest/coverage-v8": "4.1.10",
|
|
131
131
|
"aws-cdk-lib": "2.260.0",
|
|
132
|
-
"change-case": "5.4.4",
|
|
133
132
|
"constructs": "10.6.0",
|
|
134
133
|
"date-fns": "4.4.0",
|
|
135
|
-
"es-toolkit": "1.
|
|
134
|
+
"es-toolkit": "1.49.0",
|
|
136
135
|
"etag": "1.8.1",
|
|
137
136
|
"geojson-validation": "1.0.2",
|
|
138
137
|
"ky": "2.0.2",
|
|
@@ -144,8 +143,8 @@
|
|
|
144
143
|
"rimraf": "6.1.3",
|
|
145
144
|
"sort-package-json": "4.0.0",
|
|
146
145
|
"typescript": "5.9.3",
|
|
147
|
-
"velocityjs": "2.1.
|
|
148
|
-
"vitest": "4.1.
|
|
146
|
+
"velocityjs": "2.1.7",
|
|
147
|
+
"vitest": "4.1.10",
|
|
149
148
|
"zod": "4.4.3"
|
|
150
149
|
},
|
|
151
150
|
"peerDependencies": {
|
|
@@ -158,10 +157,9 @@
|
|
|
158
157
|
"@smithy/fetch-http-handler": "5.5.1",
|
|
159
158
|
"@smithy/node-http-handler": "4.8.1",
|
|
160
159
|
"aws-cdk-lib": "2.260.0",
|
|
161
|
-
"change-case": "5.4.4",
|
|
162
160
|
"constructs": "10.6.0",
|
|
163
161
|
"date-fns": "4.4.0",
|
|
164
|
-
"es-toolkit": "1.
|
|
162
|
+
"es-toolkit": "1.49.0",
|
|
165
163
|
"geojson-validation": "1.0.2",
|
|
166
164
|
"ky": "2.0.2",
|
|
167
165
|
"pg-native": "3.8.0",
|
|
@@ -172,17 +170,17 @@
|
|
|
172
170
|
"node": ">=24 <25"
|
|
173
171
|
},
|
|
174
172
|
"scripts": {
|
|
175
|
-
"build": "heft build --clean",
|
|
173
|
+
"build": "heft build --clean && pnpm run format:check",
|
|
176
174
|
"build:watch": "heft build-watch",
|
|
177
175
|
"ci:test": "vitest run --coverage --reporter=junit --outputFile=junit.xml",
|
|
178
176
|
"deps:update-all": "node --experimental-strip-types scripts/update-deps-and-peers.ts",
|
|
179
|
-
"format:check": "biome check ",
|
|
180
|
-
"format:check-staged": "biome check --staged",
|
|
181
|
-
"format:fix": "biome check --write",
|
|
182
|
-
"format:fix-staged": "biome check --staged --write",
|
|
177
|
+
"format:check": "biome check --error-on-warnings",
|
|
178
|
+
"format:check-staged": "biome check --staged --error-on-warnings",
|
|
179
|
+
"format:fix": "biome check --write --error-on-warnings",
|
|
180
|
+
"format:fix-staged": "biome check --staged --write --error-on-warnings",
|
|
183
181
|
"format:package-json": "sort-package-json",
|
|
184
182
|
"setup": "pnpm install; node --experimental-strip-types scripts/setup-digitraffic-common.ts",
|
|
185
|
-
"test": "vitest run --coverage",
|
|
183
|
+
"test": "vitest run --coverage && pnpm run format:check",
|
|
186
184
|
"test:watch": "vitest"
|
|
187
185
|
}
|
|
188
186
|
}
|