@sap/ux-ui5-tooling 1.9.6 → 1.10.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.
@@ -34355,6 +34355,22 @@ var require_types4 = __commonJS({
34355
34355
  }
34356
34356
  });
34357
34357
 
34358
+ // ../lib/odata-client/dist/system/types.js
34359
+ var require_types5 = __commonJS({
34360
+ "../lib/odata-client/dist/system/types.js"(exports2) {
34361
+ "use strict";
34362
+ Object.defineProperty(exports2, "__esModule", { value: true });
34363
+ exports2.DestinationODataType = void 0;
34364
+ var DestinationODataType;
34365
+ (function(DestinationODataType2) {
34366
+ DestinationODataType2["AbapODataCatalogDest"] = "AbapODataCatalogDest";
34367
+ DestinationODataType2["GenericODataFullUrlDest"] = "GenericODataFullUrlDest";
34368
+ DestinationODataType2["GenericODataPartialUrlDest"] = "GenericODataPartialUrlDest";
34369
+ DestinationODataType2["Unknown"] = "Unknown";
34370
+ })(DestinationODataType = exports2.DestinationODataType || (exports2.DestinationODataType = {}));
34371
+ }
34372
+ });
34373
+
34358
34374
  // ../lib/odata-client/dist/system/sapSystem.js
