@podium/client 5.4.0 → 5.4.2
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/CHANGELOG.md +14 -0
- package/lib/resolver.content.js +7 -7
- package/package.json +14 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [5.4.2](https://github.com/podium-lib/client/compare/v5.4.1...v5.4.2) (2025-12-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update dependency @podium/schemas to v5.1.1 ([#486](https://github.com/podium-lib/client/issues/486)) ([295b14a](https://github.com/podium-lib/client/commit/295b14a1b54c1cf119711846029e1f104a4b908a))
|
|
7
|
+
|
|
8
|
+
## [5.4.1](https://github.com/podium-lib/client/compare/v5.4.0...v5.4.1) (2025-09-11)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* always end timer on error ([#477](https://github.com/podium-lib/client/issues/477)) ([e41a9bc](https://github.com/podium-lib/client/commit/e41a9bce72a16fa0288e8f2df3a3fc67223ba0ad))
|
|
14
|
+
|
|
1
15
|
# [5.4.0](https://github.com/podium-lib/client/compare/v5.3.6...v5.4.0) (2025-08-07)
|
|
2
16
|
|
|
3
17
|
|
package/lib/resolver.content.js
CHANGED
|
@@ -287,6 +287,13 @@ export default class PodletClientContentResolver {
|
|
|
287
287
|
},
|
|
288
288
|
});
|
|
289
289
|
} catch (error) {
|
|
290
|
+
timer({
|
|
291
|
+
labels: {
|
|
292
|
+
status: 'failure',
|
|
293
|
+
statusCode: error.statusCode || 500,
|
|
294
|
+
},
|
|
295
|
+
});
|
|
296
|
+
|
|
290
297
|
if (error.isBoom) throw error;
|
|
291
298
|
|
|
292
299
|
if (error.name === 'AbortError') {
|
|
@@ -299,13 +306,6 @@ export default class PodletClientContentResolver {
|
|
|
299
306
|
);
|
|
300
307
|
}
|
|
301
308
|
|
|
302
|
-
timer({
|
|
303
|
-
labels: {
|
|
304
|
-
status: 'failure',
|
|
305
|
-
statusCode: error.statusCode || 500,
|
|
306
|
-
},
|
|
307
|
-
});
|
|
308
|
-
|
|
309
309
|
// Network error
|
|
310
310
|
if (outgoing.throwable) {
|
|
311
311
|
throw badGateway(`Error reading content at ${uri}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podium/client",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@hapi/boom": "10.0.1",
|
|
95
95
|
"@metrics/client": "2.5.5",
|
|
96
|
-
"@podium/schemas": "5.1.
|
|
96
|
+
"@podium/schemas": "5.1.1",
|
|
97
97
|
"@podium/utils": "5.5.0",
|
|
98
98
|
"abslog": "2.4.4",
|
|
99
99
|
"http-cache-semantics": "^4.0.3",
|
|
@@ -101,31 +101,22 @@
|
|
|
101
101
|
"undici": "6.21.3"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
|
-
"@podium/eslint-config": "1.0.
|
|
105
|
-
"@podium/podlet": "5.2
|
|
106
|
-
"@podium/semantic-release-config": "
|
|
107
|
-
"@podium/test-utils": "3.0.
|
|
104
|
+
"@podium/eslint-config": "1.0.20",
|
|
105
|
+
"@podium/podlet": "5.3.2",
|
|
106
|
+
"@podium/semantic-release-config": "3.0.0",
|
|
107
|
+
"@podium/test-utils": "3.0.20",
|
|
108
108
|
"@podium/typescript-config": "1.0.0",
|
|
109
|
-
"@semantic-release/changelog": "6.0.3",
|
|
110
|
-
"@semantic-release/git": "10.0.1",
|
|
111
|
-
"@semantic-release/github": "10.3.5",
|
|
112
|
-
"@semantic-release/npm": "12.0.2",
|
|
113
|
-
"@semantic-release/release-notes-generator": "13.0.0",
|
|
114
109
|
"@sinonjs/fake-timers": "11.3.1",
|
|
115
|
-
"@types/readable-stream": "4.0.
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"eslint-config-prettier": "9.1.2",
|
|
119
|
-
"eslint-plugin-prettier": "5.5.3",
|
|
120
|
-
"express": "4.21.2",
|
|
110
|
+
"@types/readable-stream": "4.0.23",
|
|
111
|
+
"eslint": "9.39.1",
|
|
112
|
+
"express": "5.2.1",
|
|
121
113
|
"get-stream": "9.0.1",
|
|
122
114
|
"http-proxy": "1.18.1",
|
|
123
115
|
"is-stream": "4.0.1",
|
|
124
|
-
"npm-run-all2": "
|
|
125
|
-
"prettier": "3.
|
|
126
|
-
"semantic-release": "
|
|
127
|
-
"tap": "
|
|
128
|
-
"typescript": "5.
|
|
129
|
-
"why-is-node-running": "3.2.2"
|
|
116
|
+
"npm-run-all2": "8.0.4",
|
|
117
|
+
"prettier": "3.7.4",
|
|
118
|
+
"semantic-release": "25.0.2",
|
|
119
|
+
"tap": "21.5.0",
|
|
120
|
+
"typescript": "5.9.3"
|
|
130
121
|
}
|
|
131
122
|
}
|