@podium/podlet 5.0.7 → 5.1.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,22 @@
1
+ ## [5.1.1](https://github.com/podium-lib/podlet/compare/v5.1.0...v5.1.1) (2024-04-15)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** update all dependencies (non-major) ([292c3b5](https://github.com/podium-lib/podlet/commit/292c3b5be8950ea9ba14dd26941a83e30c8bf1c5))
7
+
8
+ # [5.1.0](https://github.com/podium-lib/podlet/compare/v5.0.7...v5.1.0) (2024-04-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * pass res.locals to HttpIncoming constructor ([f9b6336](https://github.com/podium-lib/podlet/commit/f9b63360921d2ca045ddd3379ece9d67edac63ef))
14
+
15
+
16
+ ### Features
17
+
18
+ * pass a new res.locals.params object to http-incoming ([b9ef277](https://github.com/podium-lib/podlet/commit/b9ef2778e4e5b68d93c2bc8d3825a0d14b3a5d0a))
19
+
1
20
  ## [5.0.7](https://github.com/podium-lib/podlet/compare/v5.0.6...v5.0.7) (2024-04-08)
2
21
 
3
22
 
package/lib/podlet.js CHANGED
@@ -903,7 +903,7 @@ export default class PodiumPodlet {
903
903
  */
904
904
  middleware() {
905
905
  return async (req, res, next) => {
906
- const incoming = new HttpIncoming(req, res);
906
+ const incoming = new HttpIncoming(req, res, res.locals);
907
907
  // @ts-ignore
908
908
  incoming.url = new URL(
909
909
  req.originalUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@podium/podlet",
3
- "version": "5.0.7",
3
+ "version": "5.1.1",
4
4
  "type": "module",
5
5
  "description": "Module for building page fragment servers in a micro frontend architecture.",
6
6
  "license": "MIT",
@@ -31,10 +31,10 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@metrics/client": "2.5.2",
34
- "@podium/proxy": "5.0.5",
34
+ "@podium/proxy": "5.0.8",
35
35
  "@podium/schemas": "5.0.0",
36
- "@podium/utils": "5.0.2",
37
- "abslog": "2.4.0",
36
+ "@podium/utils": "5.0.3",
37
+ "abslog": "2.4.2",
38
38
  "ajv": "8.12.0",
39
39
  "objobj": "1.0.0"
40
40
  },
@@ -54,6 +54,7 @@
54
54
  "eslint-plugin-import": "2.29.1",
55
55
  "eslint-plugin-prettier": "5.1.3",
56
56
  "express": "4.19.2",
57
+ "json-stringify-safe": "5.0.1",
57
58
  "prettier": "3.2.4",
58
59
  "semantic-release": "23.0.6",
59
60
  "tap": "18.7.2",