@ui5/task-adaptation 1.4.1 → 1.4.3

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.
Files changed (32) hide show
  1. package/CHANGELOG.md +16 -5
  2. package/REUSE.toml +10 -0
  3. package/dist/annotations/dataSource/dataSource.js +0 -1
  4. package/dist/baseAppManager.js +2 -2
  5. package/dist/bundle.d.ts +2 -3
  6. package/dist/bundle.js +3816 -3488
  7. package/dist/model/configuration.d.ts +2 -2
  8. package/dist/model/types.d.ts +1 -1
  9. package/dist/processors/cfProcessor.js +1 -1
  10. package/dist/processors/processor.js +1 -1
  11. package/dist/repositories/html5RepoManager.js +3 -2
  12. package/dist/util/cfUtil.d.ts +1 -0
  13. package/dist/util/cfUtil.js +27 -23
  14. package/dist/util/commonUtil.d.ts +1 -1
  15. package/dist/util/commonUtil.js +1 -1
  16. package/dist/util/requestUtil.d.ts +2 -1
  17. package/eslint.config.js +22 -3
  18. package/package.json +15 -15
  19. package/scripts/rollup/bundle.d.ts +2 -3
  20. package/scripts/rollup/bundleDefinition.js +2 -2
  21. package/scripts/rollup/overrides/sap/ui/fl/Utils.js +13 -0
  22. package/scripts/rollup/overrides/sap/ui/fl/apply/_internal/changes/FlexCustomData.js +13 -0
  23. package/scripts/rollup/overrides/sap/ui/fl/apply/_internal/flexObjects/AnnotationChange.js +11 -0
  24. package/scripts/rollup/overrides/sap/ui/fl/apply/_internal/flexObjects/AppDescriptorChange.js +68 -0
  25. package/scripts/rollup/overrides/sap/ui/fl/apply/_internal/flexObjects/VariantChange.js +11 -0
  26. package/scripts/rollup/overrides/sap/ui/fl/apply/_internal/flexObjects/VariantManagementChange.js +11 -0
  27. package/scripts/rollup/overrides/sap/ui/fl/apply/_internal/flexState/controlVariants/VariantManagementState.js +13 -0
  28. package/scripts/rollup/overrides/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerRegistration.js +13 -0
  29. package/scripts/rollup/overrides/sap/ui/fl/initial/_internal/changeHandlers/ChangeHandlerStorage.js +14 -0
  30. package/scripts/rollup/project/ui5.yaml +1 -1
  31. package/scripts/rollup/ui5Resolve.ts +1 -0
  32. package/scripts/rollup/overrides/sap/ui/fl/Change.js +0 -74
package/CHANGELOG.md CHANGED
@@ -2,12 +2,22 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
- A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task-adaptation/compare/v1.4.1...HEAD).
5
+ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task-adaptation/compare/v1.4.3...HEAD).
6
6
 
7
- <a name="v1.4.1"></a>
8
- ## [v1.4.1] - 2025-02-24
7
+ <a name="v1.4.3"></a>
8
+ ## [v1.4.3] - 2025-04-07
9
9
  ### Bug Fixes
