@podium/podlet 5.2.1 → 5.2.3

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [5.2.3](https://github.com/podium-lib/podlet/compare/v5.2.2...v5.2.3) (2024-11-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update all dependencies (non-major) ([#444](https://github.com/podium-lib/podlet/issues/444)) ([309e1f5](https://github.com/podium-lib/podlet/commit/309e1f5c8bcf5fef7a6fe4c944ac1c312f2b8b7c))
7
+
8
+ ## [5.2.2](https://github.com/podium-lib/podlet/compare/v5.2.1...v5.2.2) (2024-11-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * set content-type header ([#443](https://github.com/podium-lib/podlet/issues/443)) ([5af702a](https://github.com/podium-lib/podlet/commit/5af702a59e38eb700befce6c41e1065742df1ce3)), closes [#442](https://github.com/podium-lib/podlet/issues/442)
14
+
1
15
  ## [5.2.1](https://github.com/podium-lib/podlet/compare/v5.2.0...v5.2.1) (2024-11-11)
2
16
 
3
17
 
package/lib/podlet.js CHANGED
@@ -995,9 +995,8 @@ export default class PodiumPodlet {
995
995
  // set "incoming" on res.locals.podium
996
996
  objobj.set('locals.podium', incoming, res);
997
997
 
998
- if (res.header) {
999
- res.header('podlet-version', this.version);
1000
- }
998
+ res.header('podlet-version', this.version);
999
+ res.header('content-type', 'text/html');
1001
1000
 
1002
1001
  res.sendHeaders = () => {
1003
1002
  res.write('');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podium/podlet",
3
- "version": "5.2.1",
3
+ "version": "5.2.3",
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.3",
36
+ "@metrics/client": "2.5.4",
37
37
  "@podium/schemas": "5.1.0",
38
- "@podium/proxy": "5.0.30",
39
- "@podium/utils": "5.3.2",
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"