@sap-ux/project-access 1.29.21 → 1.30.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.
@@ -152,7 +152,7 @@ class ApplicationAccessImp {
152
152
  * @param memFs - optional mem-fs-editor instance
153
153
  */
154
154
  async updatePackageJSON(packageJson, memFs) {
155
- await (0, file_1.updatePackageJSON)((0, path_1.join)(this.app.appRoot, constants_1.FileName.Package), packageJson, memFs);
155
+ await (0, file_1.updatePackageJSON)((0, path_1.join)(this.app.appRoot, constants_1.FileName.Package), packageJson, memFs ?? this.options?.fs);
156
156
  }
157
157
  /**
158
158
  * Updates manifest.json file asynchronously by keeping the previous indentation.
@@ -161,7 +161,7 @@ class ApplicationAccessImp {
161
161
  * @param memFs - optional mem-fs-editor instance
162
162
  */
163
163
  async updateManifestJSON(manifest, memFs) {
164
- await (0, file_1.updateManifestJSON)(this.app.manifest, manifest, memFs);
164
+ await (0, file_1.updateManifestJSON)(this.app.manifest, manifest, memFs ?? this.options?.fs);
165
165
  }
166
166
  /**
167
167
  * Project structure.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-access",
3
- "version": "1.29.21",
3
+ "version": "1.30.0",
4
4
  "description": "Library to access SAP Fiori tools projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,7 +20,7 @@
20
20
  "!dist/**/*.map"
21
21
  ],
22
22
  "engines": {
23
- "node": ">=18.x"
23
+ "node": ">=20.x"
24
24
  },
25
25
  "dependencies": {
26
26
  "fast-xml-parser": "4.4.1",
@@ -29,8 +29,8 @@
29
29
  "mem-fs": "2.1.0",
30
30
  "mem-fs-editor": "9.4.0",
31
31
  "semver": "7.5.4",
32
- "@sap-ux/i18n": "0.2.3",
33
- "@sap-ux/ui5-config": "0.27.2"
32
+ "@sap-ux/i18n": "0.3.0",
33
+ "@sap-ux/ui5-config": "0.28.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/mem-fs": "1.1.2",
@@ -38,7 +38,7 @@
38
38
  "@types/semver": "7.5.2",
39
39
  "@ui5/manifest": "1.66.0",
40
40
  "vscode-uri": "3.0.7",
41
- "@sap-ux/logger": "0.6.0"
41
+ "@sap-ux/logger": "0.7.0"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsc --build",