cds-plugin-ui5 0.13.5 → 0.14.0

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
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [0.14.0](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.6...cds-plugin-ui5@0.14.0) (2025-11-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * support express >= 4 ([#1287](https://github.com/ui5-community/ui5-ecosystem-showcase/issues/1287)) ([f37a1fa](https://github.com/ui5-community/ui5-ecosystem-showcase/commit/f37a1fa9462622ae9aae9dbb6fa17a6662dd38c9))
12
+
13
+
14
+
15
+
16
+
17
+ ## [0.13.6](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.5...cds-plugin-ui5@0.13.6) (2025-09-17)
18
+
19
+ **Note:** Version bump only for package cds-plugin-ui5
20
+
21
+
22
+
23
+
24
+
6
25
  ## [0.13.5](https://github.com/ui5-community/ui5-ecosystem-showcase/compare/cds-plugin-ui5@0.13.4...cds-plugin-ui5@0.13.5) (2025-09-15)
7
26
 
8
27
  **Note:** Version bump only for package cds-plugin-ui5
package/README.md CHANGED
@@ -180,7 +180,7 @@ Please use the GitHub bug tracking system to post questions, bug reports or to c
180
180
 
181
181
  ## Contributing
182
182
 
183
- Any type of contribution (code contributions, pull requests, issues) to this set of tooling extensions will be equally appreciated.
183
+ Any type of contribution (code contributions, pull requests, issues) to this set of UI5 CLI extensions will be equally appreciated.
184
184
 
185
185
  ## License
186
186
 
package/cds-plugin.js CHANGED
@@ -273,7 +273,7 @@ if (!skip) {
273
273
  // move our middleware before the CDS index serve middleware to
274
274
  // allow that we can intercept the response and modify it to
275
275
  // inject our application pages an remove the exitsing ones
276
- const middlewareStack = app?._router?.stack;
276
+ const middlewareStack = (app?._router ?? app?.router)?.stack;
277
277
  if (Array.isArray(middlewareStack)) {
278
278
  const cmw = middlewareStack.pop();
279
279
  const idxOfServeStatic = middlewareStack.findIndex((layer) => layer.name === "serveStatic");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cds-plugin-ui5",
3
- "version": "0.13.5",
3
+ "version": "0.14.0",
4
4
  "description": "A CDS server plugin to inject the middlewares of all related UI5 CLI based projects.",
5
5
  "author": "Peter Muessig",
6
6
  "license": "Apache-2.0",
@@ -27,5 +27,5 @@
27
27
  "@sap/cds": ">=6.8.2",
28
28
  "express": ">=4.18.2"
29
29
  },
30
- "gitHead": "4cce1d164ff2a48d73361bb37a98381b3baf83ec"
30
+ "gitHead": "c845e0faffb8598eca1d28e31bc3e09702c1db3e"
31
31
  }