@sap-ux/odata-service-writer 0.31.0 → 0.31.2

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.
@@ -267,7 +267,7 @@ function convertSingleService(webappPath, dataSourceKey, dataSource, fs) {
267
267
  const localUri = settings.localUri;
268
268
  // -> ["localService", "metadata.xml"]
269
269
  const localUriParts = localUri ? localUri.split('/') : undefined;
270
- if (localUriParts && localUriParts[0] === project_access_1.DirName.LocalService && localUriParts.length === 2) {
270
+ if (localUriParts?.[0] === project_access_1.DirName.LocalService && localUriParts.length === 2) {
271
271
  const localFileName = localUriParts[localUriParts.length - 1];
272
272
  settings.localUri = `${project_access_1.DirName.LocalService}/${dataSourceKey}/${localFileName}`;
273
273
  // move related files to service folder
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "bugs": {
10
10
  "url": "https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Aodata-service-writer"
11
11
  },
12
- "version": "0.31.0",
12
+ "version": "0.31.2",
13
13
  "license": "Apache-2.0",
14
14
  "main": "dist/index.js",
15
15
  "files": [
@@ -23,26 +23,26 @@
23
23
  "@sap-ux/edmx-parser": "0.10.0",
24
24
  "@sap-ux/annotation-converter": "0.10.21",
25
25
  "ejs": "3.1.10",
26
- "fast-xml-parser": "5.4.1",
27
- "i18next": "25.8.18",
26
+ "fast-xml-parser": "5.5.9",
27
+ "i18next": "25.8.20",
28
28
  "mem-fs": "2.1.0",
29
29
  "mem-fs-editor": "9.4.0",
30
30
  "prettify-xml": "1.2.0",
31
31
  "semver": "7.7.4",
32
- "@sap-ux/mockserver-config-writer": "0.9.64",
33
- "@sap-ux/project-access": "1.35.14",
34
- "@sap-ux/ui5-config": "0.30.0"
32
+ "@sap-ux/mockserver-config-writer": "0.9.66",
33
+ "@sap-ux/project-access": "1.35.16",
34
+ "@sap-ux/ui5-config": "0.30.1"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@sap-ux/vocabularies-types": "0.15.0",
38
- "@types/ejs": "3.1.2",
38
+ "@types/ejs": "3.1.5",
39
39
  "@types/fs-extra": "11.0.4",
40
40
  "@types/mem-fs": "1.1.2",
41
41
  "@types/mem-fs-editor": "7.0.1",
42
42
  "@types/semver": "7.7.1",
43
43
  "fs-extra": "11.3.4",
44
44
  "lodash": "4.17.23",
45
- "@sap-ux/axios-extension": "1.25.24"
45
+ "@sap-ux/axios-extension": "1.25.26"
46
46
  },
47
47
  "engines": {
48
48
  "node": ">=20.x"