@sap-ux/fe-fpm-writer 0.23.3 → 0.23.5

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.
@@ -147,7 +147,7 @@ function updateViewFile(basePath, viewPath, aggregationPath, viewDocument, templ
147
147
  const xpathSelect = xpath.useNamespaces(viewDocument.firstChild._nsMap);
148
148
  // Find target aggregated element and append template as child
149
149
  const targetNodes = xpathSelect(aggregationPath, viewDocument);
150
- if (targetNodes && targetNodes.length > 0) {
150
+ if (targetNodes && Array.isArray(targetNodes) && targetNodes.length > 0) {
151
151
  const targetNode = targetNodes[0];
152
152
  const sourceNode = viewDocument.importNode(templateDocument.documentElement, true);
153
153
  targetNode.appendChild(sourceNode);
@@ -37,7 +37,7 @@ export interface CustomTableColumn extends CustomElement, EventHandler {
37
37
  control?: string;
38
38
  /**
39
39
  * A string type that represents CSS size values.
40
- * Refer to https://openui5.hana.ondemand.com/api/sap.ui.core.CSSSize.
40
+ * Refer to https://sdk.openui5.org/api/sap.ui.core.CSSSize.
41
41
  */
42
42
  width?: string;
43
43
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fe-fpm-writer",
3
3
  "description": "SAP Fiori elements flexible programming model writer",
4
- "version": "0.23.3",
4
+ "version": "0.23.5",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/SAP/open-ux-tools.git",
@@ -20,20 +20,20 @@
20
20
  "!dist/**/*.map"
21
21
  ],
22
22
  "dependencies": {
23
- "@xmldom/xmldom": "0.8.6",
23
+ "@xmldom/xmldom": "0.8.10",
24
24
  "ejs": "3.1.9",
25
25
  "mem-fs": "2.1.0",
26
26
  "mem-fs-editor": "9.4.0",
27
27
  "semver": "7.5.4",
28
28
  "xml-formatter": "2.6.1",
29
- "xpath": "0.0.32"
29
+ "xpath": "0.0.33"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/ejs": "3.1.2",
33
33
  "@types/mem-fs": "1.1.2",
34
34
  "@types/mem-fs-editor": "7.0.1",
35
35
  "@types/semver": "7.5.2",
36
- "@sap-ux/project-access": "1.13.4"
36
+ "@sap-ux/project-access": "1.13.5"
37
37
  },
38
38
  "engines": {
39
39
  "pnpm": ">=6.26.1 < 7.0.0 || >=7.1.0",