@sap-ux/project-access 1.26.0 → 1.26.1

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.
@@ -218,12 +218,11 @@ exports.getMinUI5VersionFromManifest = getMinUI5VersionFromManifest;
218
218
  */
219
219
  function getMinUI5VersionAsArray(manifest, noValidation = false) {
220
220
  const result = [];
221
- const manifestVariablePattern = /^\$\{.*\}$/; // minUI5Version can also contain variable entries like ${sap.ui5.dist.version}
222
221
  const minUI5Version = getMinUI5VersionFromManifest(manifest);
223
222
  if (minUI5Version) {
224
223
  const minUI5VersionArray = Array.isArray(minUI5Version) ? minUI5Version : [minUI5Version];
225
224
  minUI5VersionArray.forEach((version) => {
226
- if (noValidation || (0, semver_1.valid)(version) || manifestVariablePattern.test(version)) {
225
+ if (noValidation || (0, semver_1.valid)(version)) {
227
226
  result.push(version);
228
227
  }
229
228
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/project-access",
3
- "version": "1.26.0",
3
+ "version": "1.26.1",
4
4
  "description": "Library to access SAP Fiori tools projects",
5
5
  "repository": {
6
6
  "type": "git",