10
- - Rollup ui5 1.131.1 [`a6a6142`](https://github.com/SAP/ui5-task-adaptation/commit/a6a61429e1ce43a77c5581f75f5a8e542bbebba9)
10
+ - Handling undefined oAuthScopes ([#122](https://github.com/SAP/ui5-task-adaptation/issues/122)) [`ea6296b`](https://github.com/SAP/ui5-task-adaptation/commit/ea6296b143e7fcbf8ce3902499be2d4c2fea61a5)
11
+ - Better error handling in CF ([#121](https://github.com/SAP/ui5-task-adaptation/issues/121)) [`8ce564f`](https://github.com/SAP/ui5-task-adaptation/commit/8ce564fa847a512f4de341f14b1788bca3075da8)
12
+ - Get space guid correctly ([#120](https://github.com/SAP/ui5-task-adaptation/issues/120)) [`64a28ee`](https://github.com/SAP/ui5-task-adaptation/commit/64a28eefc19ecded18bd363c65a8417180200945)
13
+ - Create html5 repo service instance ([#118](https://github.com/SAP/ui5-task-adaptation/issues/118)) [`92a6769`](https://github.com/SAP/ui5-task-adaptation/commit/92a6769ea8704ad81bf7e65766c260bb710ab043)
14
+ - Audit and eslint issues [`34508cb`](https://github.com/SAP/ui5-task-adaptation/commit/34508cb013f951d68527d7a733a409ed343fe43c)
15
+
16
+
17
+ <a name="v1.4.2"></a>
18
+ ## [v1.4.2] - 2025-02-25
19
+ ### Bug Fixes
20
+ - Update axios for CF [`e0e2220`](https://github.com/SAP/ui5-task-adaptation/commit/e0e2220d3a7fe429a06e5ca842858de2c559416f)
11
21
 
12
22
 
13
23
  <a name="v1.4.0"></a>
@@ -106,7 +116,8 @@ A list of unreleased changes can be found [here](https://github.com/SAP/ui5-task
106
116
  <a name="v1.0.0"></a>
107
117
  ## v1.0.0 - 2020-12-09
108
118
 
109
- [v1.4.1]: https://github.com/SAP/ui5-task-adaptation/compare/v1.4.0...v1.4.1
119
+ [v1.4.3]: https://github.com/SAP/ui5-task-adaptation/compare/v1.4.2...v1.4.3
120
+ [v1.4.2]: https://github.com/SAP/ui5-task-adaptation/compare/v1.4.0...v1.4.2
110
121
  [v1.4.0]: https://github.com/SAP/ui5-task-adaptation/compare/v1.3.3...v1.4.0
111
122
  [v1.3.3]: https://github.com/SAP/ui5-task-adaptation/compare/v1.3.2...v1.3.3
112
123
  [v1.3.2]: https://github.com/SAP/ui5-task-adaptation/compare/v1.3.1...v1.3.2
package/REUSE.toml ADDED
@@ -0,0 +1,10 @@
1
+ version = 1
2
+ SPDX-PackageName = "ui5-task-adaptation"
3
+ SPDX-PackageSupplier = "Aleksandr Suvorov <aleksandr.suvorov@sap.com>, Matthias Schmalz <matthias.schmalz@sap.com>"
4
+ SPDX-PackageDownloadLocation = "https://github.com/SAP/ui5-task-adaptation"
5
+
6
+ [[annotations]]
7
+ path = "**.**"
8
+ precedence = "aggregate"
9
+ SPDX-FileCopyrightText = "2009-2025 SAP SE or an SAP affiliate company"
10
+ SPDX-License-Identifier = "Apache-2.0"
@@ -10,7 +10,6 @@ export default class DataSource {
10
10
  /**
11
11
  * Update the json of the dataSources in manifest.json
12
12
  */
13
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
14
13
  updateManifest(_) {
15
14
  // to be overriden in children
16
15
  }
@@ -1,4 +1,4 @@
1
- import { Applier, Change, RegistrationBuild } from "../dist/bundle.js";
1
+ import { Applier, AppDescriptorChange, RegistrationBuild } from "../dist/bundle.js";
2
2
  import { dotToUnderscore, removePropertiesExtension } from "./util/commonUtil.js";
3
3
  import BuildStrategy from "./buildStrategy.js";
4
4
  import ResourceUtil from "./util/resourceUtil.js";
@@ -100,7 +100,7 @@ export default class BaseAppManager {
100
100
  if (layer) {
101
101
  change.layer = layer;
102
102
  }
103
- changesContent.push(new Change(change));
103
+ changesContent.push(new AppDescriptorChange(change));
104
104
  this.adjustAddNewModelEnhanceWith(change, i18nBundleName);
105
105
  }
106
106
  if (changesContent.length > 0) {
package/dist/bundle.d.ts CHANGED
@@ -1,13 +1,12 @@
1
1
  export declare const RegistrationBuild: () => void;
2
2
 
3
3
  export declare class Applier {
4
- static applyChanges(manifest: any, changes: Change[], strategy: any): Promise<void>;
4
+ static applyChanges(manifest: any, changes: AppDescriptorChange[], strategy: any): Promise<void>;
5
5
  }
6
6
 
7
- export declare class Change {
7
+ export declare class AppDescriptorChange {
8
8
  constructor(change: any);
9
9
  getLayer(): string;
10
- _oDefinition: any;
11
10
  }
12
11
 
13
12
  export declare class V2MetadataConverter {