@podium/podlet 5.2.2 → 5.2.4
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/podlet.js +6 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [5.2.4](https://github.com/podium-lib/podlet/compare/v5.2.3...v5.2.4) (2024-11-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* don't set content-type text/html for manifest route ([#445](https://github.com/podium-lib/podlet/issues/445)) ([62e90b6](https://github.com/podium-lib/podlet/commit/62e90b6e37a903817191ee422d8d5dc56f975592))
|
|
7
|
+
|
|
8
|
+
## [5.2.3](https://github.com/podium-lib/podlet/compare/v5.2.2...v5.2.3) (2024-11-18)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **deps:** update all dependencies (non-major) ([#444](https://github.com/podium-lib/podlet/issues/444)) ([309e1f5](https://github.com/podium-lib/podlet/commit/309e1f5c8bcf5fef7a6fe4c944ac1c312f2b8b7c))
|
|
14
|
+
|
|
1
15
|
## [5.2.2](https://github.com/podium-lib/podlet/compare/v5.2.1...v5.2.2) (2024-11-14)
|
|
2
16
|
|
|
3
17
|
|
package/lib/podlet.js
CHANGED
|
@@ -996,7 +996,12 @@ export default class PodiumPodlet {
|
|
|
996
996
|
objobj.set('locals.podium', incoming, res);
|
|
997
997
|
|
|
998
998
|
res.header('podlet-version', this.version);
|
|
999
|
-
|
|
999
|
+
if (
|
|
1000
|
+
req.path == this.contentRoute ||
|
|
1001
|
+
req.path == this.fallbackRoute
|
|
1002
|
+
) {
|
|
1003
|
+
res.header('content-type', 'text/html');
|
|
1004
|
+
}
|
|
1000
1005
|
|
|
1001
1006
|
res.sendHeaders = () => {
|
|
1002
1007
|
res.write('');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podium/podlet",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Module for building page fragment servers in a micro frontend architecture.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
"types:fixup": "node ./fixup.js"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@metrics/client": "2.5.
|
|
36
|
+
"@metrics/client": "2.5.4",
|
|
37
37
|
"@podium/schemas": "5.1.0",
|
|
38
|
-
"@podium/proxy": "5.0.
|
|
39
|
-
"@podium/utils": "5.
|
|
38
|
+
"@podium/proxy": "5.0.32",
|
|
39
|
+
"@podium/utils": "5.4.0",
|
|
40
40
|
"abslog": "2.4.4",
|
|
41
41
|
"ajv": "8.17.1",
|
|
42
42
|
"objobj": "1.0.0"
|