@podium/podlet 5.2.0-next.3 → 5.2.0-next.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 +7 -0
- package/lib/podlet.js +8 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [5.2.0-next.4](https://github.com/podium-lib/podlet/compare/v5.2.0-next.3...v5.2.0-next.4) (2024-09-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* tag asset type when sending hint headers ([56c8614](https://github.com/podium-lib/podlet/commit/56c86144207956c63c7ce1d1103efe4f8ff7d7bf))
|
|
7
|
+
|
|
1
8
|
# [5.2.0-next.3](https://github.com/podium-lib/podlet/compare/v5.2.0-next.2...v5.2.0-next.3) (2024-09-10)
|
|
2
9
|
|
|
3
10
|
|
package/lib/podlet.js
CHANGED
|
@@ -935,11 +935,15 @@ export default class PodiumPodlet {
|
|
|
935
935
|
await this.httpProxy.process(incoming);
|
|
936
936
|
}
|
|
937
937
|
|
|
938
|
-
|
|
939
|
-
|
|
938
|
+
const js = incoming.js.map(
|
|
939
|
+
// @ts-ignore
|
|
940
|
+
(asset) => asset.toHeader() + '; asset-type=script',
|
|
941
|
+
);
|
|
940
942
|
|
|
941
|
-
|
|
942
|
-
|
|
943
|
+
const css = incoming.css.map(
|
|
944
|
+
// @ts-ignore
|
|
945
|
+
(asset) => asset.toHeader() + '; asset-type=style',
|
|
946
|
+
);
|
|
943
947
|
|
|
944
948
|
// Send early hints to layout client in the form of a 103 status code and a link header with js/css asset information.
|
|
945
949
|
// Always send this. If no assets present, send an empty string.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@podium/podlet",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Module for building page fragment servers in a micro frontend architecture.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@metrics/client": "2.5.3",
|
|
38
38
|
"@podium/proxy": "5.0.24",
|
|
39
39
|
"@podium/schemas": "5.0.6",
|
|
40
|
-
"@podium/utils": "5.2.
|
|
40
|
+
"@podium/utils": "5.2.1",
|
|
41
41
|
"abslog": "2.4.4",
|
|
42
42
|
"ajv": "8.17.1",
|
|
43
43
|
"objobj": "1.0.0"
|