34359
34375
  var require_sapSystem = __commonJS({
34360
34376
  "../lib/odata-client/dist/system/sapSystem.js"(exports2) {
@@ -34367,6 +34383,7 @@ var require_sapSystem = __commonJS({
34367
34383
  var config_1 = require_config();
34368
34384
  var ux_common_utils_1 = require_dist4();
34369
34385
  var types_1 = require_types4();
34386
+ var types_2 = require_types5();
34370
34387
  var NEW_SCP_SUFFIX = " (BTP)";
34371
34388
  var SapSystem2 = class {
34372
34389
  postConnectionCallback() {
@@ -34466,6 +34483,17 @@ var require_sapSystem = __commonJS({
34466
34483
  get postConnectionCallbackCreator() {
34467
34484
  return this._postConnectionCallbackCreator;
34468
34485
  }
34486
+ get destinationODataType() {
34487
+ if (this.isAbapCatalogDest()) {
34488
+ return types_2.DestinationODataType.AbapODataCatalogDest;
34489
+ } else if (this.isFullUrlDest()) {
34490
+ return types_2.DestinationODataType.GenericODataFullUrlDest;
34491
+ } else if (this.isPartialUrlDest()) {
34492
+ return types_2.DestinationODataType.GenericODataPartialUrlDest;
34493
+ } else {
34494
+ return types_2.DestinationODataType.Unknown;
34495
+ }
34496
+ }
34469
34497
  getDisplayName({ includeUserName } = { includeUserName: true }) {
34470
34498
  const userDisplayName = includeUserName && this.userDisplayName ? ` [${this.userDisplayName}]` : "";
34471
34499
  let systemDisplayName;
@@ -42176,6 +42204,8 @@ var require_EventName = __commonJS({
42176
42204
  EventName3["DATA_EDITOR_EVENT"] = "DATA_EDITOR_EVENT";
42177
42205
  EventName3["CPE_EVENT"] = "CONTROL_PROPERTY_EDITOR_EVENT";
42178
42206
  EventName3["SYSTEM_DETAILS_VIEW_EVENT"] = "SYSTEM_DETAILS_VIEW_EVENT";
42207
+ EventName3["SERVICE_INQUIRER_BAS_SUCCESS"] = "SERVICE_INQUIRER_BAS_SUCCESS";
42208
+ EventName3["SERVICE_INQUIRER_BAS_ERROR"] = "SERVICE_INQUIRER_BAS_ERROR";
42179
42209
  })(EventName2 = exports2.EventName || (exports2.EventName = {}));
42180
42210
  }
42181
42211
  });
@@ -46494,9 +46524,9 @@ var require_async_hook = __commonJS({
46494
46524
  }
46495
46525
  });
46496
46526
 
46497
- // ../../node_modules/async-hook-jl/node_modules/stack-chain/package.json
46527
+ // ../../node_modules/stack-chain/package.json
46498
46528
  var require_package5 = __commonJS({
46499
- "../../node_modules/async-hook-jl/node_modules/stack-chain/package.json"(exports2, module2) {
46529
+ "../../node_modules/stack-chain/package.json"(exports2, module2) {
46500
46530
  module2.exports = {
46501
46531
  name: "stack-chain",
46502
46532
  description: "API for combining call site modifiers",
@@ -46526,9 +46556,9 @@ var require_package5 = __commonJS({
46526
46556
  }
46527
46557
  });
46528
46558
 
46529
- // ../../node_modules/async-hook-jl/node_modules/stack-chain/format.js
46559
+ // ../../node_modules/stack-chain/format.js
46530
46560
  var require_format = __commonJS({
46531
- "../../node_modules/async-hook-jl/node_modules/stack-chain/format.js"(exports2, module2) {
46561
+ "../../node_modules/stack-chain/format.js"(exports2, module2) {
46532
46562
  function FormatErrorString(error3) {
46533
46563
  try {
46534
46564
  return Error.prototype.toString.call(error3);
@@ -46562,9 +46592,9 @@ var require_format = __commonJS({
46562
46592
  }
46563
46593
  });
46564
46594
 
46565
- // ../../node_modules/async-hook-jl/node_modules/stack-chain/stack-chain.js
46595
+ // ../../node_modules/stack-chain/stack-chain.js
46566
46596
  var require_stack_chain = __commonJS({
46567
- "../../node_modules/async-hook-jl/node_modules/stack-chain/stack-chain.js"(exports2, module2) {
46597
+ "../../node_modules/stack-chain/stack-chain.js"(exports2, module2) {
46568
46598
  var defaultFormater = require_format();
46569
46599
  function stackChain() {
46570
46600
  this.extend = new TraceModifier();
@@ -46690,9 +46720,9 @@ var require_stack_chain = __commonJS({
46690
46720
  }
46691
46721
  });
46692
46722
 
46693
- // ../../node_modules/async-hook-jl/node_modules/stack-chain/index.js
46723
+ // ../../node_modules/stack-chain/index.js
46694
46724
  var require_stack_chain2 = __commonJS({
46695
- "../../node_modules/async-hook-jl/node_modules/stack-chain/index.js"(exports2, module2) {
46725
+ "../../node_modules/stack-chain/index.js"(exports2, module2) {
46696
46726
  if (global._stackChain) {
46697
46727
  if (global._stackChain.version === require_package5().version) {
46698
46728
  module2.exports = global._stackChain;
@@ -46729,210 +46759,6 @@ var require_async_hook_jl = __commonJS({
46729
46759
  }
46730
46760
  });
46731
46761
 
46732
- // ../../node_modules/stack-chain/package.json
46733
- var require_package6 = __commonJS({
46734
- "../../node_modules/stack-chain/package.json"(exports2, module2) {
46735
- module2.exports = {
46736
- name: "stack-chain",
46737
- description: "API for combining call site modifiers",
46738
- version: "2.0.0",
46739
- author: "Andreas Madsen <amwebdk@gmail.com>",
46740
- scripts: {
46741
- test: "tap ./test/simple/*"
46742
- },
46743
- repository: {
46744
- type: "git",
46745
- url: "git://github.com/AndreasMadsen/stack-chain.git"
46746
- },
46747
- keywords: [
46748
- "stack",
46749
- "chain",
46750
- "trace",
46751
- "call site",
46752
- "concat",
46753
- "format"
46754
- ],
46755
- devDependencies: {
46756
- tap: "2.x.x",
46757
- "uglify-js": "2.5.x"
46758
- },
46759
- license: "MIT"
46760
- };
46761
- }
46762
- });
46763
-
46764
- // ../../node_modules/stack-chain/format.js
46765
- var require_format2 = __commonJS({
46766
- "../../node_modules/stack-chain/format.js"(exports2, module2) {
46767
- function FormatErrorString(error3) {
46768
- try {
46769
- return Error.prototype.toString.call(error3);
46770
- } catch (e) {
46771
- try {
46772
- return "<error: " + e + ">";
46773
- } catch (ee) {
46774
- return "<error>";
46775
- }
46776
- }
46777
- }
46778
- module2.exports = function FormatStackTrace(error3, frames) {
46779
- var lines = [];
46780
- lines.push(FormatErrorString(error3));
46781
- for (var i = 0; i < frames.length; i++) {
46782
- var frame = frames[i];
46783
- var line;
46784
- try {
46785
- line = frame.toString();
46786
- } catch (e) {
46787
- try {
46788
- line = "<error: " + e + ">";
46789
- } catch (ee) {
46790
- line = "<error>";
46791
- }
46792
- }
46793
- lines.push(" at " + line);
46794
- }
46795
- return lines.join("\n");
46796
- };
46797
- }
46798
- });
46799
-
46800
- // ../../node_modules/stack-chain/stack-chain.js
46801
- var require_stack_chain3 = __commonJS({
46802
- "../../node_modules/stack-chain/stack-chain.js"(exports2, module2) {
46803
- var defaultFormater = require_format2();
46804
- var originalCallSiteSymbol = Symbol("originalCallSite");
46805
- var mutatedCallSiteSymbol = Symbol("mutatedCallSite");
46806
- function stackChain() {
46807
- this.extend = new TraceModifier();
46808
- this.filter = new TraceModifier();
46809
- this.format = new StackFormater();
46810
- this.version = require_package6().version;
46811
- }
46812
- var SHORTCIRCUIT_CALLSITE = false;
46813
- stackChain.prototype.callSite = function collectCallSites(options2) {
46814
- if (!options2)
46815
- options2 = {};
46816
- SHORTCIRCUIT_CALLSITE = true;
46817
- var obj = {};
46818
- Error.captureStackTrace(obj, collectCallSites);
46819
- var callSites = obj.stack;
46820
- SHORTCIRCUIT_CALLSITE = false;
46821
- callSites = callSites.slice(options2.slice || 0);
46822
- if (options2.extend)
46823
- callSites = this.extend._modify(obj, callSites);
46824
- if (options2.filter)
46825
- callSites = this.filter._modify(obj, callSites);
46826
- return callSites;
46827
- };
46828
- stackChain.prototype.originalCallSite = function(error3) {
46829
- error3.stack;
46830
- return error3[originalCallSiteSymbol];
46831
- };
46832
- stackChain.prototype.mutatedCallSite = function(error3) {
46833
- error3.stack;
46834
- return error3[mutatedCallSiteSymbol];
46835
- };
46836
- var chain = new stackChain();
46837
- function TraceModifier() {
46838
- this._modifiers = [];
46839
- }
46840
- TraceModifier.prototype._modify = function(error3, frames) {
46841
- for (var i = 0, l = this._modifiers.length; i < l; i++) {
46842
- frames = this._modifiers[i](error3, frames);
46843
- }
46844
- return frames;
46845
- };
46846
- TraceModifier.prototype.attach = function(modifier) {
46847
- this._modifiers.push(modifier);
46848
- };
46849
- TraceModifier.prototype.deattach = function(modifier) {
46850
- var index = this._modifiers.indexOf(modifier);
46851
- if (index === -1)
46852
- return false;
46853
- this._modifiers.splice(index, 1);
46854
- return true;
46855
- };
46856
- function StackFormater() {
46857
- this._formater = defaultFormater;
46858
- this._previous = void 0;
46859
- }
46860
- StackFormater.prototype.replace = function(formater) {
46861
- if (formater) {
46862
- this._formater = formater;
46863
- } else {
46864
- this.restore();
46865
- }
46866
- };
46867
- StackFormater.prototype.restore = function() {
46868
- this._formater = defaultFormater;
46869
- this._previous = void 0;
46870
- };
46871
- StackFormater.prototype._backup = function() {
46872
- this._previous = this._formater;
46873
- };
46874
- StackFormater.prototype._roolback = function() {
46875
- if (this._previous === defaultFormater) {
46876
- this.replace(void 0);
46877
- } else {
46878
- this.replace(this._previous);
46879
- }
46880
- this._previous = void 0;
46881
- };
46882
- if (Error.prepareStackTrace) {
46883
- chain.format.replace(Error.prepareStackTrace);
46884
- }
46885
- var SHORTCIRCUIT_FORMATER = false;
46886
- function prepareStackTrace(error3, originalFrames) {
46887
- if (SHORTCIRCUIT_CALLSITE)
46888
- return originalFrames;
46889
- if (SHORTCIRCUIT_FORMATER)
46890
- return defaultFormater(error3, originalFrames);
46891
- var frames = originalFrames.concat();
46892
- frames = chain.extend._modify(error3, frames);
46893
- frames = chain.filter._modify(error3, frames);
46894
- frames = frames.slice(0, Error.stackTraceLimit);
46895
- if (Object.isExtensible(error3)) {
46896
- error3[originalCallSiteSymbol] = originalFrames;
46897
- error3[mutatedCallSiteSymbol] = frames;
46898
- }
46899
- SHORTCIRCUIT_FORMATER = true;
46900
- var format2 = chain.format._formater(error3, frames);
46901
- SHORTCIRCUIT_FORMATER = false;
46902
- return format2;
46903
- }
46904
- Object.defineProperty(Error, "prepareStackTrace", {
46905
- "get": function() {
46906
- return prepareStackTrace;
46907
- },
46908
- "set": function(formater) {
46909
- if (formater === prepareStackTrace) {
46910
- chain.format._roolback();
46911
- } else {
46912
- chain.format._backup();
46913
- chain.format.replace(formater);
46914
- }
46915
- }
46916
- });
46917
- module2.exports = chain;
46918
- }
46919
- });
46920
-
46921
- // ../../node_modules/stack-chain/index.js
46922
- var require_stack_chain4 = __commonJS({
46923
- "../../node_modules/stack-chain/index.js"(exports2, module2) {
46924
- if (global._stackChain) {
46925
- if (global._stackChain.version === require_package6().version) {
46926
- module2.exports = global._stackChain;
46927
- } else {
46928
- throw new Error("Conflicting version of stack-chain found");
46929
- }
46930
- } else {
46931
- module2.exports = global._stackChain = require_stack_chain3();
46932
- }
46933
- }
46934
- });
46935
-
46936
46762
  // ../../node_modules/cls-hooked/context-legacy.js
46937
46763
  var require_context_legacy = __commonJS({
46938
46764
  "../../node_modules/cls-hooked/context-legacy.js"(exports2, module2) {
@@ -47236,7 +47062,7 @@ var require_context_legacy = __commonJS({
47236
47062
  }
47237
47063
  }
47238
47064
  if (DEBUG_CLS_HOOKED) {
47239
- stackChain = require_stack_chain4();
47065
+ stackChain = require_stack_chain2();
47240
47066
  for (modifier in stackChain.filter._modifiers) {
47241
47067
  stackChain.filter.deattach(modifier);
47242
47068
  }
@@ -54026,11 +53852,11 @@ var require_applicationinsights = __commonJS({
54026
53852
  });
54027
53853
 
54028
53854
  // ../lib/telemetry/dist/package.json
54029
- var require_package7 = __commonJS({
53855
+ var require_package6 = __commonJS({
54030
53856
  "../lib/telemetry/dist/package.json"(exports2, module2) {
54031
53857
  module2.exports = {
54032
53858
  name: "@sap/ux-telemetry",
54033
- version: "1.9.6",
53859
+ version: "1.10.0",
54034
53860
  description: "SAP Fiori tools telemetry library",
54035
53861
  main: "dist/src/index.js",
54036
53862
  author: "SAP SE",
@@ -54055,10 +53881,10 @@ var require_package7 = __commonJS({
54055
53881
  },
54056
53882
  dependencies: {
54057
53883
  "@sap-ux/store": "0.3.8",
54058
- "@sap/ux-cds": "1.9.6",
54059
- "@sap/ux-common-utils": "1.9.6",
54060
- "@sap/ux-feature-toggle": "1.9.6",
54061
- "@sap/ux-project-access": "1.9.6",
53884
+ "@sap/ux-cds": "1.10.0",
53885
+ "@sap/ux-common-utils": "1.10.0",
53886
+ "@sap/ux-feature-toggle": "1.10.0",
53887
+ "@sap/ux-project-access": "1.10.0",
54062
53888
  applicationinsights: "1.4.1",
54063
53889
  axios: "0.26.0",
54064
53890
  "performance-now": "2.1.0",
@@ -54160,7 +53986,7 @@ var require_reporting = __commonJS({
54160
53986
  exports2.reportEnableTelemetryOnOff = exports2.reportRuntimeError = void 0;
54161
53987
  var EventName_1 = require_EventName();
54162
53988
  var appInsights = __importStar(require_applicationinsights());
54163
- var telemetryPackageJSON = __importStar(require_package7());
53989
+ var telemetryPackageJSON = __importStar(require_package6());
54164
53990
  var telemetryClientConfig_1 = require_telemetryClientConfig();
54165
53991
  var parseErrorStack = (errorStack) => {
54166
53992
  const regexps = [/sap-ux.+/gi, /[a-zA-Z-]+\/ide-extension\/.+/gi, /(\/telemetry\/.+)/gi];
@@ -54481,10 +54307,21 @@ var require_appInsightClient = __commonJS({
54481
54307
  this.clients.set(SampleRate_1.SampleRate.NoSampling, clientNoSampling);
54482
54308
  return this;
54483
54309
  }
54310
+ reportBlocking(eventName, properties, measurements, sampleRate, ignoreSettings) {
54311
+ if (ignoreSettings !== void 0 && !ignoreSettings || !system_1.TelemetrySystem.telemetryEnabled) {
54312
+ return;
54313
+ }
54314
+ const { client, event } = this.prepareClientAndEvent(eventName, properties, measurements, sampleRate);
54315
+ return this.trackEventBlocking(client, event);
54316
+ }
54484
54317
  async report(eventName, properties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings) {
54485
54318
  if (ignoreSettings !== void 0 && !ignoreSettings || !system_1.TelemetrySystem.telemetryEnabled) {
54486
54319
  return;
54487
54320
  }
54321
+ const { client, event } = this.prepareClientAndEvent(eventName, properties, measurements, sampleRate);
54322
+ this.trackEvent(client, event);
54323
+ }
54324
+ prepareClientAndEvent(eventName, properties, measurements, sampleRate) {
54488
54325
  const processedSampleRate = sampleRate ? sampleRate : SampleRate_1.SampleRate.NoSampling;
54489
54326
  const client = this.clients.get(processedSampleRate);
54490
54327
  const eventHeader = new EventHeader_1.EventHeader(this.extensionName, eventName);
@@ -54493,7 +54330,18 @@ var require_appInsightClient = __commonJS({
54493
54330
  properties,
54494
54331
  measurements
54495
54332
  };
54496
- this.trackEvent(client, event);
54333
+ return {
54334
+ client,
54335
+ event
54336
+ };
54337
+ }
54338
+ async trackEventBlocking(client, event) {
54339
+ return new Promise((resolve) => {
54340
+ client.trackEvent(event);
54341
+ client.flush({
54342
+ callback: () => resolve()
54343
+ });
54344
+ });
54497
54345
  }
54498
54346
  trackEvent(client, event) {
54499
54347
  if (process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY !== "true") {
@@ -54567,6 +54415,14 @@ var require_toolsSuiteTelemetryClient = __commonJS({
54567
54415
  await super.report(eventName, finalProperties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings);
54568
54416
  }
54569
54417
  async reportEvent(event, sampleRate, telemetryHelperProperties, ignoreSettings) {
54418
+ const { finalProperties, finalMeasurements } = await this.collectToolsSuiteTelemetry(event, telemetryHelperProperties);
54419
+ return super.report(event.eventName, finalProperties, finalMeasurements, sampleRate, telemetryHelperProperties, ignoreSettings);
54420
+ }
54421
+ async reportEventBlocking(event, sampleRate, telemetryHelperProperties, ignoreSettings) {
54422
+ const { finalProperties, finalMeasurements } = await this.collectToolsSuiteTelemetry(event, telemetryHelperProperties);
54423
+ return super.reportBlocking(event.eventName, finalProperties, finalMeasurements, sampleRate, ignoreSettings);
54424
+ }
54425
+ async collectToolsSuiteTelemetry(event, telemetryHelperProperties) {
54570
54426
  const fioriProjectCommonProperties = await (0, toolsSuiteTelemetry_1.processToolsSuiteTelemetry)(telemetryHelperProperties);
54571
54427
  const telemetryEventCommonProperties = {
54572
54428
  v: this.extensionVersion,
@@ -54580,7 +54436,10 @@ var require_toolsSuiteTelemetryClient = __commonJS({
54580
54436
  const finalMeasurements = {
54581
54437
  ...event.measurements
54582
54438
  };
54583
- await super.report(event.eventName, finalProperties, finalMeasurements, sampleRate, telemetryHelperProperties, ignoreSettings);
54439
+ return {
54440
+ finalProperties,
54441
+ finalMeasurements
54442
+ };
54584
54443
  }
54585
54444
  };
54586
54445
  exports2.ToolsSuiteTelemetryClient = ToolsSuiteTelemetryClient;
@@ -54974,7 +54833,7 @@ var require_find_up = __commonJS({
54974
54833
  var require_i18n2 = __commonJS({
54975
54834
  "../lib/project-access/core/dist/i18n/i18n.json"(exports2, module2) {
54976
54835
  module2.exports = {
54977
- ERROR_SPECIFICATION_MISSING: "Seems specification package is missing. Please execute command 'npm i @sap/ux-specification --save-dev' in root (where package.json is) of your project. '{{root}}'. Error was: {{error.message}}`",
54836
+ ERROR_SPECIFICATION_MISSING: "Seems specification package is missing. Please execute command 'npm i @sap/ux-specification --save-dev' in root (where package.json is) of your project. '{{- root}}'.",
54978
54837
  ERROR_VOCABULARY_NOT_FOUND: "Vocabulary not found! namespace: {{namespace}}, uri: {{- uri}} ",
54979
54838
  ERROR_READING_METADATA: "Error while reading service metadata {{path}}. Error was: {{error}}",
54980
54839
  ERROR_METADATA_NOT_FOUND: "There is no valid metadata file in this project",
@@ -54985,7 +54844,7 @@ var require_i18n2 = __commonJS({
54985
54844
  ERROR_PROJECT_ROOT_WORKSPACE: "Error while trying to find project in workspace root {{root}}. Error was: {{error}}",
54986
54845
  ERROR_INVALID_PACKAGE_JSON: "Found invalid package.json. {{error}}",
54987
54846
  ERROR_INVALIND_PACKAGE_JSON_FOR_APP: "Found invalid package.json in '{{- root}}'",
54988
- ERROR_REQUIRED_APP: "Appication ID required.",
54847
+ ERROR_REQUIRED_APP: "Application ID required.",
54989
54848
  ERROR_INVALID_APP_ID: "Invalid application ID.",
54990
54849
  CONSOLE_SHOULD_NOT_BE_HERE: "Should not be here ' {{currentValue}}",
54991
54850
  ERROR_LOADING_ANNOTATIONS_FROM_CAP: "Loading annotations from CAP project failed. {{error}}",
@@ -59941,7 +59800,7 @@ var require_semver5 = __commonJS({
59941
59800
  });
59942
59801
 
59943
59802
  // ../lib/ui5-info/core/dist/types.js
59944
- var require_types5 = __commonJS({
59803
+ var require_types6 = __commonJS({
59945
59804
  "../lib/ui5-info/core/dist/types.js"(exports2) {
59946
59805
  "use strict";
59947
59806
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -59979,7 +59838,7 @@ var require_ui5_info = __commonJS({
59979
59838
  var semver_compare_1 = __importDefault(require_semver_compare());
59980
59839
  var semver_1 = require_semver5();
59981
59840
  var ux_odata_client_1 = require_dist6();
59982
- var types_1 = require_types5();
59841
+ var types_1 = require_types6();
59983
59842
  var commandRunner_1 = require_commandRunner();
59984
59843
  var axios_1 = __importDefault(require_axios2());
59985
59844
  var https_1 = __importDefault(require("https"));
@@ -60601,7 +60460,7 @@ var require_dist8 = __commonJS({
60601
60460
  Object.defineProperty(exports2, "ThemeIds", { enumerable: true, get: function() {
60602
60461
  return ui5_info_1.ThemeIds;
60603
60462
  } });
60604
- var types_1 = require_types5();
60463
+ var types_1 = require_types6();
60605
60464
  Object.defineProperty(exports2, "FioriElementsVersion", { enumerable: true, get: function() {
60606
60465
  return types_1.FioriElementsVersion;
60607
60466
  } });
@@ -61297,7 +61156,10 @@ var require_constants5 = __commonJS({
61297
61156
  Object.defineProperty(exports2, "__esModule", { value: true });
61298
61157
  exports2.FileName = void 0;
61299
61158
  exports2.FileName = {
61159
+ AdaptationConfig: "config.json",
61160
+ ExtConfigJson: ".extconfig.json",
61300
61161
  Manifest: "manifest.json",
61162
+ ManifestAppDescrVar: "manifest.appdescr_variant",
61301
61163
  Package: "package.json",
61302
61164
  Tsconfig: "tsconfig.json",
61303
61165
  Ui5Yaml: "ui5.yaml",
@@ -61415,15 +61277,16 @@ var require_file_search = __commonJS({
61415
61277
  return mod && mod.__esModule ? mod : { "default": mod };
61416
61278
  };
61417
61279
  Object.defineProperty(exports2, "__esModule", { value: true });
61418
- exports2.findFileUp = exports2.findFilesByExtension = exports2.findFiles = void 0;
61280
+ exports2.getFilePaths = exports2.findFileUp = exports2.findFilesByExtension = exports2.findFiles = exports2.findBy = void 0;
61419
61281
  var path_1 = require("path");
61420
61282
  var findit2_1 = __importDefault(require_findit2());
61421
61283
  var file_access_1 = require_file_access();
61422
- function getMemFsChanges(changes, query, by) {
61284
+ var fs_1 = require("fs");
61285
+ function getMemFsChanges(changes, fileNames, extensionNames) {
61423
61286
  const deleted = [];
61424
61287
  const modified = [];
61425
- const getFilePartToCompare = by === "extension" ? path_1.extname : path_1.basename;
61426
- for (const file of Object.keys(changes).filter((f) => getFilePartToCompare(f) === query)) {
61288
+ const filteredChanges = Object.keys(changes).filter((f) => fileNames.includes((0, path_1.basename)(f)) || extensionNames.includes((0, path_1.extname)(f)));
61289
+ for (const file of filteredChanges) {
61427
61290
  if (changes[file].state === "deleted") {
61428
61291
  deleted.push((0, path_1.join)(file));
61429
61292
  }
@@ -61434,31 +61297,30 @@ var require_file_search = __commonJS({
61434
61297
  return { deleted, modified };
61435
61298
  }
61436
61299
  function findBy(options2) {
61437
- const getFilePartToCompare = options2.by === "extension" ? path_1.extname : path_1.basename;
61438
61300
  return new Promise((resolve, reject) => {
61439
61301
  const results = [];
61302
+ const fileNames = Array.isArray(options2.fileNames) ? options2.fileNames : [];
61303
+ const extensionNames = Array.isArray(options2.extensionNames) ? options2.extensionNames : [];
61304
+ const excludeFolders = Array.isArray(options2.excludeFolders) ? options2.excludeFolders : [];
61440
61305
  const finder = (0, findit2_1.default)(options2.root);
61441
61306
  finder.on("directory", (dir, _stat, stop) => {
61442
61307
  const base = (0, path_1.basename)(dir);
61443
- if (options2.excludeFolders.includes(base)) {
61308
+ if (excludeFolders.includes(base)) {
61444
61309
  stop();
61445
61310
  }
61446
61311
  });
61447
61312
  finder.on("file", (file) => {
61448
- if (getFilePartToCompare(file) === options2.query) {
61313
+ if (extensionNames.includes((0, path_1.extname)(file)) || fileNames.includes((0, path_1.basename)(file))) {
61449
61314
  results.push(file);
61450
61315
  }
61451
61316
  });
61452
61317
  finder.on("end", () => {
61453
61318
  let searchResult = results;
61454
61319
  if (options2.memFs) {
61455
- const { modified, deleted } = getMemFsChanges(options2.memFs.dump(""), options2.query, options2.by);
61320
+ const { modified, deleted } = getMemFsChanges(options2.memFs.dump(""), fileNames, extensionNames);
61456
61321
  const merged = Array.from(/* @__PURE__ */ new Set([...results, ...modified]));
61457
61322
  searchResult = merged.filter((f) => !deleted.includes(f));
61458
61323
  }
61459
- if (options2.by === "name") {
61460
- searchResult = searchResult.map((f) => (0, path_1.dirname)(f));
61461
- }
61462
61324
  resolve(searchResult);
61463
61325
  });
61464
61326
  finder.on("error", (error3) => {
@@ -61466,12 +61328,16 @@ var require_file_search = __commonJS({
61466
61328
  });
61467
61329
  });
61468
61330
  }
61331
+ exports2.findBy = findBy;
61469
61332
  function findFiles(filename, root, excludeFolders, memFs) {
61470
- return findBy({ query: filename, by: "name", root, excludeFolders, memFs });
61333
+ return __awaiter(this, void 0, void 0, function* () {
61334
+ const results = yield findBy({ fileNames: [filename], root, excludeFolders, memFs });
61335
+ return results.map((f) => (0, path_1.dirname)(f));
61336
+ });
61471
61337
  }
61472
61338
  exports2.findFiles = findFiles;
61473
61339
  function findFilesByExtension(extension2, root, excludeFolders, memFs) {
61474
- return findBy({ query: extension2, by: "extension", root, excludeFolders, memFs });
61340
+ return findBy({ extensionNames: [extension2], root, excludeFolders, memFs });
61475
61341
  }
61476
61342
  exports2.findFilesByExtension = findFilesByExtension;
61477
61343
  function findFileUp(fileName, startPath, fs2) {
@@ -61485,6 +61351,19 @@ var require_file_search = __commonJS({
61485
61351
  });
61486
61352
  }
61487
61353
  exports2.findFileUp = findFileUp;
61354
+ function getFilePaths(dir) {
61355
+ return __awaiter(this, void 0, void 0, function* () {
61356
+ const entries = yield fs_1.promises.readdir(dir);
61357
+ const filePathsPromises = entries.map((entry) => __awaiter(this, void 0, void 0, function* () {
61358
+ const entryPath = (0, path_1.join)(dir, entry);
61359
+ const isDirectory = (yield fs_1.promises.stat(entryPath)).isDirectory();
61360
+ return isDirectory ? getFilePaths(entryPath) : entryPath;
61361
+ }));
61362
+ const filePaths = yield Promise.all(filePathsPromises);
61363
+ return [].concat(...filePaths);
61364
+ });
61365
+ }
61366
+ exports2.getFilePaths = getFilePaths;
61488
61367
  }
61489
61368
  });
61490
61369
 
@@ -61493,7 +61372,7 @@ var require_file4 = __commonJS({
61493
61372
  "../../node_modules/@sap-ux/project-access/dist/file/index.js"(exports2) {
61494
61373
  "use strict";
61495
61374
  Object.defineProperty(exports2, "__esModule", { value: true });
61496
- exports2.findFileUp = exports2.findFilesByExtension = exports2.findFiles = exports2.readJSON = exports2.readFile = exports2.fileExists = void 0;
61375
+ exports2.getFilePaths = exports2.findFileUp = exports2.findFilesByExtension = exports2.findFiles = exports2.findBy = exports2.readJSON = exports2.readFile = exports2.fileExists = void 0;
61497
61376
  var file_access_1 = require_file_access();
61498
61377
  Object.defineProperty(exports2, "fileExists", { enumerable: true, get: function() {
61499
61378
  return file_access_1.fileExists;
@@ -61505,6 +61384,9 @@ var require_file4 = __commonJS({
61505
61384
  return file_access_1.readJSON;
61506
61385
  } });
61507
61386
  var file_search_1 = require_file_search();
61387
+ Object.defineProperty(exports2, "findBy", { enumerable: true, get: function() {
61388
+ return file_search_1.findBy;
61389
+ } });
61508
61390
  Object.defineProperty(exports2, "findFiles", { enumerable: true, get: function() {
61509
61391
  return file_search_1.findFiles;
61510
61392
  } });
@@ -61514,6 +61396,9 @@ var require_file4 = __commonJS({
61514
61396
  Object.defineProperty(exports2, "findFileUp", { enumerable: true, get: function() {
61515
61397
  return file_search_1.findFileUp;
61516
61398
  } });
61399
+ Object.defineProperty(exports2, "getFilePaths", { enumerable: true, get: function() {
61400
+ return file_search_1.getFilePaths;
61401
+ } });
61517
61402
  }
61518
61403
  });
61519
61404
 
@@ -61631,7 +61516,7 @@ var require_cap = __commonJS({
61631
61516
  });
61632
61517
  };
61633
61518
  Object.defineProperty(exports2, "__esModule", { value: true });
61634
- exports2.getCapModelAndServices = exports2.getCapCustomPaths = exports2.getCapProjectType = exports2.isCapJavaProject = exports2.isCapNodeJsProject = void 0;
61519
+ exports2.getCapEnvironment = exports2.getCapModelAndServices = exports2.getCapCustomPaths = exports2.getCapProjectType = exports2.isCapJavaProject = exports2.isCapNodeJsProject = void 0;
61635
61520
  var path_1 = require("path");
61636
61521
  var constants_1 = require_constants5();
61637
61522
  var file_1 = require_file4();
@@ -61673,8 +61558,7 @@ var require_cap = __commonJS({
61673
61558
  srv: "srv/"
61674
61559
  };
61675
61560
  try {
61676
- const cds = yield (0, module_loader_1.loadModuleFromProject)(capProjectPath, "@sap/cds");
61677
- const cdsCustomPaths = cds.env.for("cds", capProjectPath);
61561
+ const cdsCustomPaths = yield getCapEnvironment(capProjectPath);
61678
61562
  if (cdsCustomPaths.folders) {
61679
61563
  result2.app = cdsCustomPaths.folders.app;
61680
61564
  result2.db = cdsCustomPaths.folders.db;
@@ -61704,6 +61588,14 @@ var require_cap = __commonJS({
61704
61588
  });
61705
61589
  }
61706
61590
  exports2.getCapModelAndServices = getCapModelAndServices;
61591
+ function getCapEnvironment(capProjectPath) {
61592
+ return __awaiter(this, void 0, void 0, function* () {
61593
+ const module3 = yield (0, module_loader_1.loadModuleFromProject)(capProjectPath, "@sap/cds");
61594
+ const cds = "default" in module3 ? module3.default : module3;
61595
+ return cds.env.for("cds", capProjectPath);
61596
+ });
61597
+ }
61598
+ exports2.getCapEnvironment = getCapEnvironment;
61707
61599
  }
61708
61600
  });
61709
61601
 
@@ -63616,9 +63508,9 @@ var require_dist9 = __commonJS({
63616
63508
  }
63617
63509
  });
63618
63510
 
63619
- // ../../node_modules/@sap-ux/ui5-config/dist/middlewares.js
63511
+ // ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/middlewares.js
63620
63512
  var require_middlewares = __commonJS({
63621
- "../../node_modules/@sap-ux/ui5-config/dist/middlewares.js"(exports2) {
63513
+ "../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/middlewares.js"(exports2) {
63622
63514
  "use strict";
63623
63515
  Object.defineProperty(exports2, "__esModule", { value: true });
63624
63516
  exports2.getMockServerMiddlewareConfig = exports2.getFioriToolsProxyMiddlewareConfig = exports2.getAppReloadMiddlewareConfig = void 0;
@@ -63692,9 +63584,9 @@ var require_middlewares = __commonJS({
63692
63584
  }
63693
63585
  });
63694
63586
 
63695
- // ../../node_modules/@sap-ux/ui5-config/dist/ui5config.js
63587
+ // ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/ui5config.js
63696
63588
  var require_ui5config = __commonJS({
63697
- "../../node_modules/@sap-ux/ui5-config/dist/ui5config.js"(exports2) {
63589
+ "../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/ui5config.js"(exports2) {
63698
63590
  "use strict";
63699
63591
  var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
63700
63592
  function adopt(value) {
@@ -63896,187 +63788,1731 @@ var require_ui5config = __commonJS({
63896
63788
  }
63897
63789
  });
63898
63790
 
63899
- // ../../node_modules/@sap-ux/ui5-config/dist/index.js
63900
- var require_dist10 = __commonJS({
63901
- "../../node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
63902
- "use strict";
63903
- Object.defineProperty(exports2, "__esModule", { value: true });
63904
- exports2.YAMLError = exports2.yamlErrorCode = exports2.UI5Config = void 0;
63905
- var ui5config_1 = require_ui5config();
63906
- Object.defineProperty(exports2, "UI5Config", { enumerable: true, get: function() {
63907
- return ui5config_1.UI5Config;
63908
- } });
63909
- var yaml_1 = require_dist9();
63910
- Object.defineProperty(exports2, "yamlErrorCode", { enumerable: true, get: function() {
63911
- return yaml_1.errorCode;
63912
- } });
63913
- Object.defineProperty(exports2, "YAMLError", { enumerable: true, get: function() {
63914
- return yaml_1.YAMLError;
63915
- } });
63791
+ // ../../node_modules/lodash/mergeWith.js
63792
+ var require_mergeWith = __commonJS({
63793
+ "../../node_modules/lodash/mergeWith.js"(exports2, module2) {
63794
+ var baseMerge = require_baseMerge();
63795
+ var createAssigner = require_createAssigner();
63796
+ var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {
63797
+ baseMerge(object, source, srcIndex, customizer);
63798
+ });
63799
+ module2.exports = mergeWith;
63916
63800
  }
63917
63801
  });
63918
63802
 
63919
- // ../../node_modules/@sap-ux/project-access/dist/project/ui5-config.js
63920
- var require_ui5_config = __commonJS({
63921
- "../../node_modules/@sap-ux/project-access/dist/project/ui5-config.js"(exports2) {
63922
- "use strict";
63923
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
63924
- function adopt(value) {
63925
- return value instanceof P ? value : new P(function(resolve) {
63926
- resolve(value);
63927
- });
63928
- }
63929
- return new (P || (P = Promise))(function(resolve, reject) {
63930
- function fulfilled(value) {
63931
- try {
63932
- step(generator.next(value));
63933
- } catch (e) {
63934
- reject(e);
63935
- }
63936
- }
63937
- function rejected(value) {
63938
- try {
63939
- step(generator["throw"](value));
63940
- } catch (e) {
63941
- reject(e);
63942
- }
63943
- }
63944
- function step(result2) {
63945
- result2.done ? resolve(result2.value) : adopt(result2.value).then(fulfilled, rejected);
63946
- }
63947
- step((generator = generator.apply(thisArg, _arguments || [])).next());
63948
- });
63803
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/internal/constants.js
63804
+ var require_constants6 = __commonJS({
63805
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/internal/constants.js"(exports2, module2) {
63806
+ var SEMVER_SPEC_VERSION = "2.0.0";
63807
+ var MAX_LENGTH = 256;
63808
+ var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
63809
+ var MAX_SAFE_COMPONENT_LENGTH = 16;
63810
+ module2.exports = {
63811
+ SEMVER_SPEC_VERSION,
63812
+ MAX_LENGTH,
63813
+ MAX_SAFE_INTEGER,
63814
+ MAX_SAFE_COMPONENT_LENGTH
63949
63815
  };
63950
- Object.defineProperty(exports2, "__esModule", { value: true });
63951
- exports2.readUi5Yaml = exports2.getWebappPath = void 0;
63952
- var path_1 = require("path");
63953
- var ui5_config_1 = require_dist10();
63954
- var constants_1 = require_constants5();
63955
- var file_1 = require_file4();
63956
- function getWebappPath(projectRoot, memFs) {
63957
- var _a2, _b;
63958
- return __awaiter(this, void 0, void 0, function* () {
63959
- let webappPath = (0, path_1.join)(projectRoot, "webapp");
63960
- const ui5YamlPath = (0, path_1.join)(projectRoot, constants_1.FileName.Ui5Yaml);
63961
- if (yield (0, file_1.fileExists)(ui5YamlPath, memFs)) {
63962
- const yamlString = yield (0, file_1.readFile)(ui5YamlPath, memFs);
63963
- const ui5Config = yield ui5_config_1.UI5Config.newInstance(yamlString);
63964
- const relativeWebappPath = (_b = (_a2 = ui5Config.getConfiguration()) === null || _a2 === void 0 ? void 0 : _a2.paths) === null || _b === void 0 ? void 0 : _b.webapp;
63965
- if (relativeWebappPath) {
63966
- webappPath = (0, path_1.join)(projectRoot, relativeWebappPath);
63967
- }
63968
- }
63969
- return webappPath;
63970
- });
63971
- }
63972
- exports2.getWebappPath = getWebappPath;
63973
- function readUi5Yaml(basePath, fileName) {
63974
- return __awaiter(this, void 0, void 0, function* () {
63975
- const ui5YamlPath = (0, path_1.join)(basePath, fileName);
63976
- if (yield (0, file_1.fileExists)(ui5YamlPath)) {
63977
- const yamlString = yield (0, file_1.readFile)(ui5YamlPath);
63978
- return yield ui5_config_1.UI5Config.newInstance(yamlString);
63979
- }
63980
- throw Error(`File '${fileName}' not found in project '${basePath}'`);
63981
- });
63982
- }
63983
- exports2.readUi5Yaml = readUi5Yaml;
63984
63816
  }
63985
63817
  });
63986
63818
 
63987
- // ../../node_modules/@sap-ux/project-access/dist/project/info.js
63988
- var require_info = __commonJS({
63989
- "../../node_modules/@sap-ux/project-access/dist/project/info.js"(exports2) {
63990
- "use strict";
63991
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
63992
- function adopt(value) {
63993
- return value instanceof P ? value : new P(function(resolve) {
63994
- resolve(value);
63995
- });
63996
- }
63997
- return new (P || (P = Promise))(function(resolve, reject) {
63998
- function fulfilled(value) {
63999
- try {
64000
- step(generator.next(value));
64001
- } catch (e) {
64002
- reject(e);
64003
- }
64004
- }
64005
- function rejected(value) {
64006
- try {
64007
- step(generator["throw"](value));
64008
- } catch (e) {
64009
- reject(e);
64010
- }
64011
- }
64012
- function step(result2) {
64013
- result2.done ? resolve(result2.value) : adopt(result2.value).then(fulfilled, rejected);
64014
- }
64015
- step((generator = generator.apply(thisArg, _arguments || [])).next());
64016
- });
63819
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/internal/debug.js
63820
+ var require_debug3 = __commonJS({
63821
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/internal/debug.js"(exports2, module2) {
63822
+ var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
64017
63823
  };
64018
- Object.defineProperty(exports2, "__esModule", { value: true });
64019
- exports2.getAppProgrammingLanguage = void 0;
64020
- var path_1 = require("path");
64021
- var constants_1 = require_constants5();
64022
- var file_1 = require_file4();
64023
- var ui5_config_1 = require_ui5_config();
64024
- function getAppProgrammingLanguage(appRoot, memFs) {
64025
- return __awaiter(this, void 0, void 0, function* () {
64026
- const ignoreFolders = ["node_modules", ".git"];
64027
- let appLanguage = "";
64028
- try {
64029
- const webappPath = yield (0, ui5_config_1.getWebappPath)(appRoot, memFs);
64030
- if (yield (0, file_1.fileExists)(webappPath, memFs)) {
64031
- if ((yield (0, file_1.fileExists)((0, path_1.join)(appRoot, constants_1.FileName.Tsconfig), memFs)) && (yield (0, file_1.findFilesByExtension)(".ts", webappPath, ignoreFolders, memFs)).length > 0) {
64032
- appLanguage = "TypeScript";
64033
- } else if ((yield (0, file_1.findFilesByExtension)(".js", webappPath, ignoreFolders, memFs)).length > 0) {
64034
- appLanguage = "JavaScript";
64035
- }
64036
- }
64037
- } catch (_a2) {
64038
- }
64039
- return appLanguage;
64040
- });
64041
- }
64042
- exports2.getAppProgrammingLanguage = getAppProgrammingLanguage;
63824
+ module2.exports = debug;
64043
63825
  }
64044
63826
  });
64045
63827
 
64046
- // ../../node_modules/@sap-ux/project-access/dist/project/dependencies.js
64047
- var require_dependencies = __commonJS({
64048
- "../../node_modules/@sap-ux/project-access/dist/project/dependencies.js"(exports2) {
64049
- "use strict";
64050
- Object.defineProperty(exports2, "__esModule", { value: true });
64051
- exports2.hasDependency = void 0;
64052
- var hasDependency = (packageJson, dependency) => {
64053
- var _a2, _b;
64054
- return !!(((_a2 = packageJson.dependencies) === null || _a2 === void 0 ? void 0 : _a2[dependency]) || ((_b = packageJson.devDependencies) === null || _b === void 0 ? void 0 : _b[dependency]));
63828
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/internal/re.js
63829
+ var require_re2 = __commonJS({
63830
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/internal/re.js"(exports2, module2) {
63831
+ var { MAX_SAFE_COMPONENT_LENGTH } = require_constants6();
63832
+ var debug = require_debug3();
63833
+ exports2 = module2.exports = {};
63834
+ var re = exports2.re = [];
63835
+ var src = exports2.src = [];
63836
+ var t = exports2.t = {};
63837
+ var R = 0;
63838
+ var createToken = (name, value, isGlobal) => {
63839
+ const index = R++;
63840
+ debug(index, value);
63841
+ t[name] = index;
63842
+ src[index] = value;
63843
+ re[index] = new RegExp(value, isGlobal ? "g" : void 0);
64055
63844
  };
64056
- exports2.hasDependency = hasDependency;
63845
+ createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
63846
+ createToken("NUMERICIDENTIFIERLOOSE", "[0-9]+");
63847
+ createToken("NONNUMERICIDENTIFIER", "\\d*[a-zA-Z-][a-zA-Z0-9-]*");
63848
+ createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
63849
+ createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
63850
+ createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
63851
+ createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
63852
+ createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
63853
+ createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
63854
+ createToken("BUILDIDENTIFIER", "[0-9A-Za-z-]+");
63855
+ createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
63856
+ createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
63857
+ createToken("FULL", `^${src[t.FULLPLAIN]}$`);
63858
+ createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
63859
+ createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
63860
+ createToken("GTLT", "((?:<|>)?=?)");
63861
+ createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
63862
+ createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
63863
+ createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
63864
+ createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
63865
+ createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
63866
+ createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
63867
+ createToken("COERCE", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`);
63868
+ createToken("COERCERTL", src[t.COERCE], true);
63869
+ createToken("LONETILDE", "(?:~>?)");
63870
+ createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
63871
+ exports2.tildeTrimReplace = "$1~";
63872
+ createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
63873
+ createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
63874
+ createToken("LONECARET", "(?:\\^)");
63875
+ createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
63876
+ exports2.caretTrimReplace = "$1^";
63877
+ createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
63878
+ createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
63879
+ createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
63880
+ createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
63881
+ createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
63882
+ exports2.comparatorTrimReplace = "$1$2$3";
63883
+ createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
63884
+ createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
63885
+ createToken("STAR", "(<|>)?=?\\s*\\*");
63886
+ createToken("GTE0", "^\\s*>=\\s*0.0.0\\s*$");
63887
+ createToken("GTE0PRE", "^\\s*>=\\s*0.0.0-0\\s*$");
64057
63888
  }
64058
63889
  });
64059
63890
 
64060
- // ../../node_modules/@sap-ux/project-access/dist/project/search.js
64061
- var require_search = __commonJS({
64062
- "../../node_modules/@sap-ux/project-access/dist/project/search.js"(exports2) {
64063
- "use strict";
64064
- var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
64065
- function adopt(value) {
64066
- return value instanceof P ? value : new P(function(resolve) {
64067
- resolve(value);
64068
- });
63891
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/internal/parse-options.js
63892
+ var require_parse_options2 = __commonJS({
63893
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/internal/parse-options.js"(exports2, module2) {
63894
+ var opts = ["includePrerelease", "loose", "rtl"];
63895
+ var parseOptions = (options2) => !options2 ? {} : typeof options2 !== "object" ? { loose: true } : opts.filter((k) => options2[k]).reduce((options3, k) => {
63896
+ options3[k] = true;
63897
+ return options3;
63898
+ }, {});
63899
+ module2.exports = parseOptions;
63900
+ }
63901
+ });
63902
+
63903
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/internal/identifiers.js
63904
+ var require_identifiers2 = __commonJS({
63905
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/internal/identifiers.js"(exports2, module2) {
63906
+ var numeric = /^[0-9]+$/;
63907
+ var compareIdentifiers = (a, b) => {
63908
+ const anum = numeric.test(a);
63909
+ const bnum = numeric.test(b);
63910
+ if (anum && bnum) {
63911
+ a = +a;
63912
+ b = +b;
64069
63913
  }
64070
- return new (P || (P = Promise))(function(resolve, reject) {
64071
- function fulfilled(value) {
64072
- try {
64073
- step(generator.next(value));
64074
- } catch (e) {
64075
- reject(e);
63914
+ return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
63915
+ };
63916
+ var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
63917
+ module2.exports = {
63918
+ compareIdentifiers,
63919
+ rcompareIdentifiers
63920
+ };
63921
+ }
63922
+ });
63923
+
63924
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/classes/semver.js
63925
+ var require_semver6 = __commonJS({
63926
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/classes/semver.js"(exports2, module2) {
63927
+ var debug = require_debug3();
63928
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants6();
63929
+ var { re, t } = require_re2();
63930
+ var parseOptions = require_parse_options2();
63931
+ var { compareIdentifiers } = require_identifiers2();
63932
+ var SemVer = class {
63933
+ constructor(version, options2) {
63934
+ options2 = parseOptions(options2);
63935
+ if (version instanceof SemVer) {
63936
+ if (version.loose === !!options2.loose && version.includePrerelease === !!options2.includePrerelease) {
63937
+ return version;
63938
+ } else {
63939
+ version = version.version;
64076
63940
  }
63941
+ } else if (typeof version !== "string") {
63942
+ throw new TypeError(`Invalid Version: ${version}`);
64077
63943
  }
64078
- function rejected(value) {
64079
- try {
63944
+ if (version.length > MAX_LENGTH) {
63945
+ throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
63946
+ }
63947
+ debug("SemVer", version, options2);
63948
+ this.options = options2;
63949
+ this.loose = !!options2.loose;
63950
+ this.includePrerelease = !!options2.includePrerelease;
63951
+ const m = version.trim().match(options2.loose ? re[t.LOOSE] : re[t.FULL]);
63952
+ if (!m) {
63953
+ throw new TypeError(`Invalid Version: ${version}`);
63954
+ }
63955
+ this.raw = version;
63956
+ this.major = +m[1];
63957
+ this.minor = +m[2];
63958
+ this.patch = +m[3];
63959
+ if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
63960
+ throw new TypeError("Invalid major version");
63961
+ }
63962
+ if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
63963
+ throw new TypeError("Invalid minor version");
63964
+ }
63965
+ if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
63966
+ throw new TypeError("Invalid patch version");
63967
+ }
63968
+ if (!m[4]) {
63969
+ this.prerelease = [];
63970
+ } else {
63971
+ this.prerelease = m[4].split(".").map((id) => {
63972
+ if (/^[0-9]+$/.test(id)) {
63973
+ const num = +id;
63974
+ if (num >= 0 && num < MAX_SAFE_INTEGER) {
63975
+ return num;
63976
+ }
63977
+ }
63978
+ return id;
63979
+ });
63980
+ }
63981
+ this.build = m[5] ? m[5].split(".") : [];
63982
+ this.format();
63983
+ }
63984
+ format() {
63985
+ this.version = `${this.major}.${this.minor}.${this.patch}`;
63986
+ if (this.prerelease.length) {
63987
+ this.version += `-${this.prerelease.join(".")}`;
63988
+ }
63989
+ return this.version;
63990
+ }
63991
+ toString() {
63992
+ return this.version;
63993
+ }
63994
+ compare(other) {
63995
+ debug("SemVer.compare", this.version, this.options, other);
63996
+ if (!(other instanceof SemVer)) {
63997
+ if (typeof other === "string" && other === this.version) {
63998
+ return 0;
63999
+ }
64000
+ other = new SemVer(other, this.options);
64001
+ }
64002
+ if (other.version === this.version) {
64003
+ return 0;
64004
+ }
64005
+ return this.compareMain(other) || this.comparePre(other);
64006
+ }
64007
+ compareMain(other) {
64008
+ if (!(other instanceof SemVer)) {
64009
+ other = new SemVer(other, this.options);
64010
+ }
64011
+ return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
64012
+ }
64013
+ comparePre(other) {
64014
+ if (!(other instanceof SemVer)) {
64015
+ other = new SemVer(other, this.options);
64016
+ }
64017
+ if (this.prerelease.length && !other.prerelease.length) {
64018
+ return -1;
64019
+ } else if (!this.prerelease.length && other.prerelease.length) {
64020
+ return 1;
64021
+ } else if (!this.prerelease.length && !other.prerelease.length) {
64022
+ return 0;
64023
+ }
64024
+ let i = 0;
64025
+ do {
64026
+ const a = this.prerelease[i];
64027
+ const b = other.prerelease[i];
64028
+ debug("prerelease compare", i, a, b);
64029
+ if (a === void 0 && b === void 0) {
64030
+ return 0;
64031
+ } else if (b === void 0) {
64032
+ return 1;
64033
+ } else if (a === void 0) {
64034
+ return -1;
64035
+ } else if (a === b) {
64036
+ continue;
64037
+ } else {
64038
+ return compareIdentifiers(a, b);
64039
+ }
64040
+ } while (++i);
64041
+ }
64042
+ compareBuild(other) {
64043
+ if (!(other instanceof SemVer)) {
64044
+ other = new SemVer(other, this.options);
64045
+ }
64046
+ let i = 0;
64047
+ do {
64048
+ const a = this.build[i];
64049
+ const b = other.build[i];
64050
+ debug("prerelease compare", i, a, b);
64051
+ if (a === void 0 && b === void 0) {
64052
+ return 0;
64053
+ } else if (b === void 0) {
64054
+ return 1;
64055
+ } else if (a === void 0) {
64056
+ return -1;
64057
+ } else if (a === b) {
64058
+ continue;
64059
+ } else {
64060
+ return compareIdentifiers(a, b);
64061
+ }
64062
+ } while (++i);
64063
+ }
64064
+ inc(release, identifier) {
64065
+ switch (release) {
64066
+ case "premajor":
64067
+ this.prerelease.length = 0;
64068
+ this.patch = 0;
64069
+ this.minor = 0;
64070
+ this.major++;
64071
+ this.inc("pre", identifier);
64072
+ break;
64073
+ case "preminor":
64074
+ this.prerelease.length = 0;
64075
+ this.patch = 0;
64076
+ this.minor++;
64077
+ this.inc("pre", identifier);
64078
+ break;
64079
+ case "prepatch":
64080
+ this.prerelease.length = 0;
64081
+ this.inc("patch", identifier);
64082
+ this.inc("pre", identifier);
64083
+ break;
64084
+ case "prerelease":
64085
+ if (this.prerelease.length === 0) {
64086
+ this.inc("patch", identifier);
64087
+ }
64088
+ this.inc("pre", identifier);
64089
+ break;
64090
+ case "major":
64091
+ if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
64092
+ this.major++;
64093
+ }
64094
+ this.minor = 0;
64095
+ this.patch = 0;
64096
+ this.prerelease = [];
64097
+ break;
64098
+ case "minor":
64099
+ if (this.patch !== 0 || this.prerelease.length === 0) {
64100
+ this.minor++;
64101
+ }
64102
+ this.patch = 0;
64103
+ this.prerelease = [];
64104
+ break;
64105
+ case "patch":
64106
+ if (this.prerelease.length === 0) {
64107
+ this.patch++;
64108
+ }
64109
+ this.prerelease = [];
64110
+ break;
64111
+ case "pre":
64112
+ if (this.prerelease.length === 0) {
64113
+ this.prerelease = [0];
64114
+ } else {
64115
+ let i = this.prerelease.length;
64116
+ while (--i >= 0) {
64117
+ if (typeof this.prerelease[i] === "number") {
64118
+ this.prerelease[i]++;
64119
+ i = -2;
64120
+ }
64121
+ }
64122
+ if (i === -1) {
64123
+ this.prerelease.push(0);
64124
+ }
64125
+ }
64126
+ if (identifier) {
64127
+ if (this.prerelease[0] === identifier) {
64128
+ if (isNaN(this.prerelease[1])) {
64129
+ this.prerelease = [identifier, 0];
64130
+ }
64131
+ } else {
64132
+ this.prerelease = [identifier, 0];
64133
+ }
64134
+ }
64135
+ break;
64136
+ default:
64137
+ throw new Error(`invalid increment argument: ${release}`);
64138
+ }
64139
+ this.format();
64140
+ this.raw = this.version;
64141
+ return this;
64142
+ }
64143
+ };
64144
+ module2.exports = SemVer;
64145
+ }
64146
+ });
64147
+
64148
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/parse.js
64149
+ var require_parse4 = __commonJS({
64150
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/parse.js"(exports2, module2) {
64151
+ var { MAX_LENGTH } = require_constants6();
64152
+ var { re, t } = require_re2();
64153
+ var SemVer = require_semver6();
64154
+ var parseOptions = require_parse_options2();
64155
+ var parse3 = (version, options2) => {
64156
+ options2 = parseOptions(options2);
64157
+ if (version instanceof SemVer) {
64158
+ return version;
64159
+ }
64160
+ if (typeof version !== "string") {
64161
+ return null;
64162
+ }
64163
+ if (version.length > MAX_LENGTH) {
64164
+ return null;
64165
+ }
64166
+ const r = options2.loose ? re[t.LOOSE] : re[t.FULL];
64167
+ if (!r.test(version)) {
64168
+ return null;
64169
+ }
64170
+ try {
64171
+ return new SemVer(version, options2);
64172
+ } catch (er) {
64173
+ return null;
64174
+ }
64175
+ };
64176
+ module2.exports = parse3;
64177
+ }
64178
+ });
64179
+
64180
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/valid.js
64181
+ var require_valid3 = __commonJS({
64182
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/valid.js"(exports2, module2) {
64183
+ var parse3 = require_parse4();
64184
+ var valid = (version, options2) => {
64185
+ const v = parse3(version, options2);
64186
+ return v ? v.version : null;
64187
+ };
64188
+ module2.exports = valid;
64189
+ }
64190
+ });
64191
+
64192
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/clean.js
64193
+ var require_clean2 = __commonJS({
64194
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/clean.js"(exports2, module2) {
64195
+ var parse3 = require_parse4();
64196
+ var clean = (version, options2) => {
64197
+ const s = parse3(version.trim().replace(/^[=v]+/, ""), options2);
64198
+ return s ? s.version : null;
64199
+ };
64200
+ module2.exports = clean;
64201
+ }
64202
+ });
64203
+
64204
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/inc.js
64205
+ var require_inc2 = __commonJS({
64206
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/inc.js"(exports2, module2) {
64207
+ var SemVer = require_semver6();
64208
+ var inc = (version, release, options2, identifier) => {
64209
+ if (typeof options2 === "string") {
64210
+ identifier = options2;
64211
+ options2 = void 0;
64212
+ }
64213
+ try {
64214
+ return new SemVer(version, options2).inc(release, identifier).version;
64215
+ } catch (er) {
64216
+ return null;
64217
+ }
64218
+ };
64219
+ module2.exports = inc;
64220
+ }
64221
+ });
64222
+
64223
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/compare.js
64224
+ var require_compare2 = __commonJS({
64225
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/compare.js"(exports2, module2) {
64226
+ var SemVer = require_semver6();
64227
+ var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
64228
+ module2.exports = compare;
64229
+ }
64230
+ });
64231
+
64232
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/eq.js
64233
+ var require_eq3 = __commonJS({
64234
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/eq.js"(exports2, module2) {
64235
+ var compare = require_compare2();
64236
+ var eq = (a, b, loose) => compare(a, b, loose) === 0;
64237
+ module2.exports = eq;
64238
+ }
64239
+ });
64240
+
64241
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/diff.js
64242
+ var require_diff2 = __commonJS({
64243
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/diff.js"(exports2, module2) {
64244
+ var parse3 = require_parse4();
64245
+ var eq = require_eq3();
64246
+ var diff = (version1, version2) => {
64247
+ if (eq(version1, version2)) {
64248
+ return null;
64249
+ } else {
64250
+ const v1 = parse3(version1);
64251
+ const v22 = parse3(version2);
64252
+ const hasPre = v1.prerelease.length || v22.prerelease.length;
64253
+ const prefix = hasPre ? "pre" : "";
64254
+ const defaultResult = hasPre ? "prerelease" : "";
64255
+ for (const key in v1) {
64256
+ if (key === "major" || key === "minor" || key === "patch") {
64257
+ if (v1[key] !== v22[key]) {
64258
+ return prefix + key;
64259
+ }
64260
+ }
64261
+ }
64262
+ return defaultResult;
64263
+ }
64264
+ };
64265
+ module2.exports = diff;
64266
+ }
64267
+ });
64268
+
64269
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/major.js
64270
+ var require_major2 = __commonJS({
64271
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/major.js"(exports2, module2) {
64272
+ var SemVer = require_semver6();
64273
+ var major2 = (a, loose) => new SemVer(a, loose).major;
64274
+ module2.exports = major2;
64275
+ }
64276
+ });
64277
+
64278
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/minor.js
64279
+ var require_minor2 = __commonJS({
64280
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/minor.js"(exports2, module2) {
64281
+ var SemVer = require_semver6();
64282
+ var minor2 = (a, loose) => new SemVer(a, loose).minor;
64283
+ module2.exports = minor2;
64284
+ }
64285
+ });
64286
+
64287
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/patch.js
64288
+ var require_patch2 = __commonJS({
64289
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/patch.js"(exports2, module2) {
64290
+ var SemVer = require_semver6();
64291
+ var patch = (a, loose) => new SemVer(a, loose).patch;
64292
+ module2.exports = patch;
64293
+ }
64294
+ });
64295
+
64296
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/prerelease.js
64297
+ var require_prerelease2 = __commonJS({
64298
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/prerelease.js"(exports2, module2) {
64299
+ var parse3 = require_parse4();
64300
+ var prerelease = (version, options2) => {
64301
+ const parsed = parse3(version, options2);
64302
+ return parsed && parsed.prerelease.length ? parsed.prerelease : null;
64303
+ };
64304
+ module2.exports = prerelease;
64305
+ }
64306
+ });
64307
+
64308
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/rcompare.js
64309
+ var require_rcompare2 = __commonJS({
64310
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/rcompare.js"(exports2, module2) {
64311
+ var compare = require_compare2();
64312
+ var rcompare = (a, b, loose) => compare(b, a, loose);
64313
+ module2.exports = rcompare;
64314
+ }
64315
+ });
64316
+
64317
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/compare-loose.js
64318
+ var require_compare_loose2 = __commonJS({
64319
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/compare-loose.js"(exports2, module2) {
64320
+ var compare = require_compare2();
64321
+ var compareLoose = (a, b) => compare(a, b, true);
64322
+ module2.exports = compareLoose;
64323
+ }
64324
+ });
64325
+
64326
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/compare-build.js
64327
+ var require_compare_build2 = __commonJS({
64328
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/compare-build.js"(exports2, module2) {
64329
+ var SemVer = require_semver6();
64330
+ var compareBuild = (a, b, loose) => {
64331
+ const versionA = new SemVer(a, loose);
64332
+ const versionB = new SemVer(b, loose);
64333
+ return versionA.compare(versionB) || versionA.compareBuild(versionB);
64334
+ };
64335
+ module2.exports = compareBuild;
64336
+ }
64337
+ });
64338
+
64339
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/sort.js
64340
+ var require_sort2 = __commonJS({
64341
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/sort.js"(exports2, module2) {
64342
+ var compareBuild = require_compare_build2();
64343
+ var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
64344
+ module2.exports = sort;
64345
+ }
64346
+ });
64347
+
64348
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/rsort.js
64349
+ var require_rsort2 = __commonJS({
64350
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/rsort.js"(exports2, module2) {
64351
+ var compareBuild = require_compare_build2();
64352
+ var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
64353
+ module2.exports = rsort;
64354
+ }
64355
+ });
64356
+
64357
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/gt.js
64358
+ var require_gt2 = __commonJS({
64359
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/gt.js"(exports2, module2) {
64360
+ var compare = require_compare2();
64361
+ var gt2 = (a, b, loose) => compare(a, b, loose) > 0;
64362
+ module2.exports = gt2;
64363
+ }
64364
+ });
64365
+
64366
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/lt.js
64367
+ var require_lt2 = __commonJS({
64368
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/lt.js"(exports2, module2) {
64369
+ var compare = require_compare2();
64370
+ var lt = (a, b, loose) => compare(a, b, loose) < 0;
64371
+ module2.exports = lt;
64372
+ }
64373
+ });
64374
+
64375
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/neq.js
64376
+ var require_neq2 = __commonJS({
64377
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/neq.js"(exports2, module2) {
64378
+ var compare = require_compare2();
64379
+ var neq = (a, b, loose) => compare(a, b, loose) !== 0;
64380
+ module2.exports = neq;
64381
+ }
64382
+ });
64383
+
64384
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/gte.js
64385
+ var require_gte2 = __commonJS({
64386
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/gte.js"(exports2, module2) {
64387
+ var compare = require_compare2();
64388
+ var gte = (a, b, loose) => compare(a, b, loose) >= 0;
64389
+ module2.exports = gte;
64390
+ }
64391
+ });
64392
+
64393
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/lte.js
64394
+ var require_lte2 = __commonJS({
64395
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/lte.js"(exports2, module2) {
64396
+ var compare = require_compare2();
64397
+ var lte = (a, b, loose) => compare(a, b, loose) <= 0;
64398
+ module2.exports = lte;
64399
+ }
64400
+ });
64401
+
64402
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/cmp.js
64403
+ var require_cmp2 = __commonJS({
64404
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/cmp.js"(exports2, module2) {
64405
+ var eq = require_eq3();
64406
+ var neq = require_neq2();
64407
+ var gt2 = require_gt2();
64408
+ var gte = require_gte2();
64409
+ var lt = require_lt2();
64410
+ var lte = require_lte2();
64411
+ var cmp = (a, op, b, loose) => {
64412
+ switch (op) {
64413
+ case "===":
64414
+ if (typeof a === "object")
64415
+ a = a.version;
64416
+ if (typeof b === "object")
64417
+ b = b.version;
64418
+ return a === b;
64419
+ case "!==":
64420
+ if (typeof a === "object")
64421
+ a = a.version;
64422
+ if (typeof b === "object")
64423
+ b = b.version;
64424
+ return a !== b;
64425
+ case "":
64426
+ case "=":
64427
+ case "==":
64428
+ return eq(a, b, loose);
64429
+ case "!=":
64430
+ return neq(a, b, loose);
64431
+ case ">":
64432
+ return gt2(a, b, loose);
64433
+ case ">=":
64434
+ return gte(a, b, loose);
64435
+ case "<":
64436
+ return lt(a, b, loose);
64437
+ case "<=":
64438
+ return lte(a, b, loose);
64439
+ default:
64440
+ throw new TypeError(`Invalid operator: ${op}`);
64441
+ }
64442
+ };
64443
+ module2.exports = cmp;
64444
+ }
64445
+ });
64446
+
64447
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/coerce.js
64448
+ var require_coerce2 = __commonJS({
64449
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/coerce.js"(exports2, module2) {
64450
+ var SemVer = require_semver6();
64451
+ var parse3 = require_parse4();
64452
+ var { re, t } = require_re2();
64453
+ var coerce = (version, options2) => {
64454
+ if (version instanceof SemVer) {
64455
+ return version;
64456
+ }
64457
+ if (typeof version === "number") {
64458
+ version = String(version);
64459
+ }
64460
+ if (typeof version !== "string") {
64461
+ return null;
64462
+ }
64463
+ options2 = options2 || {};
64464
+ let match = null;
64465
+ if (!options2.rtl) {
64466
+ match = version.match(re[t.COERCE]);
64467
+ } else {
64468
+ let next;
64469
+ while ((next = re[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)) {
64470
+ if (!match || next.index + next[0].length !== match.index + match[0].length) {
64471
+ match = next;
64472
+ }
64473
+ re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
64474
+ }
64475
+ re[t.COERCERTL].lastIndex = -1;
64476
+ }
64477
+ if (match === null)
64478
+ return null;
64479
+ return parse3(`${match[2]}.${match[3] || "0"}.${match[4] || "0"}`, options2);
64480
+ };
64481
+ module2.exports = coerce;
64482
+ }
64483
+ });
64484
+
64485
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/classes/range.js
64486
+ var require_range2 = __commonJS({
64487
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/classes/range.js"(exports2, module2) {
64488
+ var Range = class {
64489
+ constructor(range, options2) {
64490
+ options2 = parseOptions(options2);
64491
+ if (range instanceof Range) {
64492
+ if (range.loose === !!options2.loose && range.includePrerelease === !!options2.includePrerelease) {
64493
+ return range;
64494
+ } else {
64495
+ return new Range(range.raw, options2);
64496
+ }
64497
+ }
64498
+ if (range instanceof Comparator) {
64499
+ this.raw = range.value;
64500
+ this.set = [[range]];
64501
+ this.format();
64502
+ return this;
64503
+ }
64504
+ this.options = options2;
64505
+ this.loose = !!options2.loose;
64506
+ this.includePrerelease = !!options2.includePrerelease;
64507
+ this.raw = range;
64508
+ this.set = range.split(/\s*\|\|\s*/).map((range2) => this.parseRange(range2.trim())).filter((c) => c.length);
64509
+ if (!this.set.length) {
64510
+ throw new TypeError(`Invalid SemVer Range: ${range}`);
64511
+ }
64512
+ if (this.set.length > 1) {
64513
+ const first = this.set[0];
64514
+ this.set = this.set.filter((c) => !isNullSet(c[0]));
64515
+ if (this.set.length === 0)
64516
+ this.set = [first];
64517
+ else if (this.set.length > 1) {
64518
+ for (const c of this.set) {
64519
+ if (c.length === 1 && isAny(c[0])) {
64520
+ this.set = [c];
64521
+ break;
64522
+ }
64523
+ }
64524
+ }
64525
+ }
64526
+ this.format();
64527
+ }
64528
+ format() {
64529
+ this.range = this.set.map((comps) => {
64530
+ return comps.join(" ").trim();
64531
+ }).join("||").trim();
64532
+ return this.range;
64533
+ }
64534
+ toString() {
64535
+ return this.range;
64536
+ }
64537
+ parseRange(range) {
64538
+ range = range.trim();
64539
+ const memoOpts = Object.keys(this.options).join(",");
64540
+ const memoKey = `parseRange:${memoOpts}:${range}`;
64541
+ const cached = cache.get(memoKey);
64542
+ if (cached)
64543
+ return cached;
64544
+ const loose = this.options.loose;
64545
+ const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
64546
+ range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
64547
+ debug("hyphen replace", range);
64548
+ range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
64549
+ debug("comparator trim", range, re[t.COMPARATORTRIM]);
64550
+ range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
64551
+ range = range.replace(re[t.CARETTRIM], caretTrimReplace);
64552
+ range = range.split(/\s+/).join(" ");
64553
+ const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
64554
+ const rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options)).filter(this.options.loose ? (comp) => !!comp.match(compRe) : () => true).map((comp) => new Comparator(comp, this.options));
64555
+ const l = rangeList.length;
64556
+ const rangeMap = /* @__PURE__ */ new Map();
64557
+ for (const comp of rangeList) {
64558
+ if (isNullSet(comp))
64559
+ return [comp];
64560
+ rangeMap.set(comp.value, comp);
64561
+ }
64562
+ if (rangeMap.size > 1 && rangeMap.has(""))
64563
+ rangeMap.delete("");
64564
+ const result2 = [...rangeMap.values()];
64565
+ cache.set(memoKey, result2);
64566
+ return result2;
64567
+ }
64568
+ intersects(range, options2) {
64569
+ if (!(range instanceof Range)) {
64570
+ throw new TypeError("a Range is required");
64571
+ }
64572
+ return this.set.some((thisComparators) => {
64573
+ return isSatisfiable(thisComparators, options2) && range.set.some((rangeComparators) => {
64574
+ return isSatisfiable(rangeComparators, options2) && thisComparators.every((thisComparator) => {
64575
+ return rangeComparators.every((rangeComparator) => {
64576
+ return thisComparator.intersects(rangeComparator, options2);
64577
+ });
64578
+ });
64579
+ });
64580
+ });
64581
+ }
64582
+ test(version) {
64583
+ if (!version) {
64584
+ return false;
64585
+ }
64586
+ if (typeof version === "string") {
64587
+ try {
64588
+ version = new SemVer(version, this.options);
64589
+ } catch (er) {
64590
+ return false;
64591
+ }
64592
+ }
64593
+ for (let i = 0; i < this.set.length; i++) {
64594
+ if (testSet(this.set[i], version, this.options)) {
64595
+ return true;
64596
+ }
64597
+ }
64598
+ return false;
64599
+ }
64600
+ };
64601
+ module2.exports = Range;
64602
+ var LRU = require_lru_cache();
64603
+ var cache = new LRU({ max: 1e3 });
64604
+ var parseOptions = require_parse_options2();
64605
+ var Comparator = require_comparator2();
64606
+ var debug = require_debug3();
64607
+ var SemVer = require_semver6();
64608
+ var {
64609
+ re,
64610
+ t,
64611
+ comparatorTrimReplace,
64612
+ tildeTrimReplace,
64613
+ caretTrimReplace
64614
+ } = require_re2();
64615
+ var isNullSet = (c) => c.value === "<0.0.0-0";
64616
+ var isAny = (c) => c.value === "";
64617
+ var isSatisfiable = (comparators, options2) => {
64618
+ let result2 = true;
64619
+ const remainingComparators = comparators.slice();
64620
+ let testComparator = remainingComparators.pop();
64621
+ while (result2 && remainingComparators.length) {
64622
+ result2 = remainingComparators.every((otherComparator) => {
64623
+ return testComparator.intersects(otherComparator, options2);
64624
+ });
64625
+ testComparator = remainingComparators.pop();
64626
+ }
64627
+ return result2;
64628
+ };
64629
+ var parseComparator = (comp, options2) => {
64630
+ debug("comp", comp, options2);
64631
+ comp = replaceCarets(comp, options2);
64632
+ debug("caret", comp);
64633
+ comp = replaceTildes(comp, options2);
64634
+ debug("tildes", comp);
64635
+ comp = replaceXRanges(comp, options2);
64636
+ debug("xrange", comp);
64637
+ comp = replaceStars(comp, options2);
64638
+ debug("stars", comp);
64639
+ return comp;
64640
+ };
64641
+ var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
64642
+ var replaceTildes = (comp, options2) => comp.trim().split(/\s+/).map((comp2) => {
64643
+ return replaceTilde(comp2, options2);
64644
+ }).join(" ");
64645
+ var replaceTilde = (comp, options2) => {
64646
+ const r = options2.loose ? re[t.TILDELOOSE] : re[t.TILDE];
64647
+ return comp.replace(r, (_45, M, m, p, pr) => {
64648
+ debug("tilde", comp, _45, M, m, p, pr);
64649
+ let ret;
64650
+ if (isX(M)) {
64651
+ ret = "";
64652
+ } else if (isX(m)) {
64653
+ ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
64654
+ } else if (isX(p)) {
64655
+ ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
64656
+ } else if (pr) {
64657
+ debug("replaceTilde pr", pr);
64658
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
64659
+ } else {
64660
+ ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
64661
+ }
64662
+ debug("tilde return", ret);
64663
+ return ret;
64664
+ });
64665
+ };
64666
+ var replaceCarets = (comp, options2) => comp.trim().split(/\s+/).map((comp2) => {
64667
+ return replaceCaret(comp2, options2);
64668
+ }).join(" ");
64669
+ var replaceCaret = (comp, options2) => {
64670
+ debug("caret", comp, options2);
64671
+ const r = options2.loose ? re[t.CARETLOOSE] : re[t.CARET];
64672
+ const z = options2.includePrerelease ? "-0" : "";
64673
+ return comp.replace(r, (_45, M, m, p, pr) => {
64674
+ debug("caret", comp, _45, M, m, p, pr);
64675
+ let ret;
64676
+ if (isX(M)) {
64677
+ ret = "";
64678
+ } else if (isX(m)) {
64679
+ ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
64680
+ } else if (isX(p)) {
64681
+ if (M === "0") {
64682
+ ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
64683
+ } else {
64684
+ ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
64685
+ }
64686
+ } else if (pr) {
64687
+ debug("replaceCaret pr", pr);
64688
+ if (M === "0") {
64689
+ if (m === "0") {
64690
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
64691
+ } else {
64692
+ ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
64693
+ }
64694
+ } else {
64695
+ ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
64696
+ }
64697
+ } else {
64698
+ debug("no pr");
64699
+ if (M === "0") {
64700
+ if (m === "0") {
64701
+ ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
64702
+ } else {
64703
+ ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
64704
+ }
64705
+ } else {
64706
+ ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
64707
+ }
64708
+ }
64709
+ debug("caret return", ret);
64710
+ return ret;
64711
+ });
64712
+ };
64713
+ var replaceXRanges = (comp, options2) => {
64714
+ debug("replaceXRanges", comp, options2);
64715
+ return comp.split(/\s+/).map((comp2) => {
64716
+ return replaceXRange(comp2, options2);
64717
+ }).join(" ");
64718
+ };
64719
+ var replaceXRange = (comp, options2) => {
64720
+ comp = comp.trim();
64721
+ const r = options2.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
64722
+ return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
64723
+ debug("xRange", comp, ret, gtlt, M, m, p, pr);
64724
+ const xM = isX(M);
64725
+ const xm = xM || isX(m);
64726
+ const xp = xm || isX(p);
64727
+ const anyX = xp;
64728
+ if (gtlt === "=" && anyX) {
64729
+ gtlt = "";
64730
+ }
64731
+ pr = options2.includePrerelease ? "-0" : "";
64732
+ if (xM) {
64733
+ if (gtlt === ">" || gtlt === "<") {
64734
+ ret = "<0.0.0-0";
64735
+ } else {
64736
+ ret = "*";
64737
+ }
64738
+ } else if (gtlt && anyX) {
64739
+ if (xm) {
64740
+ m = 0;
64741
+ }
64742
+ p = 0;
64743
+ if (gtlt === ">") {
64744
+ gtlt = ">=";
64745
+ if (xm) {
64746
+ M = +M + 1;
64747
+ m = 0;
64748
+ p = 0;
64749
+ } else {
64750
+ m = +m + 1;
64751
+ p = 0;
64752
+ }
64753
+ } else if (gtlt === "<=") {
64754
+ gtlt = "<";
64755
+ if (xm) {
64756
+ M = +M + 1;
64757
+ } else {
64758
+ m = +m + 1;
64759
+ }
64760
+ }
64761
+ if (gtlt === "<")
64762
+ pr = "-0";
64763
+ ret = `${gtlt + M}.${m}.${p}${pr}`;
64764
+ } else if (xm) {
64765
+ ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
64766
+ } else if (xp) {
64767
+ ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
64768
+ }
64769
+ debug("xRange return", ret);
64770
+ return ret;
64771
+ });
64772
+ };
64773
+ var replaceStars = (comp, options2) => {
64774
+ debug("replaceStars", comp, options2);
64775
+ return comp.trim().replace(re[t.STAR], "");
64776
+ };
64777
+ var replaceGTE0 = (comp, options2) => {
64778
+ debug("replaceGTE0", comp, options2);
64779
+ return comp.trim().replace(re[options2.includePrerelease ? t.GTE0PRE : t.GTE0], "");
64780
+ };
64781
+ var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
64782
+ if (isX(fM)) {
64783
+ from = "";
64784
+ } else if (isX(fm)) {
64785
+ from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
64786
+ } else if (isX(fp)) {
64787
+ from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
64788
+ } else if (fpr) {
64789
+ from = `>=${from}`;
64790
+ } else {
64791
+ from = `>=${from}${incPr ? "-0" : ""}`;
64792
+ }
64793
+ if (isX(tM)) {
64794
+ to = "";
64795
+ } else if (isX(tm)) {
64796
+ to = `<${+tM + 1}.0.0-0`;
64797
+ } else if (isX(tp)) {
64798
+ to = `<${tM}.${+tm + 1}.0-0`;
64799
+ } else if (tpr) {
64800
+ to = `<=${tM}.${tm}.${tp}-${tpr}`;
64801
+ } else if (incPr) {
64802
+ to = `<${tM}.${tm}.${+tp + 1}-0`;
64803
+ } else {
64804
+ to = `<=${to}`;
64805
+ }
64806
+ return `${from} ${to}`.trim();
64807
+ };
64808
+ var testSet = (set, version, options2) => {
64809
+ for (let i = 0; i < set.length; i++) {
64810
+ if (!set[i].test(version)) {
64811
+ return false;
64812
+ }
64813
+ }
64814
+ if (version.prerelease.length && !options2.includePrerelease) {
64815
+ for (let i = 0; i < set.length; i++) {
64816
+ debug(set[i].semver);
64817
+ if (set[i].semver === Comparator.ANY) {
64818
+ continue;
64819
+ }
64820
+ if (set[i].semver.prerelease.length > 0) {
64821
+ const allowed = set[i].semver;
64822
+ if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
64823
+ return true;
64824
+ }
64825
+ }
64826
+ }
64827
+ return false;
64828
+ }
64829
+ return true;
64830
+ };
64831
+ }
64832
+ });
64833
+
64834
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/classes/comparator.js
64835
+ var require_comparator2 = __commonJS({
64836
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/classes/comparator.js"(exports2, module2) {
64837
+ var ANY = Symbol("SemVer ANY");
64838
+ var Comparator = class {
64839
+ static get ANY() {
64840
+ return ANY;
64841
+ }
64842
+ constructor(comp, options2) {
64843
+ options2 = parseOptions(options2);
64844
+ if (comp instanceof Comparator) {
64845
+ if (comp.loose === !!options2.loose) {
64846
+ return comp;
64847
+ } else {
64848
+ comp = comp.value;
64849
+ }
64850
+ }
64851
+ debug("comparator", comp, options2);
64852
+ this.options = options2;
64853
+ this.loose = !!options2.loose;
64854
+ this.parse(comp);
64855
+ if (this.semver === ANY) {
64856
+ this.value = "";
64857
+ } else {
64858
+ this.value = this.operator + this.semver.version;
64859
+ }
64860
+ debug("comp", this);
64861
+ }
64862
+ parse(comp) {
64863
+ const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
64864
+ const m = comp.match(r);
64865
+ if (!m) {
64866
+ throw new TypeError(`Invalid comparator: ${comp}`);
64867
+ }
64868
+ this.operator = m[1] !== void 0 ? m[1] : "";
64869
+ if (this.operator === "=") {
64870
+ this.operator = "";
64871
+ }
64872
+ if (!m[2]) {
64873
+ this.semver = ANY;
64874
+ } else {
64875
+ this.semver = new SemVer(m[2], this.options.loose);
64876
+ }
64877
+ }
64878
+ toString() {
64879
+ return this.value;
64880
+ }
64881
+ test(version) {
64882
+ debug("Comparator.test", version, this.options.loose);
64883
+ if (this.semver === ANY || version === ANY) {
64884
+ return true;
64885
+ }
64886
+ if (typeof version === "string") {
64887
+ try {
64888
+ version = new SemVer(version, this.options);
64889
+ } catch (er) {
64890
+ return false;
64891
+ }
64892
+ }
64893
+ return cmp(version, this.operator, this.semver, this.options);
64894
+ }
64895
+ intersects(comp, options2) {
64896
+ if (!(comp instanceof Comparator)) {
64897
+ throw new TypeError("a Comparator is required");
64898
+ }
64899
+ if (!options2 || typeof options2 !== "object") {
64900
+ options2 = {
64901
+ loose: !!options2,
64902
+ includePrerelease: false
64903
+ };
64904
+ }
64905
+ if (this.operator === "") {
64906
+ if (this.value === "") {
64907
+ return true;
64908
+ }
64909
+ return new Range(comp.value, options2).test(this.value);
64910
+ } else if (comp.operator === "") {
64911
+ if (comp.value === "") {
64912
+ return true;
64913
+ }
64914
+ return new Range(this.value, options2).test(comp.semver);
64915
+ }
64916
+ const sameDirectionIncreasing = (this.operator === ">=" || this.operator === ">") && (comp.operator === ">=" || comp.operator === ">");
64917
+ const sameDirectionDecreasing = (this.operator === "<=" || this.operator === "<") && (comp.operator === "<=" || comp.operator === "<");
64918
+ const sameSemVer = this.semver.version === comp.semver.version;
64919
+ const differentDirectionsInclusive = (this.operator === ">=" || this.operator === "<=") && (comp.operator === ">=" || comp.operator === "<=");
64920
+ const oppositeDirectionsLessThan = cmp(this.semver, "<", comp.semver, options2) && (this.operator === ">=" || this.operator === ">") && (comp.operator === "<=" || comp.operator === "<");
64921
+ const oppositeDirectionsGreaterThan = cmp(this.semver, ">", comp.semver, options2) && (this.operator === "<=" || this.operator === "<") && (comp.operator === ">=" || comp.operator === ">");
64922
+ return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;
64923
+ }
64924
+ };
64925
+ module2.exports = Comparator;
64926
+ var parseOptions = require_parse_options2();
64927
+ var { re, t } = require_re2();
64928
+ var cmp = require_cmp2();
64929
+ var debug = require_debug3();
64930
+ var SemVer = require_semver6();
64931
+ var Range = require_range2();
64932
+ }
64933
+ });
64934
+
64935
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/functions/satisfies.js
64936
+ var require_satisfies2 = __commonJS({
64937
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/functions/satisfies.js"(exports2, module2) {
64938
+ var Range = require_range2();
64939
+ var satisfies = (version, range, options2) => {
64940
+ try {
64941
+ range = new Range(range, options2);
64942
+ } catch (er) {
64943
+ return false;
64944
+ }
64945
+ return range.test(version);
64946
+ };
64947
+ module2.exports = satisfies;
64948
+ }
64949
+ });
64950
+
64951
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/to-comparators.js
64952
+ var require_to_comparators2 = __commonJS({
64953
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
64954
+ var Range = require_range2();
64955
+ var toComparators = (range, options2) => new Range(range, options2).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
64956
+ module2.exports = toComparators;
64957
+ }
64958
+ });
64959
+
64960
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/max-satisfying.js
64961
+ var require_max_satisfying2 = __commonJS({
64962
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
64963
+ var SemVer = require_semver6();
64964
+ var Range = require_range2();
64965
+ var maxSatisfying2 = (versions, range, options2) => {
64966
+ let max = null;
64967
+ let maxSV = null;
64968
+ let rangeObj = null;
64969
+ try {
64970
+ rangeObj = new Range(range, options2);
64971
+ } catch (er) {
64972
+ return null;
64973
+ }
64974
+ versions.forEach((v) => {
64975
+ if (rangeObj.test(v)) {
64976
+ if (!max || maxSV.compare(v) === -1) {
64977
+ max = v;
64978
+ maxSV = new SemVer(max, options2);
64979
+ }
64980
+ }
64981
+ });
64982
+ return max;
64983
+ };
64984
+ module2.exports = maxSatisfying2;
64985
+ }
64986
+ });
64987
+
64988
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/min-satisfying.js
64989
+ var require_min_satisfying2 = __commonJS({
64990
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
64991
+ var SemVer = require_semver6();
64992
+ var Range = require_range2();
64993
+ var minSatisfying = (versions, range, options2) => {
64994
+ let min = null;
64995
+ let minSV = null;
64996
+ let rangeObj = null;
64997
+ try {
64998
+ rangeObj = new Range(range, options2);
64999
+ } catch (er) {
65000
+ return null;
65001
+ }
65002
+ versions.forEach((v) => {
65003
+ if (rangeObj.test(v)) {
65004
+ if (!min || minSV.compare(v) === 1) {
65005
+ min = v;
65006
+ minSV = new SemVer(min, options2);
65007
+ }
65008
+ }
65009
+ });
65010
+ return min;
65011
+ };
65012
+ module2.exports = minSatisfying;
65013
+ }
65014
+ });
65015
+
65016
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/min-version.js
65017
+ var require_min_version2 = __commonJS({
65018
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/min-version.js"(exports2, module2) {
65019
+ var SemVer = require_semver6();
65020
+ var Range = require_range2();
65021
+ var gt2 = require_gt2();
65022
+ var minVersion = (range, loose) => {
65023
+ range = new Range(range, loose);
65024
+ let minver = new SemVer("0.0.0");
65025
+ if (range.test(minver)) {
65026
+ return minver;
65027
+ }
65028
+ minver = new SemVer("0.0.0-0");
65029
+ if (range.test(minver)) {
65030
+ return minver;
65031
+ }
65032
+ minver = null;
65033
+ for (let i = 0; i < range.set.length; ++i) {
65034
+ const comparators = range.set[i];
65035
+ let setMin = null;
65036
+ comparators.forEach((comparator) => {
65037
+ const compver = new SemVer(comparator.semver.version);
65038
+ switch (comparator.operator) {
65039
+ case ">":
65040
+ if (compver.prerelease.length === 0) {
65041
+ compver.patch++;
65042
+ } else {
65043
+ compver.prerelease.push(0);
65044
+ }
65045
+ compver.raw = compver.format();
65046
+ case "":
65047
+ case ">=":
65048
+ if (!setMin || gt2(compver, setMin)) {
65049
+ setMin = compver;
65050
+ }
65051
+ break;
65052
+ case "<":
65053
+ case "<=":
65054
+ break;
65055
+ default:
65056
+ throw new Error(`Unexpected operation: ${comparator.operator}`);
65057
+ }
65058
+ });
65059
+ if (setMin && (!minver || gt2(minver, setMin)))
65060
+ minver = setMin;
65061
+ }
65062
+ if (minver && range.test(minver)) {
65063
+ return minver;
65064
+ }
65065
+ return null;
65066
+ };
65067
+ module2.exports = minVersion;
65068
+ }
65069
+ });
65070
+
65071
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/valid.js
65072
+ var require_valid4 = __commonJS({
65073
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/valid.js"(exports2, module2) {
65074
+ var Range = require_range2();
65075
+ var validRange = (range, options2) => {
65076
+ try {
65077
+ return new Range(range, options2).range || "*";
65078
+ } catch (er) {
65079
+ return null;
65080
+ }
65081
+ };
65082
+ module2.exports = validRange;
65083
+ }
65084
+ });
65085
+
65086
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/outside.js
65087
+ var require_outside2 = __commonJS({
65088
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/outside.js"(exports2, module2) {
65089
+ var SemVer = require_semver6();
65090
+ var Comparator = require_comparator2();
65091
+ var { ANY } = Comparator;
65092
+ var Range = require_range2();
65093
+ var satisfies = require_satisfies2();
65094
+ var gt2 = require_gt2();
65095
+ var lt = require_lt2();
65096
+ var lte = require_lte2();
65097
+ var gte = require_gte2();
65098
+ var outside = (version, range, hilo, options2) => {
65099
+ version = new SemVer(version, options2);
65100
+ range = new Range(range, options2);
65101
+ let gtfn, ltefn, ltfn, comp, ecomp;
65102
+ switch (hilo) {
65103
+ case ">":
65104
+ gtfn = gt2;
65105
+ ltefn = lte;
65106
+ ltfn = lt;
65107
+ comp = ">";
65108
+ ecomp = ">=";
65109
+ break;
65110
+ case "<":
65111
+ gtfn = lt;
65112
+ ltefn = gte;
65113
+ ltfn = gt2;
65114
+ comp = "<";
65115
+ ecomp = "<=";
65116
+ break;
65117
+ default:
65118
+ throw new TypeError('Must provide a hilo val of "<" or ">"');
65119
+ }
65120
+ if (satisfies(version, range, options2)) {
65121
+ return false;
65122
+ }
65123
+ for (let i = 0; i < range.set.length; ++i) {
65124
+ const comparators = range.set[i];
65125
+ let high = null;
65126
+ let low = null;
65127
+ comparators.forEach((comparator) => {
65128
+ if (comparator.semver === ANY) {
65129
+ comparator = new Comparator(">=0.0.0");
65130
+ }
65131
+ high = high || comparator;
65132
+ low = low || comparator;
65133
+ if (gtfn(comparator.semver, high.semver, options2)) {
65134
+ high = comparator;
65135
+ } else if (ltfn(comparator.semver, low.semver, options2)) {
65136
+ low = comparator;
65137
+ }
65138
+ });
65139
+ if (high.operator === comp || high.operator === ecomp) {
65140
+ return false;
65141
+ }
65142
+ if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
65143
+ return false;
65144
+ } else if (low.operator === ecomp && ltfn(version, low.semver)) {
65145
+ return false;
65146
+ }
65147
+ }
65148
+ return true;
65149
+ };
65150
+ module2.exports = outside;
65151
+ }
65152
+ });
65153
+
65154
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/gtr.js
65155
+ var require_gtr2 = __commonJS({
65156
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/gtr.js"(exports2, module2) {
65157
+ var outside = require_outside2();
65158
+ var gtr = (version, range, options2) => outside(version, range, ">", options2);
65159
+ module2.exports = gtr;
65160
+ }
65161
+ });
65162
+
65163
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/ltr.js
65164
+ var require_ltr2 = __commonJS({
65165
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/ltr.js"(exports2, module2) {
65166
+ var outside = require_outside2();
65167
+ var ltr = (version, range, options2) => outside(version, range, "<", options2);
65168
+ module2.exports = ltr;
65169
+ }
65170
+ });
65171
+
65172
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/intersects.js
65173
+ var require_intersects2 = __commonJS({
65174
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/intersects.js"(exports2, module2) {
65175
+ var Range = require_range2();
65176
+ var intersects = (r1, r2, options2) => {
65177
+ r1 = new Range(r1, options2);
65178
+ r2 = new Range(r2, options2);
65179
+ return r1.intersects(r2);
65180
+ };
65181
+ module2.exports = intersects;
65182
+ }
65183
+ });
65184
+
65185
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/simplify.js
65186
+ var require_simplify2 = __commonJS({
65187
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/simplify.js"(exports2, module2) {
65188
+ var satisfies = require_satisfies2();
65189
+ var compare = require_compare2();
65190
+ module2.exports = (versions, range, options2) => {
65191
+ const set = [];
65192
+ let min = null;
65193
+ let prev = null;
65194
+ const v = versions.sort((a, b) => compare(a, b, options2));
65195
+ for (const version of v) {
65196
+ const included = satisfies(version, range, options2);
65197
+ if (included) {
65198
+ prev = version;
65199
+ if (!min)
65200
+ min = version;
65201
+ } else {
65202
+ if (prev) {
65203
+ set.push([min, prev]);
65204
+ }
65205
+ prev = null;
65206
+ min = null;
65207
+ }
65208
+ }
65209
+ if (min)
65210
+ set.push([min, null]);
65211
+ const ranges = [];
65212
+ for (const [min2, max] of set) {
65213
+ if (min2 === max)
65214
+ ranges.push(min2);
65215
+ else if (!max && min2 === v[0])
65216
+ ranges.push("*");
65217
+ else if (!max)
65218
+ ranges.push(`>=${min2}`);
65219
+ else if (min2 === v[0])
65220
+ ranges.push(`<=${max}`);
65221
+ else
65222
+ ranges.push(`${min2} - ${max}`);
65223
+ }
65224
+ const simplified = ranges.join(" || ");
65225
+ const original = typeof range.raw === "string" ? range.raw : String(range);
65226
+ return simplified.length < original.length ? simplified : range;
65227
+ };
65228
+ }
65229
+ });
65230
+
65231
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/subset.js
65232
+ var require_subset2 = __commonJS({
65233
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/ranges/subset.js"(exports2, module2) {
65234
+ var Range = require_range2();
65235
+ var Comparator = require_comparator2();
65236
+ var { ANY } = Comparator;
65237
+ var satisfies = require_satisfies2();
65238
+ var compare = require_compare2();
65239
+ var subset = (sub, dom, options2 = {}) => {
65240
+ if (sub === dom)
65241
+ return true;
65242
+ sub = new Range(sub, options2);
65243
+ dom = new Range(dom, options2);
65244
+ let sawNonNull = false;
65245
+ OUTER:
65246
+ for (const simpleSub of sub.set) {
65247
+ for (const simpleDom of dom.set) {
65248
+ const isSub = simpleSubset(simpleSub, simpleDom, options2);
65249
+ sawNonNull = sawNonNull || isSub !== null;
65250
+ if (isSub)
65251
+ continue OUTER;
65252
+ }
65253
+ if (sawNonNull)
65254
+ return false;
65255
+ }
65256
+ return true;
65257
+ };
65258
+ var simpleSubset = (sub, dom, options2) => {
65259
+ if (sub === dom)
65260
+ return true;
65261
+ if (sub.length === 1 && sub[0].semver === ANY) {
65262
+ if (dom.length === 1 && dom[0].semver === ANY)
65263
+ return true;
65264
+ else if (options2.includePrerelease)
65265
+ sub = [new Comparator(">=0.0.0-0")];
65266
+ else
65267
+ sub = [new Comparator(">=0.0.0")];
65268
+ }
65269
+ if (dom.length === 1 && dom[0].semver === ANY) {
65270
+ if (options2.includePrerelease)
65271
+ return true;
65272
+ else
65273
+ dom = [new Comparator(">=0.0.0")];
65274
+ }
65275
+ const eqSet = /* @__PURE__ */ new Set();
65276
+ let gt2, lt;
65277
+ for (const c of sub) {
65278
+ if (c.operator === ">" || c.operator === ">=")
65279
+ gt2 = higherGT(gt2, c, options2);
65280
+ else if (c.operator === "<" || c.operator === "<=")
65281
+ lt = lowerLT(lt, c, options2);
65282
+ else
65283
+ eqSet.add(c.semver);
65284
+ }
65285
+ if (eqSet.size > 1)
65286
+ return null;
65287
+ let gtltComp;
65288
+ if (gt2 && lt) {
65289
+ gtltComp = compare(gt2.semver, lt.semver, options2);
65290
+ if (gtltComp > 0)
65291
+ return null;
65292
+ else if (gtltComp === 0 && (gt2.operator !== ">=" || lt.operator !== "<="))
65293
+ return null;
65294
+ }
65295
+ for (const eq of eqSet) {
65296
+ if (gt2 && !satisfies(eq, String(gt2), options2))
65297
+ return null;
65298
+ if (lt && !satisfies(eq, String(lt), options2))
65299
+ return null;
65300
+ for (const c of dom) {
65301
+ if (!satisfies(eq, String(c), options2))
65302
+ return false;
65303
+ }
65304
+ return true;
65305
+ }
65306
+ let higher, lower;
65307
+ let hasDomLT, hasDomGT;
65308
+ let needDomLTPre = lt && !options2.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
65309
+ let needDomGTPre = gt2 && !options2.includePrerelease && gt2.semver.prerelease.length ? gt2.semver : false;
65310
+ if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
65311
+ needDomLTPre = false;
65312
+ }
65313
+ for (const c of dom) {
65314
+ hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
65315
+ hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
65316
+ if (gt2) {
65317
+ if (needDomGTPre) {
65318
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
65319
+ needDomGTPre = false;
65320
+ }
65321
+ }
65322
+ if (c.operator === ">" || c.operator === ">=") {
65323
+ higher = higherGT(gt2, c, options2);
65324
+ if (higher === c && higher !== gt2)
65325
+ return false;
65326
+ } else if (gt2.operator === ">=" && !satisfies(gt2.semver, String(c), options2))
65327
+ return false;
65328
+ }
65329
+ if (lt) {
65330
+ if (needDomLTPre) {
65331
+ if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
65332
+ needDomLTPre = false;
65333
+ }
65334
+ }
65335
+ if (c.operator === "<" || c.operator === "<=") {
65336
+ lower = lowerLT(lt, c, options2);
65337
+ if (lower === c && lower !== lt)
65338
+ return false;
65339
+ } else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options2))
65340
+ return false;
65341
+ }
65342
+ if (!c.operator && (lt || gt2) && gtltComp !== 0)
65343
+ return false;
65344
+ }
65345
+ if (gt2 && hasDomLT && !lt && gtltComp !== 0)
65346
+ return false;
65347
+ if (lt && hasDomGT && !gt2 && gtltComp !== 0)
65348
+ return false;
65349
+ if (needDomGTPre || needDomLTPre)
65350
+ return false;
65351
+ return true;
65352
+ };
65353
+ var higherGT = (a, b, options2) => {
65354
+ if (!a)
65355
+ return b;
65356
+ const comp = compare(a.semver, b.semver, options2);
65357
+ return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
65358
+ };
65359
+ var lowerLT = (a, b, options2) => {
65360
+ if (!a)
65361
+ return b;
65362
+ const comp = compare(a.semver, b.semver, options2);
65363
+ return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
65364
+ };
65365
+ module2.exports = subset;
65366
+ }
65367
+ });
65368
+
65369
+ // ../../node_modules/@sap-ux/project-access/node_modules/semver/index.js
65370
+ var require_semver7 = __commonJS({
65371
+ "../../node_modules/@sap-ux/project-access/node_modules/semver/index.js"(exports2, module2) {
65372
+ var internalRe = require_re2();
65373
+ module2.exports = {
65374
+ re: internalRe.re,
65375
+ src: internalRe.src,
65376
+ tokens: internalRe.t,
65377
+ SEMVER_SPEC_VERSION: require_constants6().SEMVER_SPEC_VERSION,
65378
+ SemVer: require_semver6(),
65379
+ compareIdentifiers: require_identifiers2().compareIdentifiers,
65380
+ rcompareIdentifiers: require_identifiers2().rcompareIdentifiers,
65381
+ parse: require_parse4(),
65382
+ valid: require_valid3(),
65383
+ clean: require_clean2(),
65384
+ inc: require_inc2(),
65385
+ diff: require_diff2(),
65386
+ major: require_major2(),
65387
+ minor: require_minor2(),
65388
+ patch: require_patch2(),
65389
+ prerelease: require_prerelease2(),
65390
+ compare: require_compare2(),
65391
+ rcompare: require_rcompare2(),
65392
+ compareLoose: require_compare_loose2(),
65393
+ compareBuild: require_compare_build2(),
65394
+ sort: require_sort2(),
65395
+ rsort: require_rsort2(),
65396
+ gt: require_gt2(),
65397
+ lt: require_lt2(),
65398
+ eq: require_eq3(),
65399
+ neq: require_neq2(),
65400
+ gte: require_gte2(),
65401
+ lte: require_lte2(),
65402
+ cmp: require_cmp2(),
65403
+ coerce: require_coerce2(),
65404
+ Comparator: require_comparator2(),
65405
+ Range: require_range2(),
65406
+ satisfies: require_satisfies2(),
65407
+ toComparators: require_to_comparators2(),
65408
+ maxSatisfying: require_max_satisfying2(),
65409
+ minSatisfying: require_min_satisfying2(),
65410
+ minVersion: require_min_version2(),
65411
+ validRange: require_valid4(),
65412
+ outside: require_outside2(),
65413
+ gtr: require_gtr2(),
65414
+ ltr: require_ltr2(),
65415
+ intersects: require_intersects2(),
65416
+ simplifyRange: require_simplify2(),
65417
+ subset: require_subset2()
65418
+ };
65419
+ }
65420
+ });
65421
+
65422
+ // ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/utils.js
65423
+ var require_utils10 = __commonJS({
65424
+ "../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/utils.js"(exports2) {
65425
+ "use strict";
65426
+ var __importDefault = exports2 && exports2.__importDefault || function(mod) {
65427
+ return mod && mod.__esModule ? mod : { "default": mod };
65428
+ };
65429
+ Object.defineProperty(exports2, "__esModule", { value: true });
65430
+ exports2.getTypesVersion = exports2.getEsmTypesVersion = exports2.mergeObjects = void 0;
65431
+ var mergeWith_1 = __importDefault(require_mergeWith());
65432
+ var semver_1 = __importDefault(require_semver7());
65433
+ function mergeObjects(base, extension2) {
65434
+ return (0, mergeWith_1.default)({}, base, extension2, (objValue, srcValue) => {
65435
+ if (objValue instanceof Array && srcValue instanceof Array) {
65436
+ return [.../* @__PURE__ */ new Set([...objValue, ...srcValue])];
65437
+ } else {
65438
+ return void 0;
65439
+ }
65440
+ });
65441
+ }
65442
+ exports2.mergeObjects = mergeObjects;
65443
+ function getEsmTypesVersion(minUI5Version) {
65444
+ const version = semver_1.default.coerce(minUI5Version);
65445
+ if (!version || semver_1.default.gte(version, "1.102.0")) {
65446
+ return `~${"1.108.0"}`;
65447
+ } else {
65448
+ return semver_1.default.gte(version, "1.94.0") ? `~${semver_1.default.major(version)}.${semver_1.default.minor(version)}.0` : `~${"1.94.0"}`;
65449
+ }
65450
+ }
65451
+ exports2.getEsmTypesVersion = getEsmTypesVersion;
65452
+ function getTypesVersion(minUI5Version) {
65453
+ const version = semver_1.default.coerce(minUI5Version);
65454
+ if (!version) {
65455
+ return `~${"1.108.0"}`;
65456
+ } else if (semver_1.default.gte(version, "1.108.0")) {
65457
+ return `~${"1.108.0"}`;
65458
+ } else {
65459
+ return semver_1.default.gte(version, "1.76.0") ? `~${semver_1.default.major(version)}.${semver_1.default.minor(version)}.${semver_1.default.patch(version)}` : "1.71.15";
65460
+ }
65461
+ }
65462
+ exports2.getTypesVersion = getTypesVersion;
65463
+ }
65464
+ });
65465
+
65466
+ // ../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/index.js
65467
+ var require_dist10 = __commonJS({
65468
+ "../../node_modules/@sap-ux/project-access/node_modules/@sap-ux/ui5-config/dist/index.js"(exports2) {
65469
+ "use strict";
65470
+ Object.defineProperty(exports2, "__esModule", { value: true });
65471
+ exports2.YAMLError = exports2.yamlErrorCode = exports2.getTypesVersion = exports2.getEsmTypesVersion = exports2.mergeObjects = exports2.UI5Config = void 0;
65472
+ var ui5config_1 = require_ui5config();
65473
+ Object.defineProperty(exports2, "UI5Config", { enumerable: true, get: function() {
65474
+ return ui5config_1.UI5Config;
65475
+ } });
65476
+ var utils_1 = require_utils10();
65477
+ Object.defineProperty(exports2, "mergeObjects", { enumerable: true, get: function() {
65478
+ return utils_1.mergeObjects;
65479
+ } });
65480
+ Object.defineProperty(exports2, "getEsmTypesVersion", { enumerable: true, get: function() {
65481
+ return utils_1.getEsmTypesVersion;
65482
+ } });
65483
+ Object.defineProperty(exports2, "getTypesVersion", { enumerable: true, get: function() {
65484
+ return utils_1.getTypesVersion;
65485
+ } });
65486
+ var yaml_1 = require_dist9();
65487
+ Object.defineProperty(exports2, "yamlErrorCode", { enumerable: true, get: function() {
65488
+ return yaml_1.errorCode;
65489
+ } });
65490
+ Object.defineProperty(exports2, "YAMLError", { enumerable: true, get: function() {
65491
+ return yaml_1.YAMLError;
65492
+ } });
65493
+ }
65494
+ });
65495
+
65496
+ // ../../node_modules/@sap-ux/project-access/dist/project/ui5-config.js
65497
+ var require_ui5_config = __commonJS({
65498
+ "../../node_modules/@sap-ux/project-access/dist/project/ui5-config.js"(exports2) {
65499
+ "use strict";
65500
+ var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
65501
+ function adopt(value) {
65502
+ return value instanceof P ? value : new P(function(resolve) {
65503
+ resolve(value);
65504
+ });
65505
+ }
65506
+ return new (P || (P = Promise))(function(resolve, reject) {
65507
+ function fulfilled(value) {
65508
+ try {
65509
+ step(generator.next(value));
65510
+ } catch (e) {
65511
+ reject(e);
65512
+ }
65513
+ }
65514
+ function rejected(value) {
65515
+ try {
64080
65516
  step(generator["throw"](value));
64081
65517
  } catch (e) {
64082
65518
  reject(e);
@@ -64089,36 +65525,175 @@ var require_search = __commonJS({
64089
65525
  });
64090
65526
  };
64091
65527
  Object.defineProperty(exports2, "__esModule", { value: true });
64092
- exports2.findAllApps = exports2.getAppRootFromWebappPath = exports2.findProjectRoot = void 0;
65528
+ exports2.readUi5Yaml = exports2.getWebappPath = void 0;
64093
65529
  var path_1 = require("path");
65530
+ var ui5_config_1 = require_dist10();
64094
65531
  var constants_1 = require_constants5();
64095
65532
  var file_1 = require_file4();
64096
- var dependencies_1 = require_dependencies();
64097
- var cap_1 = require_cap();
64098
- var ui5_config_1 = require_ui5_config();
64099
- function isWorkspaceFolder(value) {
64100
- return value && value.length > 0 && value[0].uri !== void 0;
65533
+ function getWebappPath(projectRoot, memFs) {
65534
+ var _a2, _b;
65535
+ return __awaiter(this, void 0, void 0, function* () {
65536
+ let webappPath = (0, path_1.join)(projectRoot, "webapp");
65537
+ const ui5YamlPath = (0, path_1.join)(projectRoot, constants_1.FileName.Ui5Yaml);
65538
+ if (yield (0, file_1.fileExists)(ui5YamlPath, memFs)) {
65539
+ const yamlString = yield (0, file_1.readFile)(ui5YamlPath, memFs);
65540
+ const ui5Config = yield ui5_config_1.UI5Config.newInstance(yamlString);
65541
+ const relativeWebappPath = (_b = (_a2 = ui5Config.getConfiguration()) === null || _a2 === void 0 ? void 0 : _a2.paths) === null || _b === void 0 ? void 0 : _b.webapp;
65542
+ if (relativeWebappPath) {
65543
+ webappPath = (0, path_1.join)(projectRoot, relativeWebappPath);
65544
+ }
65545
+ }
65546
+ return webappPath;
65547
+ });
64101
65548
  }
64102
- function findAllManifest(wsFolders) {
65549
+ exports2.getWebappPath = getWebappPath;
65550
+ function readUi5Yaml(basePath, fileName) {
64103
65551
  return __awaiter(this, void 0, void 0, function* () {
64104
- let wsRoots;
64105
- if (wsFolders && isWorkspaceFolder(wsFolders)) {
64106
- wsRoots = [];
64107
- wsFolders.filter((each) => each.uri.scheme === "file").forEach((folder) => {
64108
- wsRoots.push(folder.uri.fsPath);
64109
- });
64110
- } else {
64111
- wsRoots = wsFolders || [];
65552
+ const ui5YamlPath = (0, path_1.join)(basePath, fileName);
65553
+ if (yield (0, file_1.fileExists)(ui5YamlPath)) {
65554
+ const yamlString = yield (0, file_1.readFile)(ui5YamlPath);
65555
+ return yield ui5_config_1.UI5Config.newInstance(yamlString);
64112
65556
  }
64113
- const manifests = [];
64114
- for (const root of wsRoots) {
65557
+ throw Error(`File '${fileName}' not found in project '${basePath}'`);
65558
+ });
65559
+ }
65560
+ exports2.readUi5Yaml = readUi5Yaml;
65561
+ }
65562
+ });
65563
+
65564
+ // ../../node_modules/@sap-ux/project-access/dist/project/info.js
65565
+ var require_info = __commonJS({
65566
+ "../../node_modules/@sap-ux/project-access/dist/project/info.js"(exports2) {
65567
+ "use strict";
65568
+ var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
65569
+ function adopt(value) {
65570
+ return value instanceof P ? value : new P(function(resolve) {
65571
+ resolve(value);
65572
+ });
65573
+ }
65574
+ return new (P || (P = Promise))(function(resolve, reject) {
65575
+ function fulfilled(value) {
64115
65576
  try {
64116
- manifests.push(...yield (0, file_1.findFiles)(constants_1.FileName.Manifest, root, [".git", "node_modules", "dist"]));
64117
- } catch (_a2) {
65577
+ step(generator.next(value));
65578
+ } catch (e) {
65579
+ reject(e);
65580
+ }
65581
+ }
65582
+ function rejected(value) {
65583
+ try {
65584
+ step(generator["throw"](value));
65585
+ } catch (e) {
65586
+ reject(e);
65587
+ }
65588
+ }
65589
+ function step(result2) {
65590
+ result2.done ? resolve(result2.value) : adopt(result2.value).then(fulfilled, rejected);
65591
+ }
65592
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
65593
+ });
65594
+ };
65595
+ Object.defineProperty(exports2, "__esModule", { value: true });
65596
+ exports2.getAppProgrammingLanguage = void 0;
65597
+ var path_1 = require("path");
65598
+ var constants_1 = require_constants5();
65599
+ var file_1 = require_file4();
65600
+ var ui5_config_1 = require_ui5_config();
65601
+ function getAppProgrammingLanguage(appRoot, memFs) {
65602
+ return __awaiter(this, void 0, void 0, function* () {
65603
+ const ignoreFolders = ["node_modules", ".git"];
65604
+ let appLanguage = "";
65605
+ try {
65606
+ const webappPath = yield (0, ui5_config_1.getWebappPath)(appRoot, memFs);
65607
+ if (yield (0, file_1.fileExists)(webappPath, memFs)) {
65608
+ if ((yield (0, file_1.fileExists)((0, path_1.join)(appRoot, constants_1.FileName.Tsconfig), memFs)) && (yield (0, file_1.findFilesByExtension)(".ts", webappPath, ignoreFolders, memFs)).length > 0) {
65609
+ appLanguage = "TypeScript";
65610
+ } else if ((yield (0, file_1.findFilesByExtension)(".js", webappPath, ignoreFolders, memFs)).length > 0) {
65611
+ appLanguage = "JavaScript";
65612
+ }
65613
+ }
65614
+ } catch (_a2) {
65615
+ }
65616
+ return appLanguage;
65617
+ });
65618
+ }
65619
+ exports2.getAppProgrammingLanguage = getAppProgrammingLanguage;
65620
+ }
65621
+ });
65622
+
65623
+ // ../../node_modules/@sap-ux/project-access/dist/project/dependencies.js
65624
+ var require_dependencies = __commonJS({
65625
+ "../../node_modules/@sap-ux/project-access/dist/project/dependencies.js"(exports2) {
65626
+ "use strict";
65627
+ Object.defineProperty(exports2, "__esModule", { value: true });
65628
+ exports2.hasDependency = void 0;
65629
+ var hasDependency = (packageJson, dependency) => {
65630
+ var _a2, _b;
65631
+ return !!(((_a2 = packageJson.dependencies) === null || _a2 === void 0 ? void 0 : _a2[dependency]) || ((_b = packageJson.devDependencies) === null || _b === void 0 ? void 0 : _b[dependency]));
65632
+ };
65633
+ exports2.hasDependency = hasDependency;
65634
+ }
65635
+ });
65636
+
65637
+ // ../../node_modules/@sap-ux/project-access/dist/project/search.js
65638
+ var require_search = __commonJS({
65639
+ "../../node_modules/@sap-ux/project-access/dist/project/search.js"(exports2) {
65640
+ "use strict";
65641
+ var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
65642
+ function adopt(value) {
65643
+ return value instanceof P ? value : new P(function(resolve) {
65644
+ resolve(value);
65645
+ });
65646
+ }
65647
+ return new (P || (P = Promise))(function(resolve, reject) {
65648
+ function fulfilled(value) {
65649
+ try {
65650
+ step(generator.next(value));
65651
+ } catch (e) {
65652
+ reject(e);
65653
+ }
65654
+ }
65655
+ function rejected(value) {
65656
+ try {
65657
+ step(generator["throw"](value));
65658
+ } catch (e) {
65659
+ reject(e);
64118
65660
  }
64119
65661
  }
64120
- return manifests;
65662
+ function step(result2) {
65663
+ result2.done ? resolve(result2.value) : adopt(result2.value).then(fulfilled, rejected);
65664
+ }
65665
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
64121
65666
  });
65667
+ };
65668
+ Object.defineProperty(exports2, "__esModule", { value: true });
65669
+ exports2.findFioriArtifacts = exports2.findAllApps = exports2.getAppRootFromWebappPath = exports2.findProjectRoot = void 0;
65670
+ var path_1 = require("path");
65671
+ var constants_1 = require_constants5();
65672
+ var file_1 = require_file4();
65673
+ var dependencies_1 = require_dependencies();
65674
+ var cap_1 = require_cap();
65675
+ var ui5_config_1 = require_ui5_config();
65676
+ var filterFileMap = {
65677
+ applications: constants_1.FileName.Manifest,
65678
+ adaptations: constants_1.FileName.ManifestAppDescrVar,
65679
+ extensions: constants_1.FileName.ExtConfigJson,
65680
+ libraries: constants_1.FileName.Manifest
65681
+ };
65682
+ var excludeFolders = [".git", "node_modules", "dist"];
65683
+ function isWorkspaceFolder(value) {
65684
+ return value && value.length > 0 && value[0].uri !== void 0;
65685
+ }
65686
+ function wsFoldersToRootPaths(wsFolders) {
65687
+ let wsRoots;
65688
+ if (wsFolders && isWorkspaceFolder(wsFolders)) {
65689
+ wsRoots = [];
65690
+ wsFolders.filter((each) => each.uri.scheme === "file").forEach((folder) => {
65691
+ wsRoots.push(folder.uri.fsPath);
65692
+ });
65693
+ } else {
65694
+ wsRoots = wsFolders || [];
65695
+ }
65696
+ return wsRoots;
64122
65697
  }
64123
65698
  function findProjectRoot(path, sapuxRequired = true, silent = false) {
64124
65699
  return __awaiter(this, void 0, void 0, function* () {
@@ -64216,26 +65791,144 @@ var require_search = __commonJS({
64216
65791
  });
64217
65792
  }
64218
65793
  function findAllApps(wsFolders) {
65794
+ var _a2;
65795
+ return __awaiter(this, void 0, void 0, function* () {
65796
+ const findResults = yield findFioriArtifacts({ wsFolders, artifacts: ["applications"] });
65797
+ return (_a2 = findResults.applications) !== null && _a2 !== void 0 ? _a2 : [];
65798
+ });
65799
+ }
65800
+ exports2.findAllApps = findAllApps;
65801
+ function filterApplications(pathMap) {
65802
+ var _a2;
64219
65803
  return __awaiter(this, void 0, void 0, function* () {
64220
65804
  const result2 = [];
64221
- const manifestPaths = yield findAllManifest(wsFolders);
65805
+ const manifestPaths = Object.keys(pathMap).filter((path) => (0, path_1.basename)(path) === constants_1.FileName.Manifest);
64222
65806
  for (const manifestPath of manifestPaths) {
64223
65807
  try {
64224
- const manifest = yield (0, file_1.readJSON)((0, path_1.join)(manifestPath, constants_1.FileName.Manifest));
65808
+ (_a2 = pathMap[manifestPath]) !== null && _a2 !== void 0 ? _a2 : pathMap[manifestPath] = yield (0, file_1.readJSON)(manifestPath);
65809
+ const manifest = pathMap[manifestPath];
64225
65810
  if (!manifest["sap.app"] || !manifest["sap.app"].id || manifest["sap.app"].type !== "application") {
64226
65811
  continue;
64227
65812
  }
64228
65813
  const roots = yield findRootsForPath(manifestPath);
64229
- if (roots) {
65814
+ if (roots && !(yield (0, file_1.fileExists)((0, path_1.join)(roots.appRoot, ".adp", constants_1.FileName.AdaptationConfig)))) {
64230
65815
  result2.push({ appRoot: roots.appRoot, projectRoot: roots.projectRoot, manifest, manifestPath });
64231
65816
  }
64232
- } catch (_a2) {
65817
+ } catch (_b) {
64233
65818
  }
64234
65819
  }
64235
65820
  return result2;
64236
65821
  });
64237
65822
  }
64238
- exports2.findAllApps = findAllApps;
65823
+ function filterAdaptations(pathMap) {
65824
+ return __awaiter(this, void 0, void 0, function* () {
65825
+ const results = [];
65826
+ const manifestAppDescrVars = Object.keys(pathMap).filter((path) => path.endsWith(constants_1.FileName.ManifestAppDescrVar));
65827
+ for (const manifestAppDescrVar of manifestAppDescrVars) {
65828
+ const adpPath = yield (0, file_1.findFileUp)(".adp", (0, path_1.dirname)(manifestAppDescrVar));
65829
+ if (adpPath && (yield (0, file_1.fileExists)((0, path_1.join)(adpPath, constants_1.FileName.AdaptationConfig)))) {
65830
+ results.push({ appRoot: (0, path_1.dirname)(adpPath), manifestAppdescrVariantPath: manifestAppDescrVar });
65831
+ }
65832
+ }
65833
+ return results;
65834
+ });
65835
+ }
65836
+ function filterExtensions(pathMap) {
65837
+ var _a2;
65838
+ return __awaiter(this, void 0, void 0, function* () {
65839
+ const results = [];
65840
+ const extensionConfigs = Object.keys(pathMap).filter((path) => (0, path_1.basename)(path) === constants_1.FileName.ExtConfigJson);
65841
+ for (const extensionConfig of extensionConfigs) {
65842
+ try {
65843
+ let manifest = null;
65844
+ let manifestPath = Object.keys(pathMap).find((path) => path.startsWith((0, path_1.dirname)(extensionConfig) + path_1.sep) && (0, path_1.basename)(path) === constants_1.FileName.Manifest);
65845
+ if (manifestPath) {
65846
+ (_a2 = pathMap[manifestPath]) !== null && _a2 !== void 0 ? _a2 : pathMap[manifestPath] = yield (0, file_1.readJSON)(manifestPath);
65847
+ manifest = pathMap[manifestPath];
65848
+ } else {
65849
+ const manifests = yield (0, file_1.findBy)({
65850
+ fileNames: [constants_1.FileName.Manifest],
65851
+ root: (0, path_1.dirname)(extensionConfig),
65852
+ excludeFolders
65853
+ });
65854
+ if (manifests.length === 1) {
65855
+ [manifestPath] = manifests;
65856
+ manifest = yield (0, file_1.readJSON)(manifestPath);
65857
+ }
65858
+ }
65859
+ if (manifestPath && manifest) {
65860
+ results.push({ appRoot: (0, path_1.dirname)(extensionConfig), manifest, manifestPath });
65861
+ }
65862
+ } catch (_b) {
65863
+ }
65864
+ }
65865
+ return results;
65866
+ });
65867
+ }
65868
+ function filterLibraries(pathMap) {
65869
+ var _a2;
65870
+ return __awaiter(this, void 0, void 0, function* () {
65871
+ const results = [];
65872
+ const manifestPaths = Object.keys(pathMap).filter((path) => (0, path_1.basename)(path) === constants_1.FileName.Manifest);
65873
+ for (const manifestPath of manifestPaths) {
65874
+ try {
65875
+ (_a2 = pathMap[manifestPath]) !== null && _a2 !== void 0 ? _a2 : pathMap[manifestPath] = yield (0, file_1.readJSON)(manifestPath);
65876
+ const manifest = pathMap[manifestPath];
65877
+ if (manifest["sap.app"] && manifest["sap.app"].type === "library") {
65878
+ const packageJsonPath = yield (0, file_1.findFileUp)(constants_1.FileName.Package, (0, path_1.dirname)(manifestPath));
65879
+ const projectRoot = packageJsonPath ? (0, path_1.dirname)(packageJsonPath) : null;
65880
+ if (projectRoot && (yield (0, file_1.fileExists)((0, path_1.join)(projectRoot, constants_1.FileName.Ui5Yaml)))) {
65881
+ results.push({ projectRoot, manifestPath, manifest });
65882
+ }
65883
+ }
65884
+ } catch (_b) {
65885
+ }
65886
+ }
65887
+ return results;
65888
+ });
65889
+ }
65890
+ function getFilterFileNames(artifacts) {
65891
+ const uniqueFilterFiles = /* @__PURE__ */ new Set();
65892
+ for (const artifact of artifacts) {
65893
+ if (filterFileMap[artifact]) {
65894
+ uniqueFilterFiles.add(filterFileMap[artifact]);
65895
+ }
65896
+ }
65897
+ return Array.from(uniqueFilterFiles);
65898
+ }
65899
+ function findFioriArtifacts(options2) {
65900
+ return __awaiter(this, void 0, void 0, function* () {
65901
+ const results = {};
65902
+ const fileNames = getFilterFileNames(options2.artifacts);
65903
+ const wsRoots = wsFoldersToRootPaths(options2.wsFolders);
65904
+ const pathMap = {};
65905
+ for (const root of wsRoots) {
65906
+ try {
65907
+ const foundFiles = yield (0, file_1.findBy)({
65908
+ fileNames,
65909
+ root,
65910
+ excludeFolders
65911
+ });
65912
+ foundFiles.forEach((path) => pathMap[path] = null);
65913
+ } catch (_a2) {
65914
+ }
65915
+ }
65916
+ if (options2.artifacts.includes("applications")) {
65917
+ results.applications = yield filterApplications(pathMap);
65918
+ }
65919
+ if (options2.artifacts.includes("adaptations")) {
65920
+ results.adaptations = yield filterAdaptations(pathMap);
65921
+ }
65922
+ if (options2.artifacts.includes("extensions")) {
65923
+ results.extensions = yield filterExtensions(pathMap);
65924
+ }
65925
+ if (options2.artifacts.includes("libraries")) {
65926
+ results.libraries = yield filterLibraries(pathMap);
65927
+ }
65928
+ return results;
65929
+ });
65930
+ }
65931
+ exports2.findFioriArtifacts = findFioriArtifacts;
64239
65932
  }
64240
65933
  });
64241
65934
 
@@ -64244,7 +65937,7 @@ var require_project2 = __commonJS({
64244
65937
  "../../node_modules/@sap-ux/project-access/dist/project/index.js"(exports2) {
64245
65938
  "use strict";
64246
65939
  Object.defineProperty(exports2, "__esModule", { value: true });
64247
- exports2.readUi5Yaml = exports2.getWebappPath = exports2.getAppRootFromWebappPath = exports2.findProjectRoot = exports2.findAllApps = exports2.loadModuleFromProject = exports2.getAppProgrammingLanguage = exports2.isCapNodeJsProject = exports2.isCapJavaProject = exports2.getCapProjectType = exports2.getCapModelAndServices = void 0;
65940
+ exports2.readUi5Yaml = exports2.getWebappPath = exports2.getAppRootFromWebappPath = exports2.findProjectRoot = exports2.findFioriArtifacts = exports2.findAllApps = exports2.loadModuleFromProject = exports2.getAppProgrammingLanguage = exports2.getCapEnvironment = exports2.isCapNodeJsProject = exports2.isCapJavaProject = exports2.getCapProjectType = exports2.getCapModelAndServices = void 0;
64248
65941
  var cap_1 = require_cap();
64249
65942
  Object.defineProperty(exports2, "getCapModelAndServices", { enumerable: true, get: function() {
64250
65943
  return cap_1.getCapModelAndServices;
@@ -64258,6 +65951,9 @@ var require_project2 = __commonJS({
64258
65951
  Object.defineProperty(exports2, "isCapNodeJsProject", { enumerable: true, get: function() {
64259
65952
  return cap_1.isCapNodeJsProject;
64260
65953
  } });
65954
+ Object.defineProperty(exports2, "getCapEnvironment", { enumerable: true, get: function() {
65955
+ return cap_1.getCapEnvironment;
65956
+ } });
64261
65957
  var info_1 = require_info();
64262
65958
  Object.defineProperty(exports2, "getAppProgrammingLanguage", { enumerable: true, get: function() {
64263
65959
  return info_1.getAppProgrammingLanguage;
@@ -64270,6 +65966,9 @@ var require_project2 = __commonJS({
64270
65966
  Object.defineProperty(exports2, "findAllApps", { enumerable: true, get: function() {
64271
65967
  return search_1.findAllApps;
64272
65968
  } });
65969
+ Object.defineProperty(exports2, "findFioriArtifacts", { enumerable: true, get: function() {
65970
+ return search_1.findFioriArtifacts;
65971
+ } });
64273
65972
  Object.defineProperty(exports2, "findProjectRoot", { enumerable: true, get: function() {
64274
65973
  return search_1.findProjectRoot;
64275
65974
  } });
@@ -64311,7 +66010,7 @@ var require_info2 = __commonJS({
64311
66010
  });
64312
66011
 
64313
66012
  // ../../node_modules/@sap-ux/project-access/dist/types/package/index.js
64314
- var require_package8 = __commonJS({
66013
+ var require_package7 = __commonJS({
64315
66014
  "../../node_modules/@sap-ux/project-access/dist/types/package/index.js"(exports2) {
64316
66015
  "use strict";
64317
66016
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -64335,7 +66034,7 @@ var require_webapp3 = __commonJS({
64335
66034
  });
64336
66035
 
64337
66036
  // ../../node_modules/@sap-ux/project-access/dist/types/index.js
64338
- var require_types6 = __commonJS({
66037
+ var require_types7 = __commonJS({
64339
66038
  "../../node_modules/@sap-ux/project-access/dist/types/index.js"(exports2) {
64340
66039
  "use strict";
64341
66040
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -64362,7 +66061,7 @@ var require_types6 = __commonJS({
64362
66061
  __exportStar(require_cap2(), exports2);
64363
66062
  __exportStar(require_find(), exports2);
64364
66063
  __exportStar(require_info2(), exports2);
64365
- __exportStar(require_package8(), exports2);
66064
+ __exportStar(require_package7(), exports2);
64366
66065
  __exportStar(require_vscode(), exports2);
64367
66066
  __exportStar(require_webapp3(), exports2);
64368
66067
  }
@@ -64393,7 +66092,7 @@ var require_dist11 = __commonJS({
64393
66092
  __createBinding(exports3, m, p);
64394
66093
  };
64395
66094
  Object.defineProperty(exports2, "__esModule", { value: true });
64396
- exports2.readUi5Yaml = exports2.loadModuleFromProject = exports2.isCapNodeJsProject = exports2.isCapJavaProject = exports2.getWebappPath = exports2.getCapProjectType = exports2.getCapModelAndServices = exports2.getAppProgrammingLanguage = exports2.getAppRootFromWebappPath = exports2.findProjectRoot = exports2.findAllApps = exports2.FileName = void 0;
66095
+ exports2.getFilePaths = exports2.readUi5Yaml = exports2.loadModuleFromProject = exports2.isCapNodeJsProject = exports2.isCapJavaProject = exports2.getWebappPath = exports2.getCapProjectType = exports2.getCapModelAndServices = exports2.getCapEnvironment = exports2.getAppProgrammingLanguage = exports2.getAppRootFromWebappPath = exports2.findProjectRoot = exports2.findFioriArtifacts = exports2.findAllApps = exports2.FileName = void 0;
64397
66096
  var constants_1 = require_constants5();
64398
66097
  Object.defineProperty(exports2, "FileName", { enumerable: true, get: function() {
64399
66098
  return constants_1.FileName;
@@ -64402,6 +66101,9 @@ var require_dist11 = __commonJS({
64402
66101
  Object.defineProperty(exports2, "findAllApps", { enumerable: true, get: function() {
64403
66102
  return project_1.findAllApps;
64404
66103
  } });
66104
+ Object.defineProperty(exports2, "findFioriArtifacts", { enumerable: true, get: function() {
66105
+ return project_1.findFioriArtifacts;
66106
+ } });
64405
66107
  Object.defineProperty(exports2, "findProjectRoot", { enumerable: true, get: function() {
64406
66108
  return project_1.findProjectRoot;
64407
66109
  } });
@@ -64411,6 +66113,9 @@ var require_dist11 = __commonJS({
64411
66113
  Object.defineProperty(exports2, "getAppProgrammingLanguage", { enumerable: true, get: function() {
64412
66114
  return project_1.getAppProgrammingLanguage;
64413
66115
  } });
66116
+ Object.defineProperty(exports2, "getCapEnvironment", { enumerable: true, get: function() {
66117
+ return project_1.getCapEnvironment;
66118
+ } });
64414
66119
  Object.defineProperty(exports2, "getCapModelAndServices", { enumerable: true, get: function() {
64415
66120
  return project_1.getCapModelAndServices;
64416
66121
  } });
@@ -64432,12 +66137,16 @@ var require_dist11 = __commonJS({
64432
66137
  Object.defineProperty(exports2, "readUi5Yaml", { enumerable: true, get: function() {
64433
66138
  return project_1.readUi5Yaml;
64434
66139
  } });
64435
- __exportStar(require_types6(), exports2);
66140
+ var file_1 = require_file4();
66141
+ Object.defineProperty(exports2, "getFilePaths", { enumerable: true, get: function() {
66142
+ return file_1.getFilePaths;
66143
+ } });
66144
+ __exportStar(require_types7(), exports2);
64436
66145
  }
64437
66146
  });
64438
66147
 
64439
66148
  // ../lib/project-access/core/dist/project/utils.js
64440
- var require_utils10 = __commonJS({
66149
+ var require_utils11 = __commonJS({
64441
66150
  "../lib/project-access/core/dist/project/utils.js"(exports2) {
64442
66151
  "use strict";
64443
66152
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -64476,7 +66185,7 @@ var require_utils10 = __commonJS({
64476
66185
  return mod && mod.__esModule ? mod : { "default": mod };
64477
66186
  };
64478
66187
  Object.defineProperty(exports2, "__esModule", { value: true });
64479
- exports2.getAdditionalEntitySetsFromManifest = exports2.isAdaptationProject = exports2.tryGetEdmxAppMockServiceMockdataDir = exports2.getEdmxAppDefaultMockdataDirPath = exports2.getCapAppMockdataDirPath = exports2.getApplicationId = exports2.deleteCapApp = exports2.isOVPProject = exports2.getAppIdForFile = exports2.checkServeLocalConfig = exports2.getUI5Version = exports2.getLocalUI5Version = exports2.getUi5CustomMiddleware = exports2.getBackendConfigByPath = exports2.getVersionFromManifest = exports2.getProjectType = exports2.getProjectTypeFromProjectFiles = exports2.findI18nProperty = exports2.updateI18nProperties = exports2.updateI18nProperty = exports2.getI18nProperties = exports2.mergeI18nProperties = exports2.getI18nPath = exports2.readAppJson = exports2.getAppConfig = exports2.fillServiceSpecificationForApp = exports2.createApplicationStructureConfig = exports2.getMainService = exports2.findProjectRootsByDependency = exports2.isFioriToolsProject = exports2.checkPackageJson = exports2.findRunnableProjects = exports2.findRootsForPath = exports2.getDetailedProjectType = exports2.getAppType = exports2.findAllProjectRoots = exports2.findAllManifest = exports2.getAppProgrammingLanguage = exports2.hasDependency = exports2.findExtensionFiles = exports2.findAll = exports2.findCapProjects = exports2.findLibrary = exports2.findProjectRoot = exports2.scriptsRegEx = void 0;
66188
+ exports2.getNodeModulesPath = exports2.getAdditionalEntitySetsFromManifest = exports2.isAdaptationProject = exports2.tryGetEdmxAppMockServiceMockdataDir = exports2.getEdmxAppDefaultMockdataDirPath = exports2.getCapAppMockdataDirPath = exports2.getApplicationId = exports2.deleteCapApp = exports2.isOVPProject = exports2.getAppIdForFile = exports2.checkServeLocalConfig = exports2.getUI5Version = exports2.getLocalUI5Version = exports2.getUi5CustomMiddleware = exports2.getBackendConfigByPath = exports2.getVersionFromManifest = exports2.getProjectType = exports2.getProjectTypeFromProjectFiles = exports2.findI18nProperty = exports2.updateI18nProperties = exports2.updateI18nProperty = exports2.getI18nProperties = exports2.mergeI18nProperties = exports2.getI18nPath = exports2.readAppJson = exports2.getAppConfig = exports2.fillServiceSpecificationForApp = exports2.createApplicationStructureConfig = exports2.getMainService = exports2.findProjectRootsByDependency = exports2.isFioriToolsProject = exports2.checkPackageJson = exports2.findRunnableProjects = exports2.findRootsForPath = exports2.getDetailedProjectType = exports2.getAppType = exports2.findAllProjectRoots = exports2.findAllManifest = exports2.getAppProgrammingLanguage = exports2.hasDependency = exports2.findExtensionFiles = exports2.findAll = exports2.findCapProjects = exports2.findLibrary = exports2.findProjectRoot = exports2.scriptsRegEx = void 0;
64480
66189
  var fs_1 = require("fs");
64481
66190
  var findit2_1 = __importDefault(require_findit2());
64482
66191
  var fast_xml_parser_1 = __importDefault(require_parser());
@@ -64539,7 +66248,7 @@ var require_utils10 = __commonJS({
64539
66248
  const finder = (0, findit2_1.default)(root);
64540
66249
  finder.on("directory", (dir, stat, stop) => {
64541
66250
  const base = (0, path_1.basename)(dir);
64542
- if (stopFolders.indexOf(base) !== -1) {
66251
+ if (stopFolders.indexOf(base) !== -1 || projects.some((project) => dir.includes(project))) {
64543
66252
  stop();
64544
66253
  }
64545
66254
  });
@@ -65114,7 +66823,7 @@ var require_utils10 = __commonJS({
65114
66823
  if (latestSapui5Version === void 0) {
65115
66824
  latestSapui5Version = await (0, ux_ui5_info_1.getLatestSapui5Version)();
65116
66825
  }
65117
- ui5Version = latestSapui5Version;
66826
+ ui5Version = latestSapui5Version || "latest";
65118
66827
  }
65119
66828
  }
65120
66829
  return ui5Version;
@@ -65281,11 +66990,29 @@ var require_utils10 = __commonJS({
65281
66990
  }
65282
66991
  }
65283
66992
  exports2.getAdditionalEntitySetsFromManifest = getAdditionalEntitySetsFromManifest;
66993
+ function getNodeModulesPath(projectRoot, module3) {
66994
+ const { root } = (0, path_1.parse)(projectRoot);
66995
+ let currentDir = projectRoot;
66996
+ let modulesPath;
66997
+ while (currentDir !== root) {
66998
+ let checkPath = (0, path_1.join)(currentDir, "node_modules");
66999
+ if (module3) {
67000
+ checkPath = (0, path_1.join)(checkPath, module3);
67001
+ }
67002
+ if ((0, fs_1.existsSync)(checkPath)) {
67003
+ modulesPath = currentDir;
67004
+ break;
67005
+ }
67006
+ currentDir = (0, path_1.dirname)(currentDir);
67007
+ }
67008
+ return modulesPath;
67009
+ }
67010
+ exports2.getNodeModulesPath = getNodeModulesPath;
65284
67011
  }
65285
67012
  });
65286
67013
 
65287
67014
  // ../lib/telemetry/dist/src/toolsSuiteTelemetry/types.js
65288
- var require_types7 = __commonJS({
67015
+ var require_types8 = __commonJS({
65289
67016
  "../lib/telemetry/dist/src/toolsSuiteTelemetry/types.js"(exports2) {
65290
67017
  "use strict";
65291
67018
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -65486,10 +67213,10 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
65486
67213
  var fs_1 = __importDefault(require("fs"));
65487
67214
  var path_1 = __importDefault(require("path"));
65488
67215
  var yaml_1 = __importDefault(require_dist7());
65489
- var utils_1 = require_utils10();
67216
+ var utils_1 = require_utils11();
65490
67217
  var file_1 = require_file2();
65491
67218
  var capProject_1 = require_capProject();
65492
- var types_1 = require_types7();
67219
+ var types_1 = require_types8();
65493
67220
  var ux_feature_toggle_1 = require_dist12();
65494
67221
  var child_process_1 = require("child_process");
65495
67222
  var os_1 = __importDefault(require("os"));
@@ -65684,7 +67411,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
65684
67411
  });
65685
67412
 
65686
67413
  // ../../node_modules/@sap-ux/store/dist/constants.js
65687
- var require_constants6 = __commonJS({
67414
+ var require_constants7 = __commonJS({
65688
67415
  "../../node_modules/@sap-ux/store/dist/constants.js"(exports2) {
65689
67416
  "use strict";
65690
67417
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -67976,7 +69703,7 @@ var require_app_studio = __commonJS({
67976
69703
  });
67977
69704
 
67978
69705
  // ../../node_modules/@sap-ux/store/dist/utils/index.js
67979
- var require_utils11 = __commonJS({
69706
+ var require_utils12 = __commonJS({
67980
69707
  "../../node_modules/@sap-ux/store/dist/utils/index.js"(exports2) {
67981
69708
  "use strict";
67982
69709
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
@@ -68100,7 +69827,7 @@ var require_filesystem2 = __commonJS({
68100
69827
  var path_1 = __importDefault(require("path"));
68101
69828
  var fs_1 = __importStar(require("fs"));
68102
69829
  var pluralize_1 = require_pluralize();
68103
- var utils_1 = require_utils11();
69830
+ var utils_1 = require_utils12();
68104
69831
  var os_1 = __importDefault(require("os"));
68105
69832
  var basedir = ({ baseDirectory } = {}) => {
68106
69833
  if (!baseDirectory) {
@@ -68392,7 +70119,7 @@ var require_keytar_store2 = __commonJS({
68392
70119
  };
68393
70120
  Object.defineProperty(exports2, "__esModule", { value: true });
68394
70121
  exports2.KeytarStore = void 0;
68395
- var utils_1 = require_utils11();
70122
+ var utils_1 = require_utils12();
68396
70123
  var KeytarStore = class {
68397
70124
  constructor(log3, keytar) {
68398
70125
  this.log = log3;
@@ -68458,7 +70185,7 @@ var require_keytar_store2 = __commonJS({
68458
70185
  });
68459
70186
 
68460
70187
  // ../../node_modules/@sap-ux/store/dist/secure-store/types.js
68461
- var require_types8 = __commonJS({
70188
+ var require_types9 = __commonJS({
68462
70189
  "../../node_modules/@sap-ux/store/dist/secure-store/types.js"(exports2) {
68463
70190
  "use strict";
68464
70191
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -68487,7 +70214,7 @@ var require_secure_store2 = __commonJS({
68487
70214
  };
68488
70215
  Object.defineProperty(exports2, "__esModule", { value: true });
68489
70216
  exports2.getSecureStore = void 0;
68490
- var utils_1 = require_utils11();
70217
+ var utils_1 = require_utils12();
68491
70218
  var dummy_store_1 = require_dummy_store2();
68492
70219
  var keytar_store_1 = require_keytar_store2();
68493
70220
  function getKeytar(log3) {
@@ -68529,7 +70256,7 @@ var require_secure_store2 = __commonJS({
68529
70256
  }
68530
70257
  };
68531
70258
  exports2.getSecureStore = getSecureStore;
68532
- __exportStar(require_types8(), exports2);
70259
+ __exportStar(require_types9(), exports2);
68533
70260
  }
68534
70261
  });
68535
70262
 
@@ -68599,7 +70326,7 @@ var require_hybrid2 = __commonJS({
68599
70326
  Object.defineProperty(exports2, "__esModule", { value: true });
68600
70327
  exports2.getHybridStore = void 0;
68601
70328
  var filesystem_1 = require_filesystem2();
68602
- var utils_1 = require_utils11();
70329
+ var utils_1 = require_utils12();
68603
70330
  var secure_store_1 = require_secure_store2();
68604
70331
  var decorators_1 = require_decorators2();
68605
70332
  var util_1 = require("util");
@@ -68791,7 +70518,7 @@ var require_backend_system4 = __commonJS({
68791
70518
  });
68792
70519
 
68793
70520
  // ../../node_modules/@sap-ux/store/dist/data-provider/constants.js
68794
- var require_constants7 = __commonJS({
70521
+ var require_constants8 = __commonJS({
68795
70522
  "../../node_modules/@sap-ux/store/dist/data-provider/constants.js"(exports2) {
68796
70523
  "use strict";
68797
70524
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -68841,7 +70568,7 @@ var require_backend_system5 = __commonJS({
68841
70568
  exports2.SystemDataProvider = void 0;
68842
70569
  var hybrid_1 = require_hybrid2();
68843
70570
  var backend_system_1 = require_backend_system4();
68844
- var constants_1 = require_constants7();
70571
+ var constants_1 = require_constants8();
68845
70572
  var SystemDataProvider = class {
68846
70573
  constructor(logger, options2 = {}) {
68847
70574
  this.entityName = constants_1.Entities.BackendSystem;
@@ -69042,7 +70769,7 @@ var require_telemetry_setting2 = __commonJS({
69042
70769
  exports2.TelemetryDataProvider = void 0;
69043
70770
  var filesystem_1 = require_filesystem2();
69044
70771
  var telemetry_setting_1 = require_telemetry_setting();
69045
- var constants_1 = require_constants7();
70772
+ var constants_1 = require_constants8();
69046
70773
  var TelemetryDataProvider = class {
69047
70774
  constructor(logger) {
69048
70775
  this.entityName = constants_1.Entities.TelemetrySetting;
@@ -69194,7 +70921,7 @@ var require_api_hub3 = __commonJS({
69194
70921
  Object.defineProperty(exports2, "__esModule", { value: true });
69195
70922
  exports2.ApiHubSettingsProvider = void 0;
69196
70923
  var hybrid_1 = require_hybrid2();
69197
- var constants_1 = require_constants7();
70924
+ var constants_1 = require_constants8();
69198
70925
  var api_hub_1 = require_api_hub2();
69199
70926
  var ApiHubSettingsProvider = class {
69200
70927
  constructor(logger, options2 = {}) {
@@ -70031,7 +71758,7 @@ var require_cloneDeep = __commonJS({
70031
71758
  });
70032
71759
 
70033
71760
  // ../../node_modules/@sap-ux/store/node_modules/@sap-ux/logger/dist/types.js
70034
- var require_types9 = __commonJS({
71761
+ var require_types10 = __commonJS({
70035
71762
  "../../node_modules/@sap-ux/store/node_modules/@sap-ux/logger/dist/types.js"(exports2) {
70036
71763
  "use strict";
70037
71764
  var __importDefault = exports2 && exports2.__importDefault || function(mod) {
@@ -72951,7 +74678,7 @@ var require_transport = __commonJS({
72951
74678
  Object.defineProperty(exports2, "__esModule", { value: true });
72952
74679
  exports2.ArrayTransport = exports2.VSCodeTransport = exports2.StringArrayTransport = exports2.FileTransport = exports2.NullTransport = exports2.UI5ToolingTransport = exports2.ConsoleTransport = void 0;
72953
74680
  var winston_transport_1 = __importDefault(require_winston_transport());
72954
- var types_1 = require_types9();
74681
+ var types_1 = require_types10();
72955
74682
  var ConsoleTransport = class extends types_1.Transport {
72956
74683
  constructor(opts = {}) {
72957
74684
  super();
@@ -73054,7 +74781,7 @@ var require_transports = __commonJS({
73054
74781
  });
73055
74782
 
73056
74783
  // ../../node_modules/logform/format.js
73057
- var require_format3 = __commonJS({
74784
+ var require_format2 = __commonJS({
73058
74785
  "../../node_modules/logform/format.js"(exports2, module2) {
73059
74786
  "use strict";
73060
74787
  var InvalidFormatError = class extends Error {
@@ -73815,7 +75542,7 @@ var require_levels = __commonJS({
73815
75542
  var require_align = __commonJS({
73816
75543
  "../../node_modules/logform/align.js"(exports2, module2) {
73817
75544
  "use strict";
73818
- var format2 = require_format3();
75545
+ var format2 = require_format2();
73819
75546
  module2.exports = format2((info) => {
73820
75547
  info.message = ` ${info.message}`;
73821
75548
  return info;
@@ -73827,7 +75554,7 @@ var require_align = __commonJS({
73827
75554
  var require_errors4 = __commonJS({
73828
75555
  "../../node_modules/logform/errors.js"(exports2, module2) {
73829
75556
  "use strict";
73830
- var format2 = require_format3();
75557
+ var format2 = require_format2();
73831
75558
  var { LEVEL, MESSAGE } = require_triple_beam();
73832
75559
  module2.exports = format2((einfo, { stack }) => {
73833
75560
  if (einfo instanceof Error) {
@@ -73925,7 +75652,7 @@ var require_cli3 = __commonJS({
73925
75652
  var require_combine = __commonJS({
73926
75653
  "../../node_modules/logform/combine.js"(exports2, module2) {
73927
75654
  "use strict";
73928
- var format2 = require_format3();
75655
+ var format2 = require_format2();
73929
75656
  function cascade(formats) {
73930
75657
  if (!formats.every(isValidFormat)) {
73931
75658
  return;
@@ -74624,7 +76351,7 @@ ${originalIndentation}`;
74624
76351
  var require_json = __commonJS({
74625
76352
  "../../node_modules/logform/json.js"(exports2, module2) {
74626
76353
  "use strict";
74627
- var format2 = require_format3();
76354
+ var format2 = require_format2();
74628
76355
  var { MESSAGE } = require_triple_beam();
74629
76356
  var stringify2 = require_safe_stable_stringify();
74630
76357
  function replacer(key, value) {
@@ -74644,7 +76371,7 @@ var require_json = __commonJS({
74644
76371
  var require_label = __commonJS({
74645
76372
  "../../node_modules/logform/label.js"(exports2, module2) {
74646
76373
  "use strict";
74647
- var format2 = require_format3();
76374
+ var format2 = require_format2();
74648
76375
  module2.exports = format2((info, opts) => {
74649
76376
  if (opts.message) {
74650
76377
  info.message = `[${opts.label}] ${info.message}`;
@@ -74660,7 +76387,7 @@ var require_label = __commonJS({
74660
76387
  var require_logstash = __commonJS({
74661
76388
  "../../node_modules/logform/logstash.js"(exports2, module2) {
74662
76389
  "use strict";
74663
- var format2 = require_format3();
76390
+ var format2 = require_format2();
74664
76391
  var { MESSAGE } = require_triple_beam();
74665
76392
  var jsonStringify = require_safe_stable_stringify();
74666
76393
  module2.exports = format2((info) => {
@@ -74684,7 +76411,7 @@ var require_logstash = __commonJS({
74684
76411
  var require_metadata2 = __commonJS({
74685
76412
  "../../node_modules/logform/metadata.js"(exports2, module2) {
74686
76413
  "use strict";
74687
- var format2 = require_format3();
76414
+ var format2 = require_format2();
74688
76415
  function fillExcept(info, fillExceptKeys, metadataKey) {
74689
76416
  const savedKeys = fillExceptKeys.reduce((acc, key) => {
74690
76417
  acc[key] = info[key];
@@ -74737,7 +76464,7 @@ var require_metadata2 = __commonJS({
74737
76464
  var require_ms2 = __commonJS({
74738
76465
  "../../node_modules/logform/ms.js"(exports2, module2) {
74739
76466
  "use strict";
74740
- var format2 = require_format3();
76467
+ var format2 = require_format2();
74741
76468
  var ms = require_ms();
74742
76469
  module2.exports = format2((info) => {
74743
76470
  const curr = +new Date();
@@ -74754,7 +76481,7 @@ var require_pretty_print = __commonJS({
74754
76481
  "../../node_modules/logform/pretty-print.js"(exports2, module2) {
74755
76482
  "use strict";
74756
76483
  var inspect = require("util").inspect;
74757
- var format2 = require_format3();
76484
+ var format2 = require_format2();
74758
76485
  var { LEVEL, MESSAGE, SPLAT } = require_triple_beam();
74759
76486
  module2.exports = format2((info, opts = {}) => {
74760
76487
  const stripped = Object.assign({}, info);
@@ -74790,7 +76517,7 @@ var require_printf = __commonJS({
74790
76517
  var require_simple = __commonJS({
74791
76518
  "../../node_modules/logform/simple.js"(exports2, module2) {
74792
76519
  "use strict";
74793
- var format2 = require_format3();
76520
+ var format2 = require_format2();
74794
76521
  var { MESSAGE } = require_triple_beam();
74795
76522
  var jsonStringify = require_safe_stable_stringify();
74796
76523
  module2.exports = format2((info) => {
@@ -75279,7 +77006,7 @@ var require_timestamp2 = __commonJS({
75279
77006
  "../../node_modules/logform/timestamp.js"(exports2, module2) {
75280
77007
  "use strict";
75281
77008
  var fecha2 = (init_fecha(), __toCommonJS(fecha_exports));
75282
- var format2 = require_format3();
77009
+ var format2 = require_format2();
75283
77010
  module2.exports = format2((info, opts = {}) => {
75284
77011
  if (opts.format) {
75285
77012
  info.timestamp = typeof opts.format === "function" ? opts.format() : fecha2.format(new Date(), opts.format);
@@ -75300,7 +77027,7 @@ var require_uncolorize = __commonJS({
75300
77027
  "../../node_modules/logform/uncolorize.js"(exports2, module2) {
75301
77028
  "use strict";
75302
77029
  var colors = require_safe();
75303
- var format2 = require_format3();
77030
+ var format2 = require_format2();
75304
77031
  var { MESSAGE } = require_triple_beam();
75305
77032
  module2.exports = format2((info, opts) => {
75306
77033
  if (opts.level !== false) {
@@ -75321,7 +77048,7 @@ var require_uncolorize = __commonJS({
75321
77048
  var require_logform = __commonJS({
75322
77049
  "../../node_modules/logform/index.js"(exports2) {
75323
77050
  "use strict";
75324
- var format2 = exports2.format = require_format3();
77051
+ var format2 = exports2.format = require_format2();
75325
77052
  exports2.levels = require_levels();
75326
77053
  function exposeFormat(name, requireFormat) {
75327
77054
  Object.defineProperty(format2, name, {
@@ -75437,7 +77164,7 @@ var require_common8 = __commonJS({
75437
77164
  });
75438
77165
 
75439
77166
  // ../../node_modules/winston/package.json
75440
- var require_package9 = __commonJS({
77167
+ var require_package8 = __commonJS({
75441
77168
  "../../node_modules/winston/package.json"(exports2, module2) {
75442
77169
  module2.exports = {
75443
77170
  name: "winston",
@@ -82617,7 +84344,7 @@ var require_winston = __commonJS({
82617
84344
  "use strict";
82618
84345
  var logform = require_logform();
82619
84346
  var { warn: warn3 } = require_common8();
82620
- exports2.version = require_package9().version;
84347
+ exports2.version = require_package8().version;
82621
84348
  exports2.transports = require_transports2();
82622
84349
  exports2.config = require_config3();
82623
84350
  exports2.addColors = logform.levels;
@@ -83116,7 +84843,7 @@ var require_adapter = __commonJS({
83116
84843
  };
83117
84844
  Object.defineProperty(exports2, "__esModule", { value: true });
83118
84845
  exports2.toWinstonTransport = exports2.toWinstonLogLevel = void 0;
83119
- var types_1 = require_types9();
84846
+ var types_1 = require_types10();
83120
84847
  var winston_1 = __importStar(require_winston());
83121
84848
  var transports_1 = require_transports();
83122
84849
  var null_transport_1 = require_null_transport();
@@ -83201,7 +84928,7 @@ ${level} ${chalk_1.default.magenta(label)} `);
83201
84928
  });
83202
84929
 
83203
84930
  // ../../node_modules/@sap-ux/store/node_modules/@sap-ux/logger/dist/winston-logger/utils.js
83204
- var require_utils12 = __commonJS({
84931
+ var require_utils13 = __commonJS({
83205
84932
  "../../node_modules/@sap-ux/store/node_modules/@sap-ux/logger/dist/winston-logger/utils.js"(exports2) {
83206
84933
  "use strict";
83207
84934
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -83257,10 +84984,10 @@ var require_logger2 = __commonJS({
83257
84984
  Object.defineProperty(exports2, "__esModule", { value: true });
83258
84985
  exports2.WinstonLogger = void 0;
83259
84986
  var transports_1 = require_transports();
83260
- var types_1 = require_types9();
84987
+ var types_1 = require_types10();
83261
84988
  var winston_1 = __importStar(require_winston());
83262
84989
  var adapter_1 = require_adapter();
83263
- var utils_1 = require_utils12();
84990
+ var utils_1 = require_utils13();
83264
84991
  var util_1 = require("util");
83265
84992
  var defaultLoggerOptions = {
83266
84993
  transports: [new transports_1.ConsoleTransport()]
@@ -83399,7 +85126,7 @@ var require_dist13 = __commonJS({
83399
85126
  };
83400
85127
  Object.defineProperty(exports2, "__esModule", { value: true });
83401
85128
  exports2.ToolsLogger = void 0;
83402
- __exportStar(require_types9(), exports2);
85129
+ __exportStar(require_types10(), exports2);
83403
85130
  __exportStar(require_transports(), exports2);
83404
85131
  var winston_logger_1 = require_winston_logger();
83405
85132
  Object.defineProperty(exports2, "ToolsLogger", { enumerable: true, get: function() {
@@ -83499,7 +85226,7 @@ var require_dist14 = __commonJS({
83499
85226
  };
83500
85227
  Object.defineProperty(exports2, "__esModule", { value: true });
83501
85228
  exports2.Entity = exports2.getFilesystemWatcherFor = exports2.getService = void 0;
83502
- var constants_1 = require_constants6();
85229
+ var constants_1 = require_constants7();
83503
85230
  Object.defineProperty(exports2, "Entity", { enumerable: true, get: function() {
83504
85231
  return constants_1.Entity;
83505
85232
  } });
@@ -83583,12 +85310,16 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
83583
85310
  return path_1.default.join(homedir, settingsPath);
83584
85311
  };
83585
85312
  var setEnableTelemetry = async (enableTelemetry) => {
83586
- const storeService = await (0, store_1.getService)({
83587
- entityName: "telemetrySetting"
83588
- });
83589
- const setting = new store_1.TelemetrySetting({ enableTelemetry });
83590
- await storeService.write(setting);
83591
- system_1.TelemetrySystem.telemetryEnabled = enableTelemetry;
85313
+ try {
85314
+ const storeService = await (0, store_1.getService)({
85315
+ entityName: "telemetrySetting"
85316
+ });
85317
+ const setting = new store_1.TelemetrySetting({ enableTelemetry });
85318
+ await storeService.write(setting);
85319
+ system_1.TelemetrySystem.telemetryEnabled = enableTelemetry;
85320
+ } catch (e) {
85321
+ console.error(`Telemetry settings could not be written. Error : ${e.message}`);
85322
+ }
83592
85323
  const commonProperties = await (0, toolsSuiteTelemetryDataProcessor_1.getCommonProperties)();
83593
85324
  (0, reporting_1.reportEnableTelemetryOnOff)(enableTelemetry, commonProperties);
83594
85325
  };
@@ -83701,7 +85432,7 @@ var require_toolsSuiteTelemetry = __commonJS({
83701
85432
  return toolsSuiteTelemetryDataProcessor_1.processToolsSuiteTelemetry;
83702
85433
  } });
83703
85434
  __exportStar(require_toolsSuiteTelemetrySettings(), exports2);
83704
- __exportStar(require_types7(), exports2);
85435
+ __exportStar(require_types8(), exports2);
83705
85436
  }
83706
85437
  });
83707
85438
 
@@ -83744,7 +85475,7 @@ var require_client3 = __commonJS({
83744
85475
  Object.defineProperty(exports2, "__esModule", { value: true });
83745
85476
  exports2.ClientFactory = void 0;
83746
85477
  var system_1 = require_system3();
83747
- var telemetryPackageJSON = __importStar(require_package7());
85478
+ var telemetryPackageJSON = __importStar(require_package6());
83748
85479
  var toolsSuiteTelemetry_1 = require_toolsSuiteTelemetry();
83749
85480
  var ClientFactory2 = class {
83750
85481
  static getTelemetryClient() {
@@ -83783,7 +85514,7 @@ var require_ClientType = __commonJS({
83783
85514
  });
83784
85515
 
83785
85516
  // ../lib/telemetry/dist/src/performance/types.js
83786
- var require_types10 = __commonJS({
85517
+ var require_types11 = __commonJS({
83787
85518
  "../lib/telemetry/dist/src/performance/types.js"(exports2) {
83788
85519
  "use strict";
83789
85520
  Object.defineProperty(exports2, "__esModule", { value: true });
@@ -83807,7 +85538,7 @@ var require_entries = __commonJS({
83807
85538
  "use strict";
83808
85539
  Object.defineProperty(exports2, "__esModule", { value: true });
83809
85540
  exports2.Measurement = exports2.Mark = void 0;
83810
- var types_1 = require_types10();
85541
+ var types_1 = require_types11();
83811
85542
  var Mark = class {
83812
85543
  getStartTime() {
83813
85544
  return this.startTime;
@@ -83879,7 +85610,7 @@ var require_api = __commonJS({
83879
85610
  Object.defineProperty(exports2, "__esModule", { value: true });
83880
85611
  exports2.PerformanceMeasurementAPI = void 0;
83881
85612
  var entries_1 = require_entries();
83882
- var types_1 = require_types10();
85613
+ var types_1 = require_types11();
83883
85614
  var performanceNow = require_performance_now();
83884
85615
  var PerformanceMeasurementAPI = class extends types_1.PerformanceMeasurement {
83885
85616
  static initialize() {
@@ -84265,7 +85996,7 @@ var require_src8 = __commonJS({
84265
85996
  });
84266
85997
 
84267
85998
  // node_modules/semver/internal/constants.js
84268
- var require_constants8 = __commonJS({
85999
+ var require_constants9 = __commonJS({
84269
86000
  "node_modules/semver/internal/constants.js"(exports2, module2) {
84270
86001
  var SEMVER_SPEC_VERSION = "2.0.0";
84271
86002
  var MAX_LENGTH = 256;
@@ -84281,7 +86012,7 @@ var require_constants8 = __commonJS({
84281
86012
  });
84282
86013
 
84283
86014
  // node_modules/semver/internal/debug.js
84284
- var require_debug3 = __commonJS({
86015
+ var require_debug4 = __commonJS({
84285
86016
  "node_modules/semver/internal/debug.js"(exports2, module2) {
84286
86017
  var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
84287
86018
  };
@@ -84290,10 +86021,10 @@ var require_debug3 = __commonJS({
84290
86021
  });
84291
86022
 
84292
86023
  // node_modules/semver/internal/re.js
84293
- var require_re2 = __commonJS({
86024
+ var require_re3 = __commonJS({
84294
86025
  "node_modules/semver/internal/re.js"(exports2, module2) {
84295
- var { MAX_SAFE_COMPONENT_LENGTH } = require_constants8();
84296
- var debug = require_debug3();
86026
+ var { MAX_SAFE_COMPONENT_LENGTH } = require_constants9();
86027
+ var debug = require_debug4();
84297
86028
  exports2 = module2.exports = {};
84298
86029
  var re = exports2.re = [];
84299
86030
  var src = exports2.src = [];
@@ -84353,7 +86084,7 @@ var require_re2 = __commonJS({
84353
86084
  });
84354
86085
 
84355
86086
  // node_modules/semver/internal/parse-options.js
84356
- var require_parse_options2 = __commonJS({
86087
+ var require_parse_options3 = __commonJS({
84357
86088
  "node_modules/semver/internal/parse-options.js"(exports2, module2) {
84358
86089
  var opts = ["includePrerelease", "loose", "rtl"];
84359
86090
  var parseOptions = (options2) => !options2 ? {} : typeof options2 !== "object" ? { loose: true } : opts.filter((k) => options2[k]).reduce((options3, k) => {
@@ -84365,7 +86096,7 @@ var require_parse_options2 = __commonJS({
84365
86096
  });
84366
86097
 
84367
86098
  // node_modules/semver/internal/identifiers.js
84368
- var require_identifiers2 = __commonJS({
86099
+ var require_identifiers3 = __commonJS({
84369
86100
  "node_modules/semver/internal/identifiers.js"(exports2, module2) {
84370
86101
  var numeric = /^[0-9]+$/;
84371
86102
  var compareIdentifiers = (a, b) => {
@@ -84386,13 +86117,13 @@ var require_identifiers2 = __commonJS({
84386
86117
  });
84387
86118
 
84388
86119
  // node_modules/semver/classes/semver.js
84389
- var require_semver6 = __commonJS({
86120
+ var require_semver8 = __commonJS({
84390
86121
  "node_modules/semver/classes/semver.js"(exports2, module2) {
84391
- var debug = require_debug3();
84392
- var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants8();
84393
- var { re, t } = require_re2();
84394
- var parseOptions = require_parse_options2();
84395
- var { compareIdentifiers } = require_identifiers2();
86122
+ var debug = require_debug4();
86123
+ var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants9();
86124
+ var { re, t } = require_re3();
86125
+ var parseOptions = require_parse_options3();
86126
+ var { compareIdentifiers } = require_identifiers3();
84396
86127
  var SemVer = class {
84397
86128
  constructor(version, options2) {
84398
86129
  options2 = parseOptions(options2);
@@ -84610,12 +86341,12 @@ var require_semver6 = __commonJS({
84610
86341
  });
84611
86342
 
84612
86343
  // node_modules/semver/functions/parse.js
84613
- var require_parse4 = __commonJS({
86344
+ var require_parse5 = __commonJS({
84614
86345
  "node_modules/semver/functions/parse.js"(exports2, module2) {
84615
- var { MAX_LENGTH } = require_constants8();
84616
- var { re, t } = require_re2();
84617
- var SemVer = require_semver6();
84618
- var parseOptions = require_parse_options2();
86346
+ var { MAX_LENGTH } = require_constants9();
86347
+ var { re, t } = require_re3();
86348
+ var SemVer = require_semver8();
86349
+ var parseOptions = require_parse_options3();
84619
86350
  var parse3 = (version, options2) => {
84620
86351
  options2 = parseOptions(options2);
84621
86352
  if (version instanceof SemVer) {
@@ -84642,9 +86373,9 @@ var require_parse4 = __commonJS({
84642
86373
  });
84643
86374
 
84644
86375
  // node_modules/semver/functions/valid.js
84645
- var require_valid3 = __commonJS({
86376
+ var require_valid5 = __commonJS({
84646
86377
  "node_modules/semver/functions/valid.js"(exports2, module2) {
84647
- var parse3 = require_parse4();
86378
+ var parse3 = require_parse5();
84648
86379
  var valid = (version, options2) => {
84649
86380
  const v = parse3(version, options2);
84650
86381
  return v ? v.version : null;
@@ -84654,9 +86385,9 @@ var require_valid3 = __commonJS({
84654
86385
  });
84655
86386
 
84656
86387
  // node_modules/semver/functions/clean.js
84657
- var require_clean2 = __commonJS({
86388
+ var require_clean3 = __commonJS({
84658
86389
  "node_modules/semver/functions/clean.js"(exports2, module2) {
84659
- var parse3 = require_parse4();
86390
+ var parse3 = require_parse5();
84660
86391
  var clean = (version, options2) => {
84661
86392
  const s = parse3(version.trim().replace(/^[=v]+/, ""), options2);
84662
86393
  return s ? s.version : null;
@@ -84666,9 +86397,9 @@ var require_clean2 = __commonJS({
84666
86397
  });
84667
86398
 
84668
86399
  // node_modules/semver/functions/inc.js
84669
- var require_inc2 = __commonJS({
86400
+ var require_inc3 = __commonJS({
84670
86401
  "node_modules/semver/functions/inc.js"(exports2, module2) {
84671
- var SemVer = require_semver6();
86402
+ var SemVer = require_semver8();
84672
86403
  var inc = (version, release, options2, identifier) => {
84673
86404
  if (typeof options2 === "string") {
84674
86405
  identifier = options2;
@@ -84685,28 +86416,28 @@ var require_inc2 = __commonJS({
84685
86416
  });
84686
86417
 
84687
86418
  // node_modules/semver/functions/compare.js
84688
- var require_compare2 = __commonJS({
86419
+ var require_compare3 = __commonJS({
84689
86420
  "node_modules/semver/functions/compare.js"(exports2, module2) {
84690
- var SemVer = require_semver6();
86421
+ var SemVer = require_semver8();
84691
86422
  var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
84692
86423
  module2.exports = compare;
84693
86424
  }
84694
86425
  });
84695
86426
 
84696
86427
  // node_modules/semver/functions/eq.js
84697
- var require_eq3 = __commonJS({
86428
+ var require_eq4 = __commonJS({
84698
86429
  "node_modules/semver/functions/eq.js"(exports2, module2) {
84699
- var compare = require_compare2();
86430
+ var compare = require_compare3();
84700
86431
  var eq = (a, b, loose) => compare(a, b, loose) === 0;
84701
86432
  module2.exports = eq;
84702
86433
  }
84703
86434
  });
84704
86435
 
84705
86436
  // node_modules/semver/functions/diff.js
84706
- var require_diff2 = __commonJS({
86437
+ var require_diff3 = __commonJS({
84707
86438
  "node_modules/semver/functions/diff.js"(exports2, module2) {
84708
- var parse3 = require_parse4();
84709
- var eq = require_eq3();
86439
+ var parse3 = require_parse5();
86440
+ var eq = require_eq4();
84710
86441
  var diff = (version1, version2) => {
84711
86442
  if (eq(version1, version2)) {
84712
86443
  return null;
@@ -84731,36 +86462,36 @@ var require_diff2 = __commonJS({
84731
86462
  });
84732
86463
 
84733
86464
  // node_modules/semver/functions/major.js
84734
- var require_major2 = __commonJS({
86465
+ var require_major3 = __commonJS({
84735
86466
  "node_modules/semver/functions/major.js"(exports2, module2) {
84736
- var SemVer = require_semver6();
86467
+ var SemVer = require_semver8();
84737
86468
  var major2 = (a, loose) => new SemVer(a, loose).major;
84738
86469
  module2.exports = major2;
84739
86470
  }
84740
86471
  });
84741
86472
 
84742
86473
  // node_modules/semver/functions/minor.js
84743
- var require_minor2 = __commonJS({
86474
+ var require_minor3 = __commonJS({
84744
86475
  "node_modules/semver/functions/minor.js"(exports2, module2) {
84745
- var SemVer = require_semver6();
86476
+ var SemVer = require_semver8();
84746
86477
  var minor2 = (a, loose) => new SemVer(a, loose).minor;
84747
86478
  module2.exports = minor2;
84748
86479
  }
84749
86480
  });
84750
86481
 
84751
86482
  // node_modules/semver/functions/patch.js
84752
- var require_patch2 = __commonJS({
86483
+ var require_patch3 = __commonJS({
84753
86484
  "node_modules/semver/functions/patch.js"(exports2, module2) {
84754
- var SemVer = require_semver6();
86485
+ var SemVer = require_semver8();
84755
86486
  var patch = (a, loose) => new SemVer(a, loose).patch;
84756
86487
  module2.exports = patch;
84757
86488
  }
84758
86489
  });
84759
86490
 
84760
86491
  // node_modules/semver/functions/prerelease.js
84761
- var require_prerelease2 = __commonJS({
86492
+ var require_prerelease3 = __commonJS({
84762
86493
  "node_modules/semver/functions/prerelease.js"(exports2, module2) {
84763
- var parse3 = require_parse4();
86494
+ var parse3 = require_parse5();
84764
86495
  var prerelease = (version, options2) => {
84765
86496
  const parsed = parse3(version, options2);
84766
86497
  return parsed && parsed.prerelease.length ? parsed.prerelease : null;
@@ -84770,27 +86501,27 @@ var require_prerelease2 = __commonJS({
84770
86501
  });
84771
86502
 
84772
86503
  // node_modules/semver/functions/rcompare.js
84773
- var require_rcompare2 = __commonJS({
86504
+ var require_rcompare3 = __commonJS({
84774
86505
  "node_modules/semver/functions/rcompare.js"(exports2, module2) {
84775
- var compare = require_compare2();
86506
+ var compare = require_compare3();
84776
86507
  var rcompare = (a, b, loose) => compare(b, a, loose);
84777
86508
  module2.exports = rcompare;
84778
86509
  }
84779
86510
  });
84780
86511
 
84781
86512
  // node_modules/semver/functions/compare-loose.js
84782
- var require_compare_loose2 = __commonJS({
86513
+ var require_compare_loose3 = __commonJS({
84783
86514
  "node_modules/semver/functions/compare-loose.js"(exports2, module2) {
84784
- var compare = require_compare2();
86515
+ var compare = require_compare3();
84785
86516
  var compareLoose = (a, b) => compare(a, b, true);
84786
86517
  module2.exports = compareLoose;
84787
86518
  }
84788
86519
  });
84789
86520
 
84790
86521
  // node_modules/semver/functions/compare-build.js
84791
- var require_compare_build2 = __commonJS({
86522
+ var require_compare_build3 = __commonJS({
84792
86523
  "node_modules/semver/functions/compare-build.js"(exports2, module2) {
84793
- var SemVer = require_semver6();
86524
+ var SemVer = require_semver8();
84794
86525
  var compareBuild = (a, b, loose) => {
84795
86526
  const versionA = new SemVer(a, loose);
84796
86527
  const versionB = new SemVer(b, loose);
@@ -84801,77 +86532,77 @@ var require_compare_build2 = __commonJS({
84801
86532
  });
84802
86533
 
84803
86534
  // node_modules/semver/functions/sort.js
84804
- var require_sort2 = __commonJS({
86535
+ var require_sort3 = __commonJS({
84805
86536
  "node_modules/semver/functions/sort.js"(exports2, module2) {
84806
- var compareBuild = require_compare_build2();
86537
+ var compareBuild = require_compare_build3();
84807
86538
  var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
84808
86539
  module2.exports = sort;
84809
86540
  }
84810
86541
  });
84811
86542
 
84812
86543
  // node_modules/semver/functions/rsort.js
84813
- var require_rsort2 = __commonJS({
86544
+ var require_rsort3 = __commonJS({
84814
86545
  "node_modules/semver/functions/rsort.js"(exports2, module2) {
84815
- var compareBuild = require_compare_build2();
86546
+ var compareBuild = require_compare_build3();
84816
86547
  var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
84817
86548
  module2.exports = rsort;
84818
86549
  }
84819
86550
  });
84820
86551
 
84821
86552
  // node_modules/semver/functions/gt.js
84822
- var require_gt2 = __commonJS({
86553
+ var require_gt3 = __commonJS({
84823
86554
  "node_modules/semver/functions/gt.js"(exports2, module2) {
84824
- var compare = require_compare2();
86555
+ var compare = require_compare3();
84825
86556
  var gt2 = (a, b, loose) => compare(a, b, loose) > 0;
84826
86557
  module2.exports = gt2;
84827
86558
  }
84828
86559
  });
84829
86560
 
84830
86561
  // node_modules/semver/functions/lt.js
84831
- var require_lt2 = __commonJS({
86562
+ var require_lt3 = __commonJS({
84832
86563
  "node_modules/semver/functions/lt.js"(exports2, module2) {
84833
- var compare = require_compare2();
86564
+ var compare = require_compare3();
84834
86565
  var lt = (a, b, loose) => compare(a, b, loose) < 0;
84835
86566
  module2.exports = lt;
84836
86567
  }
84837
86568
  });
84838
86569
 
84839
86570
  // node_modules/semver/functions/neq.js
84840
- var require_neq2 = __commonJS({
86571
+ var require_neq3 = __commonJS({
84841
86572
  "node_modules/semver/functions/neq.js"(exports2, module2) {
84842
- var compare = require_compare2();
86573
+ var compare = require_compare3();
84843
86574
  var neq = (a, b, loose) => compare(a, b, loose) !== 0;
84844
86575
  module2.exports = neq;
84845
86576
  }
84846
86577
  });
84847
86578
 
84848
86579
  // node_modules/semver/functions/gte.js
84849
- var require_gte2 = __commonJS({
86580
+ var require_gte3 = __commonJS({
84850
86581
  "node_modules/semver/functions/gte.js"(exports2, module2) {
84851
- var compare = require_compare2();
86582
+ var compare = require_compare3();
84852
86583
  var gte = (a, b, loose) => compare(a, b, loose) >= 0;
84853
86584
  module2.exports = gte;
84854
86585
  }
84855
86586
  });
84856
86587
 
84857
86588
  // node_modules/semver/functions/lte.js
84858
- var require_lte2 = __commonJS({
86589
+ var require_lte3 = __commonJS({
84859
86590
  "node_modules/semver/functions/lte.js"(exports2, module2) {
84860
- var compare = require_compare2();
86591
+ var compare = require_compare3();
84861
86592
  var lte = (a, b, loose) => compare(a, b, loose) <= 0;
84862
86593
  module2.exports = lte;
84863
86594
  }
84864
86595
  });
84865
86596
 
84866
86597
  // node_modules/semver/functions/cmp.js
84867
- var require_cmp2 = __commonJS({
86598
+ var require_cmp3 = __commonJS({
84868
86599
  "node_modules/semver/functions/cmp.js"(exports2, module2) {
84869
- var eq = require_eq3();
84870
- var neq = require_neq2();
84871
- var gt2 = require_gt2();
84872
- var gte = require_gte2();
84873
- var lt = require_lt2();
84874
- var lte = require_lte2();
86600
+ var eq = require_eq4();
86601
+ var neq = require_neq3();
86602
+ var gt2 = require_gt3();
86603
+ var gte = require_gte3();
86604
+ var lt = require_lt3();
86605
+ var lte = require_lte3();
84875
86606
  var cmp = (a, op, b, loose) => {
84876
86607
  switch (op) {
84877
86608
  case "===":
@@ -84909,11 +86640,11 @@ var require_cmp2 = __commonJS({
84909
86640
  });
84910
86641
 
84911
86642
  // node_modules/semver/functions/coerce.js
84912
- var require_coerce2 = __commonJS({
86643
+ var require_coerce3 = __commonJS({
84913
86644
  "node_modules/semver/functions/coerce.js"(exports2, module2) {
84914
- var SemVer = require_semver6();
84915
- var parse3 = require_parse4();
84916
- var { re, t } = require_re2();
86645
+ var SemVer = require_semver8();
86646
+ var parse3 = require_parse5();
86647
+ var { re, t } = require_re3();
84917
86648
  var coerce = (version, options2) => {
84918
86649
  if (version instanceof SemVer) {
84919
86650
  return version;
@@ -84947,7 +86678,7 @@ var require_coerce2 = __commonJS({
84947
86678
  });
84948
86679
 
84949
86680
  // node_modules/semver/classes/range.js
84950
- var require_range2 = __commonJS({
86681
+ var require_range3 = __commonJS({
84951
86682
  "node_modules/semver/classes/range.js"(exports2, module2) {
84952
86683
  var Range = class {
84953
86684
  constructor(range, options2) {
@@ -85065,17 +86796,17 @@ var require_range2 = __commonJS({
85065
86796
  module2.exports = Range;
85066
86797
  var LRU = require_lru_cache();
85067
86798
  var cache = new LRU({ max: 1e3 });
85068
- var parseOptions = require_parse_options2();
85069
- var Comparator = require_comparator2();
85070
- var debug = require_debug3();
85071
- var SemVer = require_semver6();
86799
+ var parseOptions = require_parse_options3();
86800
+ var Comparator = require_comparator3();
86801
+ var debug = require_debug4();
86802
+ var SemVer = require_semver8();
85072
86803
  var {
85073
86804
  re,
85074
86805
  t,
85075
86806
  comparatorTrimReplace,
85076
86807
  tildeTrimReplace,
85077
86808
  caretTrimReplace
85078
- } = require_re2();
86809
+ } = require_re3();
85079
86810
  var isNullSet = (c) => c.value === "<0.0.0-0";
85080
86811
  var isAny = (c) => c.value === "";
85081
86812
  var isSatisfiable = (comparators, options2) => {
@@ -85296,7 +87027,7 @@ var require_range2 = __commonJS({
85296
87027
  });
85297
87028
 
85298
87029
  // node_modules/semver/classes/comparator.js
85299
- var require_comparator2 = __commonJS({
87030
+ var require_comparator3 = __commonJS({
85300
87031
  "node_modules/semver/classes/comparator.js"(exports2, module2) {
85301
87032
  var ANY = Symbol("SemVer ANY");
85302
87033
  var Comparator = class {
@@ -85387,19 +87118,19 @@ var require_comparator2 = __commonJS({
85387
87118
  }
85388
87119
  };
85389
87120
  module2.exports = Comparator;
85390
- var parseOptions = require_parse_options2();
85391
- var { re, t } = require_re2();
85392
- var cmp = require_cmp2();
85393
- var debug = require_debug3();
85394
- var SemVer = require_semver6();
85395
- var Range = require_range2();
87121
+ var parseOptions = require_parse_options3();
87122
+ var { re, t } = require_re3();
87123
+ var cmp = require_cmp3();
87124
+ var debug = require_debug4();
87125
+ var SemVer = require_semver8();
87126
+ var Range = require_range3();
85396
87127
  }
85397
87128
  });
85398
87129
 
85399
87130
  // node_modules/semver/functions/satisfies.js
85400
- var require_satisfies2 = __commonJS({
87131
+ var require_satisfies3 = __commonJS({
85401
87132
  "node_modules/semver/functions/satisfies.js"(exports2, module2) {
85402
- var Range = require_range2();
87133
+ var Range = require_range3();
85403
87134
  var satisfies = (version, range, options2) => {
85404
87135
  try {
85405
87136
  range = new Range(range, options2);
@@ -85413,19 +87144,19 @@ var require_satisfies2 = __commonJS({
85413
87144
  });
85414
87145
 
85415
87146
  // node_modules/semver/ranges/to-comparators.js
85416
- var require_to_comparators2 = __commonJS({
87147
+ var require_to_comparators3 = __commonJS({
85417
87148
  "node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
85418
- var Range = require_range2();
87149
+ var Range = require_range3();
85419
87150
  var toComparators = (range, options2) => new Range(range, options2).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
85420
87151
  module2.exports = toComparators;
85421
87152
  }
85422
87153
  });
85423
87154
 
85424
87155
  // node_modules/semver/ranges/max-satisfying.js
85425
- var require_max_satisfying2 = __commonJS({
87156
+ var require_max_satisfying3 = __commonJS({
85426
87157
  "node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
85427
- var SemVer = require_semver6();
85428
- var Range = require_range2();
87158
+ var SemVer = require_semver8();
87159
+ var Range = require_range3();
85429
87160
  var maxSatisfying2 = (versions, range, options2) => {
85430
87161
  let max = null;
85431
87162
  let maxSV = null;
@@ -85450,10 +87181,10 @@ var require_max_satisfying2 = __commonJS({
85450
87181
  });
85451
87182
 
85452
87183
  // node_modules/semver/ranges/min-satisfying.js
85453
- var require_min_satisfying2 = __commonJS({
87184
+ var require_min_satisfying3 = __commonJS({
85454
87185
  "node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
85455
- var SemVer = require_semver6();
85456
- var Range = require_range2();
87186
+ var SemVer = require_semver8();
87187
+ var Range = require_range3();
85457
87188
  var minSatisfying = (versions, range, options2) => {
85458
87189
  let min = null;
85459
87190
  let minSV = null;
@@ -85478,11 +87209,11 @@ var require_min_satisfying2 = __commonJS({
85478
87209
  });
85479
87210
 
85480
87211
  // node_modules/semver/ranges/min-version.js
85481
- var require_min_version2 = __commonJS({
87212
+ var require_min_version3 = __commonJS({
85482
87213
  "node_modules/semver/ranges/min-version.js"(exports2, module2) {
85483
- var SemVer = require_semver6();
85484
- var Range = require_range2();
85485
- var gt2 = require_gt2();
87214
+ var SemVer = require_semver8();
87215
+ var Range = require_range3();
87216
+ var gt2 = require_gt3();
85486
87217
  var minVersion = (range, loose) => {
85487
87218
  range = new Range(range, loose);
85488
87219
  let minver = new SemVer("0.0.0");
@@ -85533,9 +87264,9 @@ var require_min_version2 = __commonJS({
85533
87264
  });
85534
87265
 
85535
87266
  // node_modules/semver/ranges/valid.js
85536
- var require_valid4 = __commonJS({
87267
+ var require_valid6 = __commonJS({
85537
87268
  "node_modules/semver/ranges/valid.js"(exports2, module2) {
85538
- var Range = require_range2();
87269
+ var Range = require_range3();
85539
87270
  var validRange = (range, options2) => {
85540
87271
  try {
85541
87272
  return new Range(range, options2).range || "*";
@@ -85548,17 +87279,17 @@ var require_valid4 = __commonJS({
85548
87279
  });
85549
87280
 
85550
87281
  // node_modules/semver/ranges/outside.js
85551
- var require_outside2 = __commonJS({
87282
+ var require_outside3 = __commonJS({
85552
87283
  "node_modules/semver/ranges/outside.js"(exports2, module2) {
85553
- var SemVer = require_semver6();
85554
- var Comparator = require_comparator2();
87284
+ var SemVer = require_semver8();
87285
+ var Comparator = require_comparator3();
85555
87286
  var { ANY } = Comparator;
85556
- var Range = require_range2();
85557
- var satisfies = require_satisfies2();
85558
- var gt2 = require_gt2();
85559
- var lt = require_lt2();
85560
- var lte = require_lte2();
85561
- var gte = require_gte2();
87287
+ var Range = require_range3();
87288
+ var satisfies = require_satisfies3();
87289
+ var gt2 = require_gt3();
87290
+ var lt = require_lt3();
87291
+ var lte = require_lte3();
87292
+ var gte = require_gte3();
85562
87293
  var outside = (version, range, hilo, options2) => {
85563
87294
  version = new SemVer(version, options2);
85564
87295
  range = new Range(range, options2);
@@ -85616,27 +87347,27 @@ var require_outside2 = __commonJS({
85616
87347
  });
85617
87348
 
85618
87349
  // node_modules/semver/ranges/gtr.js
85619
- var require_gtr2 = __commonJS({
87350
+ var require_gtr3 = __commonJS({
85620
87351
  "node_modules/semver/ranges/gtr.js"(exports2, module2) {
85621
- var outside = require_outside2();
87352
+ var outside = require_outside3();
85622
87353
  var gtr = (version, range, options2) => outside(version, range, ">", options2);
85623
87354
  module2.exports = gtr;
85624
87355
  }
85625
87356
  });
85626
87357
 
85627
87358
  // node_modules/semver/ranges/ltr.js
85628
- var require_ltr2 = __commonJS({
87359
+ var require_ltr3 = __commonJS({
85629
87360
  "node_modules/semver/ranges/ltr.js"(exports2, module2) {
85630
- var outside = require_outside2();
87361
+ var outside = require_outside3();
85631
87362
  var ltr = (version, range, options2) => outside(version, range, "<", options2);
85632
87363
  module2.exports = ltr;
85633
87364
  }
85634
87365
  });
85635
87366
 
85636
87367
  // node_modules/semver/ranges/intersects.js
85637
- var require_intersects2 = __commonJS({
87368
+ var require_intersects3 = __commonJS({
85638
87369
  "node_modules/semver/ranges/intersects.js"(exports2, module2) {
85639
- var Range = require_range2();
87370
+ var Range = require_range3();
85640
87371
  var intersects = (r1, r2, options2) => {
85641
87372
  r1 = new Range(r1, options2);
85642
87373
  r2 = new Range(r2, options2);
@@ -85647,10 +87378,10 @@ var require_intersects2 = __commonJS({
85647
87378
  });
85648
87379
 
85649
87380
  // node_modules/semver/ranges/simplify.js
85650
- var require_simplify2 = __commonJS({
87381
+ var require_simplify3 = __commonJS({
85651
87382
  "node_modules/semver/ranges/simplify.js"(exports2, module2) {
85652
- var satisfies = require_satisfies2();
85653
- var compare = require_compare2();
87383
+ var satisfies = require_satisfies3();
87384
+ var compare = require_compare3();
85654
87385
  module2.exports = (versions, range, options2) => {
85655
87386
  const set = [];
85656
87387
  let min = null;
@@ -85693,13 +87424,13 @@ var require_simplify2 = __commonJS({
85693
87424
  });
85694
87425
 
85695
87426
  // node_modules/semver/ranges/subset.js
85696
- var require_subset2 = __commonJS({
87427
+ var require_subset3 = __commonJS({
85697
87428
  "node_modules/semver/ranges/subset.js"(exports2, module2) {
85698
- var Range = require_range2();
85699
- var Comparator = require_comparator2();
87429
+ var Range = require_range3();
87430
+ var Comparator = require_comparator3();
85700
87431
  var { ANY } = Comparator;
85701
- var satisfies = require_satisfies2();
85702
- var compare = require_compare2();
87432
+ var satisfies = require_satisfies3();
87433
+ var compare = require_compare3();
85703
87434
  var subset = (sub, dom, options2 = {}) => {
85704
87435
  if (sub === dom)
85705
87436
  return true;
@@ -85831,54 +87562,54 @@ var require_subset2 = __commonJS({
85831
87562
  });
85832
87563
 
85833
87564
  // node_modules/semver/index.js
85834
- var require_semver7 = __commonJS({
87565
+ var require_semver9 = __commonJS({
85835
87566
  "node_modules/semver/index.js"(exports2, module2) {
85836
- var internalRe = require_re2();
87567
+ var internalRe = require_re3();
85837
87568
  module2.exports = {
85838
87569
  re: internalRe.re,
85839
87570
  src: internalRe.src,
85840
87571
  tokens: internalRe.t,
85841
- SEMVER_SPEC_VERSION: require_constants8().SEMVER_SPEC_VERSION,
85842
- SemVer: require_semver6(),
85843
- compareIdentifiers: require_identifiers2().compareIdentifiers,
85844
- rcompareIdentifiers: require_identifiers2().rcompareIdentifiers,
85845
- parse: require_parse4(),
85846
- valid: require_valid3(),
85847
- clean: require_clean2(),
85848
- inc: require_inc2(),
85849
- diff: require_diff2(),
85850
- major: require_major2(),
85851
- minor: require_minor2(),
85852
- patch: require_patch2(),
85853
- prerelease: require_prerelease2(),
85854
- compare: require_compare2(),
85855
- rcompare: require_rcompare2(),
85856
- compareLoose: require_compare_loose2(),
85857
- compareBuild: require_compare_build2(),
85858
- sort: require_sort2(),
85859
- rsort: require_rsort2(),
85860
- gt: require_gt2(),
85861
- lt: require_lt2(),
85862
- eq: require_eq3(),
85863
- neq: require_neq2(),
85864
- gte: require_gte2(),
85865
- lte: require_lte2(),
85866
- cmp: require_cmp2(),
85867
- coerce: require_coerce2(),
85868
- Comparator: require_comparator2(),
85869
- Range: require_range2(),
85870
- satisfies: require_satisfies2(),
85871
- toComparators: require_to_comparators2(),
85872
- maxSatisfying: require_max_satisfying2(),
85873
- minSatisfying: require_min_satisfying2(),
85874
- minVersion: require_min_version2(),
85875
- validRange: require_valid4(),
85876
- outside: require_outside2(),
85877
- gtr: require_gtr2(),
85878
- ltr: require_ltr2(),
85879
- intersects: require_intersects2(),
85880
- simplifyRange: require_simplify2(),
85881
- subset: require_subset2()
87572
+ SEMVER_SPEC_VERSION: require_constants9().SEMVER_SPEC_VERSION,
87573
+ SemVer: require_semver8(),
87574
+ compareIdentifiers: require_identifiers3().compareIdentifiers,
87575
+ rcompareIdentifiers: require_identifiers3().rcompareIdentifiers,
87576
+ parse: require_parse5(),
87577
+ valid: require_valid5(),
87578
+ clean: require_clean3(),
87579
+ inc: require_inc3(),
87580
+ diff: require_diff3(),
87581
+ major: require_major3(),
87582
+ minor: require_minor3(),
87583
+ patch: require_patch3(),
87584
+ prerelease: require_prerelease3(),
87585
+ compare: require_compare3(),
87586
+ rcompare: require_rcompare3(),
87587
+ compareLoose: require_compare_loose3(),
87588
+ compareBuild: require_compare_build3(),
87589
+ sort: require_sort3(),
87590
+ rsort: require_rsort3(),
87591
+ gt: require_gt3(),
87592
+ lt: require_lt3(),
87593
+ eq: require_eq4(),
87594
+ neq: require_neq3(),
87595
+ gte: require_gte3(),
87596
+ lte: require_lte3(),
87597
+ cmp: require_cmp3(),
87598
+ coerce: require_coerce3(),
87599
+ Comparator: require_comparator3(),
87600
+ Range: require_range3(),
87601
+ satisfies: require_satisfies3(),
87602
+ toComparators: require_to_comparators3(),
87603
+ maxSatisfying: require_max_satisfying3(),
87604
+ minSatisfying: require_min_satisfying3(),
87605
+ minVersion: require_min_version3(),
87606
+ validRange: require_valid6(),
87607
+ outside: require_outside3(),
87608
+ gtr: require_gtr3(),
87609
+ ltr: require_ltr3(),
87610
+ intersects: require_intersects3(),
87611
+ simplifyRange: require_simplify3(),
87612
+ subset: require_subset3()
85882
87613
  };
85883
87614
  }
85884
87615
  });
@@ -86065,7 +87796,7 @@ var import_fs2 = require("@ui5/fs");
86065
87796
  var import_project_spec = __toESM(require_dist3());
86066
87797
  var import_ux_telemetry = __toESM(require_src8());
86067
87798
  var import_ux_ui5_info = __toESM(require_dist8());
86068
- var import_semver = __toESM(require_semver7());
87799
+ var import_semver = __toESM(require_semver9());
86069
87800
  var import_axios = __toESM(require_axios2());
86070
87801
  var getHtmlFile = (url) => {
86071
87802
  let html = url;