@sap-ux/odata-service-writer 1.0.15 → 1.0.16

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.
@@ -281,7 +281,7 @@ function convertSingleService(webappPath, dataSourceKey, dataSource, fs) {
281
281
  const localUri = settings.localUri;
282
282
  // -> ["localService", "metadata.xml"]
283
283
  const localUriParts = localUri ? localUri.split('/') : undefined;
284
- if (localUriParts?.[0] === DirName.LocalService && localUriParts.length === 2) {
284
+ if (localUriParts && localUriParts[0] === DirName.LocalService && localUriParts.length === 2) {
285
285
  const localFileName = localUriParts[localUriParts.length - 1];
286
286
  settings.localUri = `${DirName.LocalService}/${dataSourceKey}/${localFileName}`;
287
287
  // move related files to service folder
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "bugs": {
11
11
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aodata-service-writer"
12
12
  },
13
- "version": "1.0.15",
13
+ "version": "1.0.16",
14
14
  "license": "Apache-2.0",
15
15
  "main": "dist/index.js",
16
16
  "files": [
@@ -24,15 +24,15 @@
24
24
  "@sap-ux/annotation-converter": "0.10.21",
25
25
  "@sap-ux/edmx-parser": "0.10.0",
26
26
  "ejs": "3.1.10",
27
- "fast-xml-parser": "5.8.0",
27
+ "fast-xml-parser": "5.10.1",
28
28
  "i18next": "26.3.6",
29
29
  "mem-fs": "2.1.0",
30
30
  "mem-fs-editor": "9.4.0",
31
- "semver": "7.8.4",
31
+ "semver": "7.8.5",
32
32
  "xml-formatter": "3.7.0",
33
- "@sap-ux/mockserver-config-writer": "1.0.13",
34
- "@sap-ux/project-access": "2.1.8",
35
- "@sap-ux/ui5-config": "1.0.5"
33
+ "@sap-ux/mockserver-config-writer": "1.0.14",
34
+ "@sap-ux/project-access": "2.1.9",
35
+ "@sap-ux/ui5-config": "1.0.6"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@jest/globals": "30.4.1",
@@ -42,9 +42,9 @@
42
42
  "@types/mem-fs": "1.1.2",
43
43
  "@types/mem-fs-editor": "7.0.1",
44
44
  "@types/semver": "7.7.1",
45
- "fs-extra": "11.3.5",
45
+ "fs-extra": "11.3.6",
46
46
  "lodash": "4.18.1",
47
- "@sap-ux/axios-extension": "2.0.7"
47
+ "@sap-ux/axios-extension": "2.0.8"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=22.x"