@sap/ux-ui5-tooling 1.6.7 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +2 -0
- package/dist/cli/index.js +6907 -6872
- package/dist/middlewares/fiori-tools-appreload.js +119 -215
- package/dist/middlewares/fiori-tools-preview.js +2367 -739
- package/dist/middlewares/fiori-tools-proxy.js +26652 -22496
- package/dist/middlewares/fiori-tools-servestatic.js +121 -219
- package/dist/tasks/cf-deploy/index.js +513 -410
- package/dist/tasks/deploy/index.js +815 -782
- package/dist/templates/control-property-editor/app.css +1 -1
- package/dist/templates/control-property-editor/app.js +49 -50
- package/dist/templates/control-property-editor/ui5-adaptation.js +1 -1
- package/dist/templates/variants-management/preview.html +1 -1
- package/package.json +12 -12
|
@@ -1,26 +1,9 @@
|
|
|
1
1
|
var __create = Object.create;
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defProps = Object.defineProperties;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
5
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
11
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
-
var __spreadValues = (a, b) => {
|
|
13
|
-
for (var prop in b || (b = {}))
|
|
14
|
-
if (__hasOwnProp.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
if (__getOwnPropSymbols)
|
|
17
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
18
|
-
if (__propIsEnum.call(b, prop))
|
|
19
|
-
__defNormalProp(a, prop, b[prop]);
|
|
20
|
-
}
|
|
21
|
-
return a;
|
|
22
|
-
};
|
|
23
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
24
7
|
var __esm = (fn, res) => function __init() {
|
|
25
8
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
26
9
|
};
|
|
@@ -45,10 +28,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
45
28
|
// ../../node_modules/@babel/runtime/helpers/esm/typeof.js
|
|
46
29
|
function _typeof2(obj) {
|
|
47
30
|
"@babel/helpers - typeof";
|
|
48
|
-
return _typeof2 = typeof Symbol
|
|
31
|
+
return _typeof2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
49
32
|
return typeof obj2;
|
|
50
33
|
} : function(obj2) {
|
|
51
|
-
return obj2 && typeof Symbol
|
|
34
|
+
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
52
35
|
}, _typeof2(obj);
|
|
53
36
|
}
|
|
54
37
|
var init_typeof = __esm({
|
|
@@ -3090,6 +3073,7 @@ var require_dist = __commonJS({
|
|
|
3090
3073
|
TemplateFileName4["ControlPropertyEditor"] = "control-property-editor";
|
|
3091
3074
|
TemplateFileName4["ControlPropertyEditorHtml"] = "editor.html";
|
|
3092
3075
|
TemplateFileName4["AdaptationSettings"] = "adaptation-app-settings";
|
|
3076
|
+
TemplateFileName4["LibrarySettings"] = "library-settings";
|
|
3093
3077
|
TemplateFileName4["XSAppTmpl"] = "xs-app.json.tmpl";
|
|
3094
3078
|
TemplateFileName4["AppSettingsV4"] = "app-settings-v4";
|
|
3095
3079
|
TemplateFileName4["ModulePathForTests"] = "ModulePathForTests.js";
|
|
@@ -3300,6 +3284,7 @@ var require_constants = __commonJS({
|
|
|
3300
3284
|
DirName4["Csv"] = "csv";
|
|
3301
3285
|
DirName4["Data"] = "data";
|
|
3302
3286
|
DirName4["Mockdata"] = "mockdata";
|
|
3287
|
+
DirName4["Dist"] = "dist";
|
|
3303
3288
|
})(DirName3 = exports2.DirName || (exports2.DirName = {}));
|
|
3304
3289
|
var FileName2;
|
|
3305
3290
|
(function(FileName3) {
|
|
@@ -3316,6 +3301,7 @@ var require_constants = __commonJS({
|
|
|
3316
3301
|
FileName3["Ui5Yaml"] = "ui5.yaml";
|
|
3317
3302
|
FileName3["Ui5LocalYaml"] = "ui5-local.yaml";
|
|
3318
3303
|
FileName3["Ui5MockYaml"] = "ui5-mock.yaml";
|
|
3304
|
+
FileName3["Ui5DeployYaml"] = "ui5-deploy.yaml";
|
|
3319
3305
|
FileName3["fioriSandboxConfig"] = "fioriSandboxConfig.json";
|
|
3320
3306
|
FileName3["View"] = "view.xml";
|
|
3321
3307
|
})(FileName2 = exports2.FileName || (exports2.FileName = {}));
|
|
@@ -5663,7 +5649,7 @@ var require_yaml = __commonJS({
|
|
|
5663
5649
|
}
|
|
5664
5650
|
var directiveHandlers = {
|
|
5665
5651
|
YAML: function handleYamlDirective(state, name, args) {
|
|
5666
|
-
var match,
|
|
5652
|
+
var match, major2, minor2;
|
|
5667
5653
|
if (state.version !== null) {
|
|
5668
5654
|
throwError(state, "duplication of %YAML directive");
|
|
5669
5655
|
}
|
|
@@ -5674,14 +5660,14 @@ var require_yaml = __commonJS({
|
|
|
5674
5660
|
if (match === null) {
|
|
5675
5661
|
throwError(state, "ill-formed argument of the YAML directive");
|
|
5676
5662
|
}
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
if (
|
|
5663
|
+
major2 = parseInt(match[1], 10);
|
|
5664
|
+
minor2 = parseInt(match[2], 10);
|
|
5665
|
+
if (major2 !== 1) {
|
|
5680
5666
|
throwError(state, "unacceptable YAML version of the document");
|
|
5681
5667
|
}
|
|
5682
5668
|
state.version = args[0];
|
|
5683
|
-
state.checkLineBreaks =
|
|
5684
|
-
if (
|
|
5669
|
+
state.checkLineBreaks = minor2 < 2;
|
|
5670
|
+
if (minor2 !== 1 && minor2 !== 2) {
|
|
5685
5671
|
throwWarning(state, "unsupported YAML version of the document");
|
|
5686
5672
|
}
|
|
5687
5673
|
},
|
|
@@ -8517,35 +8503,41 @@ var require_browser = __commonJS({
|
|
|
8517
8503
|
}
|
|
8518
8504
|
});
|
|
8519
8505
|
|
|
8520
|
-
//
|
|
8506
|
+
// ../../node_modules/has-flag/index.js
|
|
8521
8507
|
var require_has_flag = __commonJS({
|
|
8522
|
-
"
|
|
8508
|
+
"../../node_modules/has-flag/index.js"(exports2, module2) {
|
|
8523
8509
|
"use strict";
|
|
8524
|
-
module2.exports = (flag, argv) => {
|
|
8525
|
-
argv = argv || process.argv;
|
|
8510
|
+
module2.exports = (flag, argv = process.argv) => {
|
|
8526
8511
|
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
8527
|
-
const
|
|
8528
|
-
const
|
|
8529
|
-
return
|
|
8512
|
+
const position = argv.indexOf(prefix + flag);
|
|
8513
|
+
const terminatorPosition = argv.indexOf("--");
|
|
8514
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
8530
8515
|
};
|
|
8531
8516
|
}
|
|
8532
8517
|
});
|
|
8533
8518
|
|
|
8534
|
-
//
|
|
8519
|
+
// ../../node_modules/supports-color/index.js
|
|
8535
8520
|
var require_supports_color = __commonJS({
|
|
8536
|
-
"
|
|
8521
|
+
"../../node_modules/supports-color/index.js"(exports2, module2) {
|
|
8537
8522
|
"use strict";
|
|
8538
8523
|
var os = require("os");
|
|
8524
|
+
var tty = require("tty");
|
|
8539
8525
|
var hasFlag = require_has_flag();
|
|
8540
|
-
var env = process
|
|
8526
|
+
var { env } = process;
|
|
8541
8527
|
var forceColor;
|
|
8542
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
8543
|
-
forceColor =
|
|
8528
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
8529
|
+
forceColor = 0;
|
|
8544
8530
|
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
8545
|
-
forceColor =
|
|
8531
|
+
forceColor = 1;
|
|
8546
8532
|
}
|
|
8547
8533
|
if ("FORCE_COLOR" in env) {
|
|
8548
|
-
|
|
8534
|
+
if (env.FORCE_COLOR === "true") {
|
|
8535
|
+
forceColor = 1;
|
|
8536
|
+
} else if (env.FORCE_COLOR === "false") {
|
|
8537
|
+
forceColor = 0;
|
|
8538
|
+
} else {
|
|
8539
|
+
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
8540
|
+
}
|
|
8549
8541
|
}
|
|
8550
8542
|
function translateLevel(level) {
|
|
8551
8543
|
if (level === 0) {
|
|
@@ -8558,8 +8550,8 @@ var require_supports_color = __commonJS({
|
|
|
8558
8550
|
has16m: level >= 3
|
|
8559
8551
|
};
|
|
8560
8552
|
}
|
|
8561
|
-
function supportsColor(
|
|
8562
|
-
if (forceColor ===
|
|
8553
|
+
function supportsColor(haveStream, streamIsTTY) {
|
|
8554
|
+
if (forceColor === 0) {
|
|
8563
8555
|
return 0;
|
|
8564
8556
|
}
|
|
8565
8557
|
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
@@ -8568,19 +8560,22 @@ var require_supports_color = __commonJS({
|
|
|
8568
8560
|
if (hasFlag("color=256")) {
|
|
8569
8561
|
return 2;
|
|
8570
8562
|
}
|
|
8571
|
-
if (
|
|
8563
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
8572
8564
|
return 0;
|
|
8573
8565
|
}
|
|
8574
|
-
const min = forceColor
|
|
8566
|
+
const min = forceColor || 0;
|
|
8567
|
+
if (env.TERM === "dumb") {
|
|
8568
|
+
return min;
|
|
8569
|
+
}
|
|
8575
8570
|
if (process.platform === "win32") {
|
|
8576
8571
|
const osRelease = os.release().split(".");
|
|
8577
|
-
if (Number(
|
|
8572
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
8578
8573
|
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
8579
8574
|
}
|
|
8580
8575
|
return 1;
|
|
8581
8576
|
}
|
|
8582
8577
|
if ("CI" in env) {
|
|
8583
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
8578
|
+
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
8584
8579
|
return 1;
|
|
8585
8580
|
}
|
|
8586
8581
|
return min;
|
|
@@ -8609,19 +8604,16 @@ var require_supports_color = __commonJS({
|
|
|
8609
8604
|
if ("COLORTERM" in env) {
|
|
8610
8605
|
return 1;
|
|
8611
8606
|
}
|
|
8612
|
-
if (env.TERM === "dumb") {
|
|
8613
|
-
return min;
|
|
8614
|
-
}
|
|
8615
8607
|
return min;
|
|
8616
8608
|
}
|
|
8617
8609
|
function getSupportLevel(stream) {
|
|
8618
|
-
const level = supportsColor(stream);
|
|
8610
|
+
const level = supportsColor(stream, stream && stream.isTTY);
|
|
8619
8611
|
return translateLevel(level);
|
|
8620
8612
|
}
|
|
8621
8613
|
module2.exports = {
|
|
8622
8614
|
supportsColor: getSupportLevel,
|
|
8623
|
-
stdout:
|
|
8624
|
-
stderr:
|
|
8615
|
+
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
8616
|
+
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
8625
8617
|
};
|
|
8626
8618
|
}
|
|
8627
8619
|
});
|
|
@@ -8825,9 +8817,10 @@ var require_utils3 = __commonJS({
|
|
|
8825
8817
|
}, {}) || void 0;
|
|
8826
8818
|
};
|
|
8827
8819
|
function getExtendedLogger(l) {
|
|
8828
|
-
return
|
|
8820
|
+
return {
|
|
8821
|
+
...l,
|
|
8829
8822
|
debug: exports2.newDebugLogger()
|
|
8830
|
-
}
|
|
8823
|
+
};
|
|
8831
8824
|
}
|
|
8832
8825
|
exports2.getExtendedLogger = getExtendedLogger;
|
|
8833
8826
|
}
|
|
@@ -10391,7 +10384,7 @@ var require_hybrid = __commonJS({
|
|
|
10391
10384
|
this.logger.debug(`hybrid/read - id: [${id}]. Found sensitive data in secure store`);
|
|
10392
10385
|
}
|
|
10393
10386
|
if (serialized || sensitiveData) {
|
|
10394
|
-
return
|
|
10387
|
+
return { ...serialized, ...sensitiveData };
|
|
10395
10388
|
} else {
|
|
10396
10389
|
return void 0;
|
|
10397
10390
|
}
|
|
@@ -10404,7 +10397,7 @@ var require_hybrid = __commonJS({
|
|
|
10404
10397
|
const entitiesFs = await this.filesystem.readAll({ entityName }) || {};
|
|
10405
10398
|
const entitiesInSecureStore = await this.secureStore.getAll(getFullyQualifiedServiceName(entityName)) || {};
|
|
10406
10399
|
for (const key of /* @__PURE__ */ new Set([...Object.keys(entitiesFs), ...Object.keys(entitiesInSecureStore)])) {
|
|
10407
|
-
const entity =
|
|
10400
|
+
const entity = { ...entitiesFs[key], ...entitiesInSecureStore[key] };
|
|
10408
10401
|
result2[key] = entity;
|
|
10409
10402
|
}
|
|
10410
10403
|
return result2;
|
|
@@ -10560,7 +10553,7 @@ var require_backend_system2 = __commonJS({
|
|
|
10560
10553
|
async write(entity) {
|
|
10561
10554
|
let e;
|
|
10562
10555
|
if (!(entity instanceof backend_system_1.BackendSystem)) {
|
|
10563
|
-
e = new backend_system_1.BackendSystem(
|
|
10556
|
+
e = new backend_system_1.BackendSystem({ ...entity });
|
|
10564
10557
|
} else {
|
|
10565
10558
|
e = entity;
|
|
10566
10559
|
}
|
|
@@ -10706,7 +10699,7 @@ var require_system_migration2 = __commonJS({
|
|
|
10706
10699
|
authTypeMigrated = dirty = true;
|
|
10707
10700
|
}
|
|
10708
10701
|
return {
|
|
10709
|
-
migrationStatus:
|
|
10702
|
+
migrationStatus: { ...this.systemMigrationStatus, migrationDone, authTypeMigrated },
|
|
10710
10703
|
dirty
|
|
10711
10704
|
};
|
|
10712
10705
|
}
|
|
@@ -10721,7 +10714,7 @@ var require_system_migration2 = __commonJS({
|
|
|
10721
10714
|
if (refreshToken) {
|
|
10722
10715
|
this.logger.info(i18n_1.text("info.foundRefreshToken", { systemId }));
|
|
10723
10716
|
}
|
|
10724
|
-
await this.saveBackendSystem(new backend_system_1.BackendSystem(
|
|
10717
|
+
await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...oldSystem, refreshToken }));
|
|
10725
10718
|
await this.secureStore.delete(contants_1.ServiceName.OldSystemService, systemId);
|
|
10726
10719
|
if (refreshToken) {
|
|
10727
10720
|
await this.deleteOldRefreshToken(oldSystem, systemId);
|
|
@@ -10753,7 +10746,7 @@ var require_system_migration2 = __commonJS({
|
|
|
10753
10746
|
const authenticationType = this.guessAuthType(existingSystem);
|
|
10754
10747
|
if (authenticationType) {
|
|
10755
10748
|
this.logger.info(i18n_1.text("info.authTypeDetermined", { authenticationType, systemId }));
|
|
10756
|
-
await this.saveBackendSystem(new backend_system_1.BackendSystem(
|
|
10749
|
+
await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...existingSystem, authenticationType }));
|
|
10757
10750
|
} else {
|
|
10758
10751
|
this.logger.info(i18n_1.text("info.authTypeNotDetermined", { systemId }));
|
|
10759
10752
|
}
|
|
@@ -10792,7 +10785,7 @@ var require_system_migration2 = __commonJS({
|
|
|
10792
10785
|
async updateRefreshTokenInStoredSystem(system, refreshToken, systemId) {
|
|
10793
10786
|
if (system.refreshToken !== refreshToken) {
|
|
10794
10787
|
this.logger.info(i18n_1.text("info.updatingRefreshTokenInNewStore", { systemId }));
|
|
10795
|
-
await this.saveBackendSystem(new backend_system_1.BackendSystem(
|
|
10788
|
+
await this.saveBackendSystem(new backend_system_1.BackendSystem({ ...system, refreshToken }));
|
|
10796
10789
|
}
|
|
10797
10790
|
}
|
|
10798
10791
|
async saveBackendSystem(backendSystem) {
|
|
@@ -10823,9 +10816,10 @@ var require_system_migration2 = __commonJS({
|
|
|
10823
10816
|
});
|
|
10824
10817
|
const { migrationStatus: updatedStatus, dirty } = await migration.run();
|
|
10825
10818
|
if (dirty) {
|
|
10826
|
-
await systemMigrationStatusDataProvider.write(new system_migration_status_1.SystemMigrationStatus(
|
|
10819
|
+
await systemMigrationStatusDataProvider.write(new system_migration_status_1.SystemMigrationStatus({
|
|
10820
|
+
...updatedStatus,
|
|
10827
10821
|
migrationLogs: updatedStatus.migrationLogs.slice(-200)
|
|
10828
|
-
}))
|
|
10822
|
+
}));
|
|
10829
10823
|
}
|
|
10830
10824
|
} catch (e) {
|
|
10831
10825
|
logger.warn(i18n_1.text("error.systemMigrationFailed"));
|
|
@@ -10882,11 +10876,11 @@ var require_backend_system3 = __commonJS({
|
|
|
10882
10876
|
return this.write(updatedEntity);
|
|
10883
10877
|
}
|
|
10884
10878
|
mergeProperties(update, existingSystem) {
|
|
10885
|
-
const patch =
|
|
10879
|
+
const patch = { ...update };
|
|
10886
10880
|
delete patch.url;
|
|
10887
10881
|
delete patch.client;
|
|
10888
|
-
const updatedEntity =
|
|
10889
|
-
return new backend_system_2.BackendSystem(
|
|
10882
|
+
const updatedEntity = { ...existingSystem, ...patch };
|
|
10883
|
+
return new backend_system_2.BackendSystem({ ...updatedEntity });
|
|
10890
10884
|
}
|
|
10891
10885
|
async readOrThrow(key) {
|
|
10892
10886
|
const existingSystem = await this.read(key);
|
|
@@ -11031,6 +11025,11 @@ var require_config = __commonJS({
|
|
|
11031
11025
|
return (_b = destinationAttribs && ((_a2 = destinationAttribs["WebIDEAdditionalData"]) == null ? void 0 : _a2.includes(exports2.DestinationAttributeProperty.FULL_URL))) != null ? _b : false;
|
|
11032
11026
|
}
|
|
11033
11027
|
exports2.hasFullUrlDestAttribute = hasFullUrlDestAttribute;
|
|
11028
|
+
function hasHTML5DynamicDestinationAttrib(destinationAttribs) {
|
|
11029
|
+
var _a2;
|
|
11030
|
+
return (_a2 = destinationAttribs && destinationAttribs["HTML5.DynamicDestination"] === "true") != null ? _a2 : false;
|
|
11031
|
+
}
|
|
11032
|
+
exports2.hasHTML5DynamicDestinationAttrib = hasHTML5DynamicDestinationAttrib;
|
|
11034
11033
|
}
|
|
11035
11034
|
});
|
|
11036
11035
|
|
|
@@ -12006,121 +12005,6 @@ var require_browser2 = __commonJS({
|
|
|
12006
12005
|
}
|
|
12007
12006
|
});
|
|
12008
12007
|
|
|
12009
|
-
// ../../node_modules/has-flag/index.js
|
|
12010
|
-
var require_has_flag2 = __commonJS({
|
|
12011
|
-
"../../node_modules/has-flag/index.js"(exports2, module2) {
|
|
12012
|
-
"use strict";
|
|
12013
|
-
module2.exports = (flag, argv = process.argv) => {
|
|
12014
|
-
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
12015
|
-
const position = argv.indexOf(prefix + flag);
|
|
12016
|
-
const terminatorPosition = argv.indexOf("--");
|
|
12017
|
-
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
12018
|
-
};
|
|
12019
|
-
}
|
|
12020
|
-
});
|
|
12021
|
-
|
|
12022
|
-
// ../../node_modules/supports-color/index.js
|
|
12023
|
-
var require_supports_color2 = __commonJS({
|
|
12024
|
-
"../../node_modules/supports-color/index.js"(exports2, module2) {
|
|
12025
|
-
"use strict";
|
|
12026
|
-
var os = require("os");
|
|
12027
|
-
var tty = require("tty");
|
|
12028
|
-
var hasFlag = require_has_flag2();
|
|
12029
|
-
var { env } = process;
|
|
12030
|
-
var forceColor;
|
|
12031
|
-
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) {
|
|
12032
|
-
forceColor = 0;
|
|
12033
|
-
} else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) {
|
|
12034
|
-
forceColor = 1;
|
|
12035
|
-
}
|
|
12036
|
-
if ("FORCE_COLOR" in env) {
|
|
12037
|
-
if (env.FORCE_COLOR === "true") {
|
|
12038
|
-
forceColor = 1;
|
|
12039
|
-
} else if (env.FORCE_COLOR === "false") {
|
|
12040
|
-
forceColor = 0;
|
|
12041
|
-
} else {
|
|
12042
|
-
forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
|
|
12043
|
-
}
|
|
12044
|
-
}
|
|
12045
|
-
function translateLevel(level) {
|
|
12046
|
-
if (level === 0) {
|
|
12047
|
-
return false;
|
|
12048
|
-
}
|
|
12049
|
-
return {
|
|
12050
|
-
level,
|
|
12051
|
-
hasBasic: true,
|
|
12052
|
-
has256: level >= 2,
|
|
12053
|
-
has16m: level >= 3
|
|
12054
|
-
};
|
|
12055
|
-
}
|
|
12056
|
-
function supportsColor(haveStream, streamIsTTY) {
|
|
12057
|
-
if (forceColor === 0) {
|
|
12058
|
-
return 0;
|
|
12059
|
-
}
|
|
12060
|
-
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) {
|
|
12061
|
-
return 3;
|
|
12062
|
-
}
|
|
12063
|
-
if (hasFlag("color=256")) {
|
|
12064
|
-
return 2;
|
|
12065
|
-
}
|
|
12066
|
-
if (haveStream && !streamIsTTY && forceColor === void 0) {
|
|
12067
|
-
return 0;
|
|
12068
|
-
}
|
|
12069
|
-
const min = forceColor || 0;
|
|
12070
|
-
if (env.TERM === "dumb") {
|
|
12071
|
-
return min;
|
|
12072
|
-
}
|
|
12073
|
-
if (process.platform === "win32") {
|
|
12074
|
-
const osRelease = os.release().split(".");
|
|
12075
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
|
|
12076
|
-
return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
12077
|
-
}
|
|
12078
|
-
return 1;
|
|
12079
|
-
}
|
|
12080
|
-
if ("CI" in env) {
|
|
12081
|
-
if (["TRAVIS", "CIRCLECI", "APPVEYOR", "GITLAB_CI", "GITHUB_ACTIONS", "BUILDKITE"].some((sign) => sign in env) || env.CI_NAME === "codeship") {
|
|
12082
|
-
return 1;
|
|
12083
|
-
}
|
|
12084
|
-
return min;
|
|
12085
|
-
}
|
|
12086
|
-
if ("TEAMCITY_VERSION" in env) {
|
|
12087
|
-
return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
12088
|
-
}
|
|
12089
|
-
if (env.COLORTERM === "truecolor") {
|
|
12090
|
-
return 3;
|
|
12091
|
-
}
|
|
12092
|
-
if ("TERM_PROGRAM" in env) {
|
|
12093
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
12094
|
-
switch (env.TERM_PROGRAM) {
|
|
12095
|
-
case "iTerm.app":
|
|
12096
|
-
return version >= 3 ? 3 : 2;
|
|
12097
|
-
case "Apple_Terminal":
|
|
12098
|
-
return 2;
|
|
12099
|
-
}
|
|
12100
|
-
}
|
|
12101
|
-
if (/-256(color)?$/i.test(env.TERM)) {
|
|
12102
|
-
return 2;
|
|
12103
|
-
}
|
|
12104
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
|
|
12105
|
-
return 1;
|
|
12106
|
-
}
|
|
12107
|
-
if ("COLORTERM" in env) {
|
|
12108
|
-
return 1;
|
|
12109
|
-
}
|
|
12110
|
-
return min;
|
|
12111
|
-
}
|
|
12112
|
-
function getSupportLevel(stream) {
|
|
12113
|
-
const level = supportsColor(stream, stream && stream.isTTY);
|
|
12114
|
-
return translateLevel(level);
|
|
12115
|
-
}
|
|
12116
|
-
module2.exports = {
|
|
12117
|
-
supportsColor: getSupportLevel,
|
|
12118
|
-
stdout: translateLevel(supportsColor(true, tty.isatty(1))),
|
|
12119
|
-
stderr: translateLevel(supportsColor(true, tty.isatty(2)))
|
|
12120
|
-
};
|
|
12121
|
-
}
|
|
12122
|
-
});
|
|
12123
|
-
|
|
12124
12008
|
// ../../node_modules/debug/src/node.js
|
|
12125
12009
|
var require_node2 = __commonJS({
|
|
12126
12010
|
"../../node_modules/debug/src/node.js"(exports2, module2) {
|
|
@@ -12134,7 +12018,7 @@ var require_node2 = __commonJS({
|
|
|
12134
12018
|
exports2.useColors = useColors;
|
|
12135
12019
|
exports2.colors = [6, 2, 3, 4, 5, 1];
|
|
12136
12020
|
try {
|
|
12137
|
-
const supportsColor =
|
|
12021
|
+
const supportsColor = require_supports_color();
|
|
12138
12022
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) {
|
|
12139
12023
|
exports2.colors = [
|
|
12140
12024
|
20,
|
|
@@ -13579,19 +13463,19 @@ var require_axios = __commonJS({
|
|
|
13579
13463
|
};
|
|
13580
13464
|
return instance;
|
|
13581
13465
|
}
|
|
13582
|
-
var
|
|
13583
|
-
|
|
13584
|
-
|
|
13585
|
-
|
|
13586
|
-
|
|
13587
|
-
|
|
13588
|
-
|
|
13466
|
+
var axios2 = createInstance(defaults);
|
|
13467
|
+
axios2.Axios = Axios;
|
|
13468
|
+
axios2.Cancel = require_Cancel();
|
|
13469
|
+
axios2.CancelToken = require_CancelToken();
|
|
13470
|
+
axios2.isCancel = require_isCancel();
|
|
13471
|
+
axios2.VERSION = require_data().version;
|
|
13472
|
+
axios2.all = function all(promises3) {
|
|
13589
13473
|
return Promise.all(promises3);
|
|
13590
13474
|
};
|
|
13591
|
-
|
|
13592
|
-
|
|
13593
|
-
module2.exports =
|
|
13594
|
-
module2.exports.default =
|
|
13475
|
+
axios2.spread = require_spread();
|
|
13476
|
+
axios2.isAxiosError = require_isAxiosError();
|
|
13477
|
+
module2.exports = axios2;
|
|
13478
|
+
module2.exports.default = axios2;
|
|
13595
13479
|
}
|
|
13596
13480
|
});
|
|
13597
13481
|
|
|
@@ -13714,34 +13598,53 @@ var require_open = __commonJS({
|
|
|
13714
13598
|
var isWsl = require_is_wsl();
|
|
13715
13599
|
var isDocker = require_is_docker();
|
|
13716
13600
|
var pAccess = promisify(fs2.access);
|
|
13717
|
-
var
|
|
13601
|
+
var pReadFile = promisify(fs2.readFile);
|
|
13718
13602
|
var localXdgOpenPath = path.join(__dirname, "xdg-open");
|
|
13719
|
-
var
|
|
13720
|
-
const
|
|
13721
|
-
|
|
13722
|
-
|
|
13603
|
+
var getWslDrivesMountPoint = (() => {
|
|
13604
|
+
const defaultMountPoint = "/mnt/";
|
|
13605
|
+
let mountPoint;
|
|
13606
|
+
return async function() {
|
|
13607
|
+
if (mountPoint) {
|
|
13608
|
+
return mountPoint;
|
|
13609
|
+
}
|
|
13610
|
+
const configFilePath = "/etc/wsl.conf";
|
|
13611
|
+
let isConfigFileExists = false;
|
|
13612
|
+
try {
|
|
13613
|
+
await pAccess(configFilePath, fs2.constants.F_OK);
|
|
13614
|
+
isConfigFileExists = true;
|
|
13615
|
+
} catch (_45) {
|
|
13616
|
+
}
|
|
13617
|
+
if (!isConfigFileExists) {
|
|
13618
|
+
return defaultMountPoint;
|
|
13619
|
+
}
|
|
13620
|
+
const configContent = await pReadFile(configFilePath, { encoding: "utf8" });
|
|
13621
|
+
const configMountPoint = /root\s*=\s*(.*)/g.exec(configContent);
|
|
13622
|
+
if (!configMountPoint) {
|
|
13623
|
+
return defaultMountPoint;
|
|
13624
|
+
}
|
|
13625
|
+
mountPoint = configMountPoint[1].trim();
|
|
13626
|
+
mountPoint = mountPoint.endsWith("/") ? mountPoint : mountPoint + "/";
|
|
13627
|
+
return mountPoint;
|
|
13628
|
+
};
|
|
13629
|
+
})();
|
|
13723
13630
|
module2.exports = async (target, options2) => {
|
|
13724
13631
|
if (typeof target !== "string") {
|
|
13725
13632
|
throw new TypeError("Expected a `target`");
|
|
13726
13633
|
}
|
|
13727
|
-
options2 =
|
|
13634
|
+
options2 = {
|
|
13728
13635
|
wait: false,
|
|
13729
13636
|
background: false,
|
|
13730
|
-
|
|
13731
|
-
|
|
13637
|
+
allowNonzeroExitCode: false,
|
|
13638
|
+
...options2
|
|
13639
|
+
};
|
|
13732
13640
|
let command;
|
|
13641
|
+
let { app } = options2;
|
|
13733
13642
|
let appArguments = [];
|
|
13734
13643
|
const cliArguments = [];
|
|
13735
13644
|
const childProcessOptions = {};
|
|
13736
|
-
if (Array.isArray(
|
|
13737
|
-
appArguments =
|
|
13738
|
-
|
|
13739
|
-
}
|
|
13740
|
-
if (options2.url) {
|
|
13741
|
-
target = encodeURI(target);
|
|
13742
|
-
if (isWsl) {
|
|
13743
|
-
target = target.replace(/&/g, "^&");
|
|
13744
|
-
}
|
|
13645
|
+
if (Array.isArray(app)) {
|
|
13646
|
+
appArguments = app.slice(1);
|
|
13647
|
+
app = app[0];
|
|
13745
13648
|
}
|
|
13746
13649
|
if (process.platform === "darwin") {
|
|
13747
13650
|
command = "open";
|
|
@@ -13751,35 +13654,34 @@ var require_open = __commonJS({
|
|
|
13751
13654
|
if (options2.background) {
|
|
13752
13655
|
cliArguments.push("--background");
|
|
13753
13656
|
}
|
|
13754
|
-
if (
|
|
13755
|
-
cliArguments.push("-a",
|
|
13657
|
+
if (app) {
|
|
13658
|
+
cliArguments.push("-a", app);
|
|
13756
13659
|
}
|
|
13757
13660
|
} else if (process.platform === "win32" || isWsl && !isDocker()) {
|
|
13758
|
-
|
|
13759
|
-
|
|
13661
|
+
const mountPoint = await getWslDrivesMountPoint();
|
|
13662
|
+
command = isWsl ? `${mountPoint}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe` : `${process.env.SYSTEMROOT}\\System32\\WindowsPowerShell\\v1.0\\powershell`;
|
|
13663
|
+
cliArguments.push("-NoProfile", "-NonInteractive", "\u2013ExecutionPolicy", "Bypass", "-EncodedCommand");
|
|
13760
13664
|
if (!isWsl) {
|
|
13761
|
-
target = `"${target}"`;
|
|
13762
13665
|
childProcessOptions.windowsVerbatimArguments = true;
|
|
13763
|
-
if (options2.app) {
|
|
13764
|
-
options2.app = `"${options2.app}"`;
|
|
13765
|
-
}
|
|
13766
13666
|
}
|
|
13667
|
+
const encodedArguments = ["Start"];
|
|
13767
13668
|
if (options2.wait) {
|
|
13768
|
-
|
|
13669
|
+
encodedArguments.push("-Wait");
|
|
13769
13670
|
}
|
|
13770
|
-
if (
|
|
13771
|
-
|
|
13772
|
-
|
|
13773
|
-
|
|
13774
|
-
}
|
|
13775
|
-
cliArguments.push(options2.app);
|
|
13671
|
+
if (app) {
|
|
13672
|
+
encodedArguments.push(`"\`"${app}\`""`, "-ArgumentList");
|
|
13673
|
+
appArguments.unshift(target);
|
|
13674
|
+
} else {
|
|
13675
|
+
encodedArguments.push(`"${target}"`);
|
|
13776
13676
|
}
|
|
13777
13677
|
if (appArguments.length > 0) {
|
|
13778
|
-
|
|
13678
|
+
appArguments = appArguments.map((arg) => `"\`"${arg}\`""`);
|
|
13679
|
+
encodedArguments.push(appArguments.join(","));
|
|
13779
13680
|
}
|
|
13681
|
+
target = Buffer.from(encodedArguments.join(" "), "utf16le").toString("base64");
|
|
13780
13682
|
} else {
|
|
13781
|
-
if (
|
|
13782
|
-
command =
|
|
13683
|
+
if (app) {
|
|
13684
|
+
command = app;
|
|
13783
13685
|
} else {
|
|
13784
13686
|
const isBundled = !__dirname || __dirname === "/";
|
|
13785
13687
|
let exeLocalXdgOpen = false;
|
|
@@ -13808,7 +13710,7 @@ var require_open = __commonJS({
|
|
|
13808
13710
|
return new Promise((resolve, reject) => {
|
|
13809
13711
|
subprocess.once("error", reject);
|
|
13810
13712
|
subprocess.once("close", (exitCode) => {
|
|
13811
|
-
if (exitCode > 0) {
|
|
13713
|
+
if (options2.allowNonzeroExitCode && exitCode > 0) {
|
|
13812
13714
|
reject(new Error(`Exited with code ${exitCode}`));
|
|
13813
13715
|
return;
|
|
13814
13716
|
}
|
|
@@ -22622,9 +22524,10 @@ var require_parse2 = __commonJS({
|
|
|
22622
22524
|
var parse_comments = (prefix) => {
|
|
22623
22525
|
const comments = [];
|
|
22624
22526
|
while (current && (is("LineComment") || is("BlockComment"))) {
|
|
22625
|
-
const comment =
|
|
22527
|
+
const comment = {
|
|
22528
|
+
...current,
|
|
22626
22529
|
inline
|
|
22627
|
-
}
|
|
22530
|
+
};
|
|
22628
22531
|
comments.push(comment);
|
|
22629
22532
|
next();
|
|
22630
22533
|
}
|
|
@@ -27000,7 +26903,7 @@ var require_lodash = __commonJS({
|
|
|
27000
26903
|
function eq(value, other) {
|
|
27001
26904
|
return value === other || value !== value && other !== other;
|
|
27002
26905
|
}
|
|
27003
|
-
var
|
|
26906
|
+
var gt2 = createRelationalOperation(baseGt);
|
|
27004
26907
|
var gte = createRelationalOperation(function(value, other) {
|
|
27005
26908
|
return value >= other;
|
|
27006
26909
|
});
|
|
@@ -28136,7 +28039,7 @@ var require_lodash = __commonJS({
|
|
|
28136
28039
|
lodash.forOwn = forOwn;
|
|
28137
28040
|
lodash.forOwnRight = forOwnRight;
|
|
28138
28041
|
lodash.get = get3;
|
|
28139
|
-
lodash.gt =
|
|
28042
|
+
lodash.gt = gt2;
|
|
28140
28043
|
lodash.gte = gte;
|
|
28141
28044
|
lodash.has = has;
|
|
28142
28045
|
lodash.hasIn = hasIn;
|
|
@@ -31010,7 +30913,7 @@ var require_source = __commonJS({
|
|
|
31010
30913
|
"../../node_modules/chalk/source/index.js"(exports2, module2) {
|
|
31011
30914
|
"use strict";
|
|
31012
30915
|
var ansiStyles = require_ansi_styles();
|
|
31013
|
-
var { stdout: stdoutColor, stderr: stderrColor } =
|
|
30916
|
+
var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color();
|
|
31014
30917
|
var {
|
|
31015
30918
|
stringReplaceAll,
|
|
31016
30919
|
stringEncaseCRLFWithFirstIndex
|
|
@@ -31091,7 +30994,8 @@ var require_source = __commonJS({
|
|
|
31091
30994
|
};
|
|
31092
30995
|
}
|
|
31093
30996
|
var proto = Object.defineProperties(() => {
|
|
31094
|
-
},
|
|
30997
|
+
}, {
|
|
30998
|
+
...styles,
|
|
31095
30999
|
level: {
|
|
31096
31000
|
enumerable: true,
|
|
31097
31001
|
get() {
|
|
@@ -31101,7 +31005,7 @@ var require_source = __commonJS({
|
|
|
31101
31005
|
this._generator.level = level;
|
|
31102
31006
|
}
|
|
31103
31007
|
}
|
|
31104
|
-
})
|
|
31008
|
+
});
|
|
31105
31009
|
var createStyler = (open, close, parent) => {
|
|
31106
31010
|
let openAll;
|
|
31107
31011
|
let closeAll;
|
|
@@ -32342,27 +32246,27 @@ var require_utils8 = __commonJS({
|
|
|
32342
32246
|
return isValid;
|
|
32343
32247
|
}
|
|
32344
32248
|
exports2.isSystemNameValid = isSystemNameValid;
|
|
32345
|
-
async function
|
|
32249
|
+
async function hasServices(sapSystem) {
|
|
32346
32250
|
const versions = [__1.ODataVersion.v2, __1.ODataVersion.v4];
|
|
32347
32251
|
const result2 = {};
|
|
32348
32252
|
let error3;
|
|
32349
32253
|
for (const version of versions) {
|
|
32350
32254
|
try {
|
|
32351
32255
|
const catalog = await sapSystem.getCatalog(version);
|
|
32352
|
-
const services = await catalog.listServices(
|
|
32353
|
-
result2[version] = services.length
|
|
32256
|
+
const services = await catalog.listServices();
|
|
32257
|
+
result2[version] = services.length;
|
|
32354
32258
|
} catch (e) {
|
|
32355
|
-
result2[version] =
|
|
32259
|
+
result2[version] = 0;
|
|
32356
32260
|
error3 = e.message;
|
|
32357
32261
|
}
|
|
32358
32262
|
}
|
|
32359
32263
|
return {
|
|
32360
|
-
|
|
32361
|
-
|
|
32264
|
+
v2Count: result2[__1.ODataVersion.v2],
|
|
32265
|
+
v4Count: result2[__1.ODataVersion.v4],
|
|
32362
32266
|
error: error3
|
|
32363
32267
|
};
|
|
32364
32268
|
}
|
|
32365
|
-
exports2.
|
|
32269
|
+
exports2.hasServices = hasServices;
|
|
32366
32270
|
}
|
|
32367
32271
|
});
|
|
32368
32272
|
|
|
@@ -32671,7 +32575,7 @@ var require_atoCatalog = __commonJS({
|
|
|
32671
32575
|
let systemConfig;
|
|
32672
32576
|
let creds;
|
|
32673
32577
|
if (systemInstance) {
|
|
32674
|
-
systemConfig =
|
|
32578
|
+
systemConfig = { ...systemInstance.config, service: common_1.ATO_CATALOG_URL_PATH };
|
|
32675
32579
|
const sys = systemInstance.serialize();
|
|
32676
32580
|
creds = {
|
|
32677
32581
|
username: sys.username,
|
|
@@ -32679,7 +32583,7 @@ var require_atoCatalog = __commonJS({
|
|
|
32679
32583
|
serviceKeysContents: sys.serviceKeys
|
|
32680
32584
|
};
|
|
32681
32585
|
} else {
|
|
32682
|
-
systemConfig =
|
|
32586
|
+
systemConfig = { ...system, service: common_1.ATO_CATALOG_URL_PATH };
|
|
32683
32587
|
if (credentials) {
|
|
32684
32588
|
creds = credentials;
|
|
32685
32589
|
}
|
|
@@ -33108,6 +33012,9 @@ var require_sapSystem = __commonJS({
|
|
|
33108
33012
|
isAbapCatalogDest() {
|
|
33109
33013
|
return this.config.destination ? config_1.hasDestinationAttrib("WebIDEUsage", config_1.DestinationAttributeProperty.ODATA_ABAP, this.config.destinationAttributes) && !this.isFullUrlDest() : false;
|
|
33110
33014
|
}
|
|
33015
|
+
isHTML5DynamicDestination() {
|
|
33016
|
+
return this.config.destination ? config_1.hasHTML5DynamicDestinationAttrib(this.config.destinationAttributes) : false;
|
|
33017
|
+
}
|
|
33111
33018
|
toString() {
|
|
33112
33019
|
var _a2;
|
|
33113
33020
|
const urlString = () => {
|
|
@@ -40202,6 +40109,7 @@ var require_EventName = __commonJS({
|
|
|
40202
40109
|
EventName3["DISABLE_TELEMETRY"] = "DISABLE_TELEMETRY";
|
|
40203
40110
|
EventName3["GUIDE_ACTION"] = "GUIDE_ACTION";
|
|
40204
40111
|
EventName3["PANEL_LOAD"] = "PANEL_LOAD";
|
|
40112
|
+
EventName3["LAUNCH_GD"] = "LAUNCH_GD";
|
|
40205
40113
|
EventName3["PAGEMAP"] = "PAGEMAP";
|
|
40206
40114
|
EventName3["APP_ACTIONS"] = "ACTIONS";
|
|
40207
40115
|
EventName3["PAGE_EDITOR"] = "PAGE_EDITOR";
|
|
@@ -40232,6 +40140,7 @@ var require_EventName = __commonJS({
|
|
|
40232
40140
|
EventName3["DEPLOY_FAIL"] = "DEPLOY_FAIL";
|
|
40233
40141
|
EventName3["DATA_EDITOR_EVENT"] = "DATA_EDITOR_EVENT";
|
|
40234
40142
|
EventName3["CPE_EVENT"] = "CONTROL_PROPERTY_EDITOR_EVENT";
|
|
40143
|
+
EventName3["SYSTEM_DETAILS_VIEW_EVENT"] = "SYSTEM_DETAILS_VIEW_EVENT";
|
|
40235
40144
|
})(EventName2 = exports2.EventName || (exports2.EventName = {}));
|
|
40236
40145
|
}
|
|
40237
40146
|
});
|
|
@@ -40653,12 +40562,12 @@ var require_semver = __commonJS({
|
|
|
40653
40562
|
function rcompareIdentifiers(a, b) {
|
|
40654
40563
|
return compareIdentifiers(b, a);
|
|
40655
40564
|
}
|
|
40656
|
-
exports2.major =
|
|
40657
|
-
function
|
|
40565
|
+
exports2.major = major2;
|
|
40566
|
+
function major2(a, loose) {
|
|
40658
40567
|
return new SemVer(a, loose).major;
|
|
40659
40568
|
}
|
|
40660
|
-
exports2.minor =
|
|
40661
|
-
function
|
|
40569
|
+
exports2.minor = minor2;
|
|
40570
|
+
function minor2(a, loose) {
|
|
40662
40571
|
return new SemVer(a, loose).minor;
|
|
40663
40572
|
}
|
|
40664
40573
|
exports2.patch = patch;
|
|
@@ -40689,8 +40598,8 @@ var require_semver = __commonJS({
|
|
|
40689
40598
|
return exports2.rcompare(a, b, loose);
|
|
40690
40599
|
});
|
|
40691
40600
|
}
|
|
40692
|
-
exports2.gt =
|
|
40693
|
-
function
|
|
40601
|
+
exports2.gt = gt2;
|
|
40602
|
+
function gt2(a, b, loose) {
|
|
40694
40603
|
return compare(a, b, loose) > 0;
|
|
40695
40604
|
}
|
|
40696
40605
|
exports2.lt = lt;
|
|
@@ -40735,7 +40644,7 @@ var require_semver = __commonJS({
|
|
|
40735
40644
|
case "!=":
|
|
40736
40645
|
return neq(a, b, loose);
|
|
40737
40646
|
case ">":
|
|
40738
|
-
return
|
|
40647
|
+
return gt2(a, b, loose);
|
|
40739
40648
|
case ">=":
|
|
40740
40649
|
return gte(a, b, loose);
|
|
40741
40650
|
case "<":
|
|
@@ -41141,8 +41050,8 @@ var require_semver = __commonJS({
|
|
|
41141
41050
|
}
|
|
41142
41051
|
return range.test(version);
|
|
41143
41052
|
}
|
|
41144
|
-
exports2.maxSatisfying =
|
|
41145
|
-
function
|
|
41053
|
+
exports2.maxSatisfying = maxSatisfying2;
|
|
41054
|
+
function maxSatisfying2(versions, range, options2) {
|
|
41146
41055
|
var max = null;
|
|
41147
41056
|
var maxSV = null;
|
|
41148
41057
|
try {
|
|
@@ -41205,7 +41114,7 @@ var require_semver = __commonJS({
|
|
|
41205
41114
|
compver.raw = compver.format();
|
|
41206
41115
|
case "":
|
|
41207
41116
|
case ">=":
|
|
41208
|
-
if (!minver ||
|
|
41117
|
+
if (!minver || gt2(minver, compver)) {
|
|
41209
41118
|
minver = compver;
|
|
41210
41119
|
}
|
|
41211
41120
|
break;
|
|
@@ -41245,7 +41154,7 @@ var require_semver = __commonJS({
|
|
|
41245
41154
|
var gtfn, ltefn, ltfn, comp, ecomp;
|
|
41246
41155
|
switch (hilo) {
|
|
41247
41156
|
case ">":
|
|
41248
|
-
gtfn =
|
|
41157
|
+
gtfn = gt2;
|
|
41249
41158
|
ltefn = lte;
|
|
41250
41159
|
ltfn = lt;
|
|
41251
41160
|
comp = ">";
|
|
@@ -41254,7 +41163,7 @@ var require_semver = __commonJS({
|
|
|
41254
41163
|
case "<":
|
|
41255
41164
|
gtfn = lt;
|
|
41256
41165
|
ltefn = gte;
|
|
41257
|
-
ltfn =
|
|
41166
|
+
ltfn = gt2;
|
|
41258
41167
|
comp = "<";
|
|
41259
41168
|
ecomp = "<=";
|
|
41260
41169
|
break;
|
|
@@ -42967,12 +42876,12 @@ var require_semver2 = __commonJS({
|
|
|
42967
42876
|
function rcompareIdentifiers(a, b) {
|
|
42968
42877
|
return compareIdentifiers(b, a);
|
|
42969
42878
|
}
|
|
42970
|
-
exports2.major =
|
|
42971
|
-
function
|
|
42879
|
+
exports2.major = major2;
|
|
42880
|
+
function major2(a, loose) {
|
|
42972
42881
|
return new SemVer(a, loose).major;
|
|
42973
42882
|
}
|
|
42974
|
-
exports2.minor =
|
|
42975
|
-
function
|
|
42883
|
+
exports2.minor = minor2;
|
|
42884
|
+
function minor2(a, loose) {
|
|
42976
42885
|
return new SemVer(a, loose).minor;
|
|
42977
42886
|
}
|
|
42978
42887
|
exports2.patch = patch;
|
|
@@ -43003,8 +42912,8 @@ var require_semver2 = __commonJS({
|
|
|
43003
42912
|
return exports2.rcompare(a, b, loose);
|
|
43004
42913
|
});
|
|
43005
42914
|
}
|
|
43006
|
-
exports2.gt =
|
|
43007
|
-
function
|
|
42915
|
+
exports2.gt = gt2;
|
|
42916
|
+
function gt2(a, b, loose) {
|
|
43008
42917
|
return compare(a, b, loose) > 0;
|
|
43009
42918
|
}
|
|
43010
42919
|
exports2.lt = lt;
|
|
@@ -43049,7 +42958,7 @@ var require_semver2 = __commonJS({
|
|
|
43049
42958
|
case "!=":
|
|
43050
42959
|
return neq(a, b, loose);
|
|
43051
42960
|
case ">":
|
|
43052
|
-
return
|
|
42961
|
+
return gt2(a, b, loose);
|
|
43053
42962
|
case ">=":
|
|
43054
42963
|
return gte(a, b, loose);
|
|
43055
42964
|
case "<":
|
|
@@ -43455,8 +43364,8 @@ var require_semver2 = __commonJS({
|
|
|
43455
43364
|
}
|
|
43456
43365
|
return range.test(version);
|
|
43457
43366
|
}
|
|
43458
|
-
exports2.maxSatisfying =
|
|
43459
|
-
function
|
|
43367
|
+
exports2.maxSatisfying = maxSatisfying2;
|
|
43368
|
+
function maxSatisfying2(versions, range, options2) {
|
|
43460
43369
|
var max = null;
|
|
43461
43370
|
var maxSV = null;
|
|
43462
43371
|
try {
|
|
@@ -43519,7 +43428,7 @@ var require_semver2 = __commonJS({
|
|
|
43519
43428
|
compver.raw = compver.format();
|
|
43520
43429
|
case "":
|
|
43521
43430
|
case ">=":
|
|
43522
|
-
if (!minver ||
|
|
43431
|
+
if (!minver || gt2(minver, compver)) {
|
|
43523
43432
|
minver = compver;
|
|
43524
43433
|
}
|
|
43525
43434
|
break;
|
|
@@ -43559,7 +43468,7 @@ var require_semver2 = __commonJS({
|
|
|
43559
43468
|
var gtfn, ltefn, ltfn, comp, ecomp;
|
|
43560
43469
|
switch (hilo) {
|
|
43561
43470
|
case ">":
|
|
43562
|
-
gtfn =
|
|
43471
|
+
gtfn = gt2;
|
|
43563
43472
|
ltefn = lte;
|
|
43564
43473
|
ltfn = lt;
|
|
43565
43474
|
comp = ">";
|
|
@@ -43568,7 +43477,7 @@ var require_semver2 = __commonJS({
|
|
|
43568
43477
|
case "<":
|
|
43569
43478
|
gtfn = lt;
|
|
43570
43479
|
ltefn = gte;
|
|
43571
|
-
ltfn =
|
|
43480
|
+
ltfn = gt2;
|
|
43572
43481
|
comp = "<";
|
|
43573
43482
|
ecomp = "<=";
|
|
43574
43483
|
break;
|
|
@@ -44271,7 +44180,7 @@ var require_promise2 = __commonJS({
|
|
|
44271
44180
|
const oldThen = Promise2.prototype.then;
|
|
44272
44181
|
Promise2.prototype.then = wrappedThen;
|
|
44273
44182
|
function makeWrappedHandler(fn, handle3, uid, isOnFulfilled) {
|
|
44274
|
-
if (typeof fn
|
|
44183
|
+
if ("function" !== typeof fn) {
|
|
44275
44184
|
return isOnFulfilled ? makeUnhandledResolutionHandler(uid) : makeUnhandledRejectionHandler(uid);
|
|
44276
44185
|
}
|
|
44277
44186
|
return function wrappedHandler() {
|
|
@@ -45494,12 +45403,12 @@ var require_semver3 = __commonJS({
|
|
|
45494
45403
|
function rcompareIdentifiers(a, b) {
|
|
45495
45404
|
return compareIdentifiers(b, a);
|
|
45496
45405
|
}
|
|
45497
|
-
exports2.major =
|
|
45498
|
-
function
|
|
45406
|
+
exports2.major = major2;
|
|
45407
|
+
function major2(a, loose) {
|
|
45499
45408
|
return new SemVer(a, loose).major;
|
|
45500
45409
|
}
|
|
45501
|
-
exports2.minor =
|
|
45502
|
-
function
|
|
45410
|
+
exports2.minor = minor2;
|
|
45411
|
+
function minor2(a, loose) {
|
|
45503
45412
|
return new SemVer(a, loose).minor;
|
|
45504
45413
|
}
|
|
45505
45414
|
exports2.patch = patch;
|
|
@@ -45530,8 +45439,8 @@ var require_semver3 = __commonJS({
|
|
|
45530
45439
|
return exports2.rcompare(a, b, loose);
|
|
45531
45440
|
});
|
|
45532
45441
|
}
|
|
45533
|
-
exports2.gt =
|
|
45534
|
-
function
|
|
45442
|
+
exports2.gt = gt2;
|
|
45443
|
+
function gt2(a, b, loose) {
|
|
45535
45444
|
return compare(a, b, loose) > 0;
|
|
45536
45445
|
}
|
|
45537
45446
|
exports2.lt = lt;
|
|
@@ -45576,7 +45485,7 @@ var require_semver3 = __commonJS({
|
|
|
45576
45485
|
case "!=":
|
|
45577
45486
|
return neq(a, b, loose);
|
|
45578
45487
|
case ">":
|
|
45579
|
-
return
|
|
45488
|
+
return gt2(a, b, loose);
|
|
45580
45489
|
case ">=":
|
|
45581
45490
|
return gte(a, b, loose);
|
|
45582
45491
|
case "<":
|
|
@@ -45982,8 +45891,8 @@ var require_semver3 = __commonJS({
|
|
|
45982
45891
|
}
|
|
45983
45892
|
return range.test(version);
|
|
45984
45893
|
}
|
|
45985
|
-
exports2.maxSatisfying =
|
|
45986
|
-
function
|
|
45894
|
+
exports2.maxSatisfying = maxSatisfying2;
|
|
45895
|
+
function maxSatisfying2(versions, range, options2) {
|
|
45987
45896
|
var max = null;
|
|
45988
45897
|
var maxSV = null;
|
|
45989
45898
|
try {
|
|
@@ -46046,7 +45955,7 @@ var require_semver3 = __commonJS({
|
|
|
46046
45955
|
compver.raw = compver.format();
|
|
46047
45956
|
case "":
|
|
46048
45957
|
case ">=":
|
|
46049
|
-
if (!minver ||
|
|
45958
|
+
if (!minver || gt2(minver, compver)) {
|
|
46050
45959
|
minver = compver;
|
|
46051
45960
|
}
|
|
46052
45961
|
break;
|
|
@@ -46086,7 +45995,7 @@ var require_semver3 = __commonJS({
|
|
|
46086
45995
|
var gtfn, ltefn, ltfn, comp, ecomp;
|
|
46087
45996
|
switch (hilo) {
|
|
46088
45997
|
case ">":
|
|
46089
|
-
gtfn =
|
|
45998
|
+
gtfn = gt2;
|
|
46090
45999
|
ltefn = lte;
|
|
46091
46000
|
ltfn = lt;
|
|
46092
46001
|
comp = ">";
|
|
@@ -46095,7 +46004,7 @@ var require_semver3 = __commonJS({
|
|
|
46095
46004
|
case "<":
|
|
46096
46005
|
gtfn = lt;
|
|
46097
46006
|
ltefn = gte;
|
|
46098
|
-
ltfn =
|
|
46007
|
+
ltfn = gt2;
|
|
46099
46008
|
comp = "<";
|
|
46100
46009
|
ecomp = "<=";
|
|
46101
46010
|
break;
|
|
@@ -51882,7 +51791,7 @@ var require_package6 = __commonJS({
|
|
|
51882
51791
|
"../lib/telemetry/dist/package.json"(exports2, module2) {
|
|
51883
51792
|
module2.exports = {
|
|
51884
51793
|
name: "@sap/ux-telemetry",
|
|
51885
|
-
version: "1.
|
|
51794
|
+
version: "1.7.3",
|
|
51886
51795
|
description: "SAP Fiori tools telemetry library",
|
|
51887
51796
|
main: "dist/src/index.js",
|
|
51888
51797
|
author: "SAP SE",
|
|
@@ -51907,10 +51816,10 @@ var require_package6 = __commonJS({
|
|
|
51907
51816
|
},
|
|
51908
51817
|
dependencies: {
|
|
51909
51818
|
"@sap-ux/store": "0.3.0",
|
|
51910
|
-
"@sap/ux-cds": "1.
|
|
51911
|
-
"@sap/ux-common-utils": "1.
|
|
51912
|
-
"@sap/ux-feature-toggle": "1.
|
|
51913
|
-
"@sap/ux-project-access": "1.
|
|
51819
|
+
"@sap/ux-cds": "1.7.3",
|
|
51820
|
+
"@sap/ux-common-utils": "1.7.3",
|
|
51821
|
+
"@sap/ux-feature-toggle": "1.7.3",
|
|
51822
|
+
"@sap/ux-project-access": "1.7.3",
|
|
51914
51823
|
applicationinsights: "1.4.1",
|
|
51915
51824
|
"performance-now": "2.1.0",
|
|
51916
51825
|
yaml: "2.0.0-10"
|
|
@@ -52044,9 +51953,10 @@ var require_reporting = __commonJS({
|
|
|
52044
51953
|
exports2.reportEnableTelemetryOnOff = (enableTelemetry, commonProperties) => {
|
|
52045
51954
|
const telemetryEvent = {
|
|
52046
51955
|
name: EventName_1.EventName.DISABLE_TELEMETRY,
|
|
52047
|
-
properties:
|
|
52048
|
-
disableTelemetry: `${!enableTelemetry}
|
|
52049
|
-
|
|
51956
|
+
properties: {
|
|
51957
|
+
disableTelemetry: `${!enableTelemetry}`,
|
|
51958
|
+
...commonProperties
|
|
51959
|
+
},
|
|
52050
51960
|
measurements: {}
|
|
52051
51961
|
};
|
|
52052
51962
|
if (process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY !== "true") {
|
|
@@ -52347,7 +52257,11 @@ var require_toolsSuiteTelemetryClient = __commonJS({
|
|
|
52347
52257
|
v: this.extensionVersion,
|
|
52348
52258
|
datetime: date_1.localDatetimeToUTC()
|
|
52349
52259
|
};
|
|
52350
|
-
const finalProperties =
|
|
52260
|
+
const finalProperties = {
|
|
52261
|
+
...properties,
|
|
52262
|
+
...fioriProjectCommonProperties,
|
|
52263
|
+
...commonProperties
|
|
52264
|
+
};
|
|
52351
52265
|
await super.report(eventName, finalProperties, measurements, sampleRate, telemetryHelperProperties, ignoreSettings);
|
|
52352
52266
|
}
|
|
52353
52267
|
async reportEvent(event, sampleRate, telemetryHelperProperties, ignoreSettings) {
|
|
@@ -52356,8 +52270,14 @@ var require_toolsSuiteTelemetryClient = __commonJS({
|
|
|
52356
52270
|
v: this.extensionVersion,
|
|
52357
52271
|
datetime: date_1.localDatetimeToUTC()
|
|
52358
52272
|
};
|
|
52359
|
-
const finalProperties =
|
|
52360
|
-
|
|
52273
|
+
const finalProperties = {
|
|
52274
|
+
...event.properties,
|
|
52275
|
+
...fioriProjectCommonProperties,
|
|
52276
|
+
...telemetryEventCommonProperties
|
|
52277
|
+
};
|
|
52278
|
+
const finalMeasurements = {
|
|
52279
|
+
...event.measurements
|
|
52280
|
+
};
|
|
52361
52281
|
await super.report(event.eventName, finalProperties, finalMeasurements, sampleRate, telemetryHelperProperties, ignoreSettings);
|
|
52362
52282
|
}
|
|
52363
52283
|
};
|
|
@@ -52607,10 +52527,11 @@ var require_p_locate = __commonJS({
|
|
|
52607
52527
|
return false;
|
|
52608
52528
|
};
|
|
52609
52529
|
var pLocate = async (iterable, tester, options2) => {
|
|
52610
|
-
options2 =
|
|
52530
|
+
options2 = {
|
|
52611
52531
|
concurrency: Infinity,
|
|
52612
|
-
preserveOrder: true
|
|
52613
|
-
|
|
52532
|
+
preserveOrder: true,
|
|
52533
|
+
...options2
|
|
52534
|
+
};
|
|
52614
52535
|
const limit = pLimit(options2.concurrency);
|
|
52615
52536
|
const items = [...iterable].map((element) => [element, limit(testElement, element, tester)]);
|
|
52616
52537
|
const checkLimit = pLimit(options2.preserveOrder ? 1 : Infinity);
|
|
@@ -52650,11 +52571,12 @@ var require_locate_path = __commonJS({
|
|
|
52650
52571
|
}
|
|
52651
52572
|
var matchType = (type, stat) => type === void 0 || stat[typeMappings[type]]();
|
|
52652
52573
|
module2.exports = async (paths, options2) => {
|
|
52653
|
-
options2 =
|
|
52574
|
+
options2 = {
|
|
52654
52575
|
cwd: process.cwd(),
|
|
52655
52576
|
type: "file",
|
|
52656
|
-
allowSymlinks: true
|
|
52657
|
-
|
|
52577
|
+
allowSymlinks: true,
|
|
52578
|
+
...options2
|
|
52579
|
+
};
|
|
52658
52580
|
checkType(options2);
|
|
52659
52581
|
const statFn = options2.allowSymlinks ? fsStat : fsLStat;
|
|
52660
52582
|
return pLocate(paths, async (path_) => {
|
|
@@ -52667,11 +52589,12 @@ var require_locate_path = __commonJS({
|
|
|
52667
52589
|
}, options2);
|
|
52668
52590
|
};
|
|
52669
52591
|
module2.exports.sync = (paths, options2) => {
|
|
52670
|
-
options2 =
|
|
52592
|
+
options2 = {
|
|
52671
52593
|
cwd: process.cwd(),
|
|
52672
52594
|
allowSymlinks: true,
|
|
52673
|
-
type: "file"
|
|
52674
|
-
|
|
52595
|
+
type: "file",
|
|
52596
|
+
...options2
|
|
52597
|
+
};
|
|
52675
52598
|
checkType(options2);
|
|
52676
52599
|
const statFn = options2.allowSymlinks ? fs2.statSync : fs2.lstatSync;
|
|
52677
52600
|
for (const path_ of paths) {
|
|
@@ -52736,7 +52659,7 @@ var require_find_up = __commonJS({
|
|
|
52736
52659
|
return foundPath;
|
|
52737
52660
|
};
|
|
52738
52661
|
while (true) {
|
|
52739
|
-
const foundPath = await runMatcher(
|
|
52662
|
+
const foundPath = await runMatcher({ ...options2, cwd: directory });
|
|
52740
52663
|
if (foundPath === stop) {
|
|
52741
52664
|
return;
|
|
52742
52665
|
}
|
|
@@ -52764,7 +52687,7 @@ var require_find_up = __commonJS({
|
|
|
52764
52687
|
return foundPath;
|
|
52765
52688
|
};
|
|
52766
52689
|
while (true) {
|
|
52767
|
-
const foundPath = runMatcher(
|
|
52690
|
+
const foundPath = runMatcher({ ...options2, cwd: directory });
|
|
52768
52691
|
if (foundPath === stop) {
|
|
52769
52692
|
return;
|
|
52770
52693
|
}
|
|
@@ -53701,7 +53624,7 @@ var require_Utils = __commonJS({
|
|
|
53701
53624
|
tz_minute = 0;
|
|
53702
53625
|
}
|
|
53703
53626
|
tz_offset = (tz_hour * 60 + tz_minute) * 6e4;
|
|
53704
|
-
if (info.tz_sign
|
|
53627
|
+
if ("-" === info.tz_sign) {
|
|
53705
53628
|
tz_offset *= -1;
|
|
53706
53629
|
}
|
|
53707
53630
|
}
|
|
@@ -54088,7 +54011,7 @@ var require_Inline = __commonJS({
|
|
|
54088
54011
|
return "";
|
|
54089
54012
|
}
|
|
54090
54013
|
value = Utils.trim(value);
|
|
54091
|
-
if (value.length
|
|
54014
|
+
if (0 === value.length) {
|
|
54092
54015
|
return "";
|
|
54093
54016
|
}
|
|
54094
54017
|
context = {
|
|
@@ -54154,7 +54077,7 @@ var require_Inline = __commonJS({
|
|
|
54154
54077
|
if (Escaper.requiresSingleQuoting(value)) {
|
|
54155
54078
|
return Escaper.escapeWithSingleQuotes(value);
|
|
54156
54079
|
}
|
|
54157
|
-
if (
|
|
54080
|
+
if ("" === value) {
|
|
54158
54081
|
return '""';
|
|
54159
54082
|
}
|
|
54160
54083
|
if (Utils.PATTERN_DATE.test(value)) {
|
|
@@ -54253,7 +54176,7 @@ var require_Inline = __commonJS({
|
|
|
54253
54176
|
throw new ParseMore("Malformed inline YAML string (" + scalar.slice(i) + ").");
|
|
54254
54177
|
}
|
|
54255
54178
|
output3 = match[0].substr(1, match[0].length - 2);
|
|
54256
|
-
if (scalar.charAt(i)
|
|
54179
|
+
if ('"' === scalar.charAt(i)) {
|
|
54257
54180
|
output3 = Unescaper.unescapeDoubleQuotedString(output3);
|
|
54258
54181
|
} else {
|
|
54259
54182
|
output3 = Unescaper.unescapeSingleQuotedString(output3);
|
|
@@ -54446,7 +54369,7 @@ var require_Inline = __commonJS({
|
|
|
54446
54369
|
}
|
|
54447
54370
|
break;
|
|
54448
54371
|
case "0":
|
|
54449
|
-
if (scalar.slice(0, 2)
|
|
54372
|
+
if ("0x" === scalar.slice(0, 2)) {
|
|
54450
54373
|
return Utils.hexDec(scalar);
|
|
54451
54374
|
} else if (Utils.isDigits(scalar)) {
|
|
54452
54375
|
return Utils.octDec(scalar);
|
|
@@ -54473,7 +54396,7 @@ var require_Inline = __commonJS({
|
|
|
54473
54396
|
return scalar;
|
|
54474
54397
|
case "-":
|
|
54475
54398
|
if (Utils.isDigits(scalar.slice(1))) {
|
|
54476
|
-
if (scalar.charAt(1)
|
|
54399
|
+
if ("0" === scalar.charAt(1)) {
|
|
54477
54400
|
return -Utils.octDec(scalar.slice(1));
|
|
54478
54401
|
} else {
|
|
54479
54402
|
raw = scalar.slice(1);
|
|
@@ -54565,7 +54488,7 @@ var require_Parser = __commonJS({
|
|
|
54565
54488
|
if (this.isCurrentLineEmpty()) {
|
|
54566
54489
|
continue;
|
|
54567
54490
|
}
|
|
54568
|
-
if (this.currentLine[0]
|
|
54491
|
+
if (" " === this.currentLine[0]) {
|
|
54569
54492
|
throw new ParseException("A YAML file cannot contain tabs as indentation.", this.getRealCurrentLineNb() + 1, this.currentLine);
|
|
54570
54493
|
}
|
|
54571
54494
|
isRef = mergeNode = false;
|
|
@@ -54581,7 +54504,7 @@ var require_Parser = __commonJS({
|
|
|
54581
54504
|
isRef = matches.ref;
|
|
54582
54505
|
values.value = matches.value;
|
|
54583
54506
|
}
|
|
54584
|
-
if (!(values.value != null) || Utils.trim(values.value, " ")
|
|
54507
|
+
if (!(values.value != null) || "" === Utils.trim(values.value, " ") || Utils.ltrim(values.value, " ").indexOf("#") === 0) {
|
|
54585
54508
|
if (this.currentLineNb < this.lines.length - 1 && !this.isNextLineUnIndentedCollection()) {
|
|
54586
54509
|
c = this.getRealCurrentLineNb() + 1;
|
|
54587
54510
|
parser = new Parser2(c);
|
|
@@ -54622,7 +54545,7 @@ var require_Parser = __commonJS({
|
|
|
54622
54545
|
e.snippet = this.currentLine;
|
|
54623
54546
|
throw e;
|
|
54624
54547
|
}
|
|
54625
|
-
if (
|
|
54548
|
+
if ("<<" === key) {
|
|
54626
54549
|
mergeNode = true;
|
|
54627
54550
|
allowOverwrite = true;
|
|
54628
54551
|
if (((ref1 = values.value) != null ? ref1.indexOf("*") : void 0) === 0) {
|
|
@@ -54699,7 +54622,7 @@ var require_Parser = __commonJS({
|
|
|
54699
54622
|
values.value = matches.value;
|
|
54700
54623
|
}
|
|
54701
54624
|
if (mergeNode) {
|
|
54702
|
-
} else if (!(values.value != null) || Utils.trim(values.value, " ")
|
|
54625
|
+
} else if (!(values.value != null) || "" === Utils.trim(values.value, " ") || Utils.ltrim(values.value, " ").indexOf("#") === 0) {
|
|
54703
54626
|
if (!this.isNextLineIndented() && !this.isNextLineUnIndentedCollection()) {
|
|
54704
54627
|
if (allowOverwrite || data2[key] === void 0) {
|
|
54705
54628
|
data2[key] = null;
|
|
@@ -54721,7 +54644,7 @@ var require_Parser = __commonJS({
|
|
|
54721
54644
|
}
|
|
54722
54645
|
} else {
|
|
54723
54646
|
lineCount = this.lines.length;
|
|
54724
|
-
if (
|
|
54647
|
+
if (1 === lineCount || 2 === lineCount && Utils.isEmpty(this.lines[1])) {
|
|
54725
54648
|
try {
|
|
54726
54649
|
value = Inline.parse(this.lines[0], exceptionOnInvalidType, objectDecoder);
|
|
54727
54650
|
} catch (error3) {
|
|
@@ -54797,7 +54720,7 @@ var require_Parser = __commonJS({
|
|
|
54797
54720
|
if (indentation == null) {
|
|
54798
54721
|
newIndent = this.getCurrentLineIndentation();
|
|
54799
54722
|
unindentedEmbedBlock = this.isStringUnIndentedCollectionItem(this.currentLine);
|
|
54800
|
-
if (!this.isCurrentLineEmpty() &&
|
|
54723
|
+
if (!this.isCurrentLineEmpty() && 0 === newIndent && !unindentedEmbedBlock) {
|
|
54801
54724
|
throw new ParseException("Indentation problem.", this.getRealCurrentLineNb() + 1, this.currentLine);
|
|
54802
54725
|
}
|
|
54803
54726
|
} else {
|
|
@@ -54828,7 +54751,7 @@ var require_Parser = __commonJS({
|
|
|
54828
54751
|
if (indent >= newIndent) {
|
|
54829
54752
|
data2.push(this.currentLine.slice(newIndent));
|
|
54830
54753
|
} else if (Utils.ltrim(this.currentLine).charAt(0) === "#") {
|
|
54831
|
-
} else if (
|
|
54754
|
+
} else if (0 === indent) {
|
|
54832
54755
|
this.moveToPreviousLine();
|
|
54833
54756
|
break;
|
|
54834
54757
|
} else {
|
|
@@ -54849,7 +54772,7 @@ var require_Parser = __commonJS({
|
|
|
54849
54772
|
};
|
|
54850
54773
|
Parser2.prototype.parseValue = function(value, exceptionOnInvalidType, objectDecoder) {
|
|
54851
54774
|
var e, foldedIndent, matches, modifiers, pos, ref, ref1, val;
|
|
54852
|
-
if (value.indexOf("*")
|
|
54775
|
+
if (0 === value.indexOf("*")) {
|
|
54853
54776
|
pos = value.indexOf("#");
|
|
54854
54777
|
if (pos !== -1) {
|
|
54855
54778
|
value = value.substr(1, pos - 2);
|
|
@@ -54917,7 +54840,7 @@ var require_Parser = __commonJS({
|
|
|
54917
54840
|
isCurrentLineBlank = this.isCurrentLineBlank();
|
|
54918
54841
|
}
|
|
54919
54842
|
}
|
|
54920
|
-
if (
|
|
54843
|
+
if (0 === indentation) {
|
|
54921
54844
|
if (matches = this.PATTERN_INDENT_SPACES.exec(this.currentLine)) {
|
|
54922
54845
|
indentation = matches[0].length;
|
|
54923
54846
|
}
|
|
@@ -54945,7 +54868,7 @@ var require_Parser = __commonJS({
|
|
|
54945
54868
|
if (notEOF) {
|
|
54946
54869
|
this.moveToPreviousLine();
|
|
54947
54870
|
}
|
|
54948
|
-
if (
|
|
54871
|
+
if (">" === separator) {
|
|
54949
54872
|
newText = "";
|
|
54950
54873
|
ref = text.split("\n");
|
|
54951
54874
|
for (j = 0, len = ref.length; j < len; j++) {
|
|
@@ -54958,12 +54881,12 @@ var require_Parser = __commonJS({
|
|
|
54958
54881
|
}
|
|
54959
54882
|
text = newText;
|
|
54960
54883
|
}
|
|
54961
|
-
if (
|
|
54884
|
+
if ("+" !== indicator) {
|
|
54962
54885
|
text = Utils.rtrim(text);
|
|
54963
54886
|
}
|
|
54964
|
-
if (
|
|
54887
|
+
if ("" === indicator) {
|
|
54965
54888
|
text = this.PATTERN_TRAILING_LINES.replace(text, "\n");
|
|
54966
|
-
} else if (
|
|
54889
|
+
} else if ("-" === indicator) {
|
|
54967
54890
|
text = this.PATTERN_TRAILING_LINES.replace(text, "");
|
|
54968
54891
|
}
|
|
54969
54892
|
return text;
|
|
@@ -55000,7 +54923,7 @@ var require_Parser = __commonJS({
|
|
|
55000
54923
|
return trimmedLine.length === 0 || trimmedLine.charAt(0) === "#";
|
|
55001
54924
|
};
|
|
55002
54925
|
Parser2.prototype.isCurrentLineBlank = function() {
|
|
55003
|
-
return Utils.trim(this.currentLine, " ")
|
|
54926
|
+
return "" === Utils.trim(this.currentLine, " ");
|
|
55004
54927
|
};
|
|
55005
54928
|
Parser2.prototype.isCurrentLineComment = function() {
|
|
55006
54929
|
var ltrimmedLine;
|
|
@@ -55059,7 +54982,7 @@ var require_Parser = __commonJS({
|
|
|
55059
54982
|
while (notEOF && this.isCurrentLineEmpty()) {
|
|
55060
54983
|
notEOF = this.moveToNextLine();
|
|
55061
54984
|
}
|
|
55062
|
-
if (
|
|
54985
|
+
if (false === notEOF) {
|
|
55063
54986
|
return false;
|
|
55064
54987
|
}
|
|
55065
54988
|
ret = false;
|
|
@@ -55900,8 +55823,8 @@ var require_diff = __commonJS({
|
|
|
55900
55823
|
var require_major = __commonJS({
|
|
55901
55824
|
"../lib/ui5-info/core/node_modules/semver/functions/major.js"(exports2, module2) {
|
|
55902
55825
|
var SemVer = require_semver4();
|
|
55903
|
-
var
|
|
55904
|
-
module2.exports =
|
|
55826
|
+
var major2 = (a, loose) => new SemVer(a, loose).major;
|
|
55827
|
+
module2.exports = major2;
|
|
55905
55828
|
}
|
|
55906
55829
|
});
|
|
55907
55830
|
|
|
@@ -55909,8 +55832,8 @@ var require_major = __commonJS({
|
|
|
55909
55832
|
var require_minor = __commonJS({
|
|
55910
55833
|
"../lib/ui5-info/core/node_modules/semver/functions/minor.js"(exports2, module2) {
|
|
55911
55834
|
var SemVer = require_semver4();
|
|
55912
|
-
var
|
|
55913
|
-
module2.exports =
|
|
55835
|
+
var minor2 = (a, loose) => new SemVer(a, loose).minor;
|
|
55836
|
+
module2.exports = minor2;
|
|
55914
55837
|
}
|
|
55915
55838
|
});
|
|
55916
55839
|
|
|
@@ -55988,8 +55911,8 @@ var require_rsort = __commonJS({
|
|
|
55988
55911
|
var require_gt = __commonJS({
|
|
55989
55912
|
"../lib/ui5-info/core/node_modules/semver/functions/gt.js"(exports2, module2) {
|
|
55990
55913
|
var compare = require_compare();
|
|
55991
|
-
var
|
|
55992
|
-
module2.exports =
|
|
55914
|
+
var gt2 = (a, b, loose) => compare(a, b, loose) > 0;
|
|
55915
|
+
module2.exports = gt2;
|
|
55993
55916
|
}
|
|
55994
55917
|
});
|
|
55995
55918
|
|
|
@@ -56034,7 +55957,7 @@ var require_cmp = __commonJS({
|
|
|
56034
55957
|
"../lib/ui5-info/core/node_modules/semver/functions/cmp.js"(exports2, module2) {
|
|
56035
55958
|
var eq = require_eq();
|
|
56036
55959
|
var neq = require_neq();
|
|
56037
|
-
var
|
|
55960
|
+
var gt2 = require_gt();
|
|
56038
55961
|
var gte = require_gte();
|
|
56039
55962
|
var lt = require_lt();
|
|
56040
55963
|
var lte = require_lte();
|
|
@@ -56059,7 +55982,7 @@ var require_cmp = __commonJS({
|
|
|
56059
55982
|
case "!=":
|
|
56060
55983
|
return neq(a, b, loose);
|
|
56061
55984
|
case ">":
|
|
56062
|
-
return
|
|
55985
|
+
return gt2(a, b, loose);
|
|
56063
55986
|
case ">=":
|
|
56064
55987
|
return gte(a, b, loose);
|
|
56065
55988
|
case "<":
|
|
@@ -57243,7 +57166,7 @@ var require_max_satisfying = __commonJS({
|
|
|
57243
57166
|
"../lib/ui5-info/core/node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
|
|
57244
57167
|
var SemVer = require_semver4();
|
|
57245
57168
|
var Range = require_range();
|
|
57246
|
-
var
|
|
57169
|
+
var maxSatisfying2 = (versions, range, options2) => {
|
|
57247
57170
|
let max = null;
|
|
57248
57171
|
let maxSV = null;
|
|
57249
57172
|
let rangeObj = null;
|
|
@@ -57262,7 +57185,7 @@ var require_max_satisfying = __commonJS({
|
|
|
57262
57185
|
});
|
|
57263
57186
|
return max;
|
|
57264
57187
|
};
|
|
57265
|
-
module2.exports =
|
|
57188
|
+
module2.exports = maxSatisfying2;
|
|
57266
57189
|
}
|
|
57267
57190
|
});
|
|
57268
57191
|
|
|
@@ -57299,7 +57222,7 @@ var require_min_version = __commonJS({
|
|
|
57299
57222
|
"../lib/ui5-info/core/node_modules/semver/ranges/min-version.js"(exports2, module2) {
|
|
57300
57223
|
var SemVer = require_semver4();
|
|
57301
57224
|
var Range = require_range();
|
|
57302
|
-
var
|
|
57225
|
+
var gt2 = require_gt();
|
|
57303
57226
|
var minVersion = (range, loose) => {
|
|
57304
57227
|
range = new Range(range, loose);
|
|
57305
57228
|
let minver = new SemVer("0.0.0");
|
|
@@ -57326,7 +57249,7 @@ var require_min_version = __commonJS({
|
|
|
57326
57249
|
compver.raw = compver.format();
|
|
57327
57250
|
case "":
|
|
57328
57251
|
case ">=":
|
|
57329
|
-
if (!setMin ||
|
|
57252
|
+
if (!setMin || gt2(compver, setMin)) {
|
|
57330
57253
|
setMin = compver;
|
|
57331
57254
|
}
|
|
57332
57255
|
break;
|
|
@@ -57337,7 +57260,7 @@ var require_min_version = __commonJS({
|
|
|
57337
57260
|
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
57338
57261
|
}
|
|
57339
57262
|
});
|
|
57340
|
-
if (setMin && (!minver ||
|
|
57263
|
+
if (setMin && (!minver || gt2(minver, setMin)))
|
|
57341
57264
|
minver = setMin;
|
|
57342
57265
|
}
|
|
57343
57266
|
if (minver && range.test(minver)) {
|
|
@@ -57372,7 +57295,7 @@ var require_outside = __commonJS({
|
|
|
57372
57295
|
var { ANY } = Comparator;
|
|
57373
57296
|
var Range = require_range();
|
|
57374
57297
|
var satisfies = require_satisfies();
|
|
57375
|
-
var
|
|
57298
|
+
var gt2 = require_gt();
|
|
57376
57299
|
var lt = require_lt();
|
|
57377
57300
|
var lte = require_lte();
|
|
57378
57301
|
var gte = require_gte();
|
|
@@ -57382,7 +57305,7 @@ var require_outside = __commonJS({
|
|
|
57382
57305
|
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
57383
57306
|
switch (hilo) {
|
|
57384
57307
|
case ">":
|
|
57385
|
-
gtfn =
|
|
57308
|
+
gtfn = gt2;
|
|
57386
57309
|
ltefn = lte;
|
|
57387
57310
|
ltfn = lt;
|
|
57388
57311
|
comp = ">";
|
|
@@ -57391,7 +57314,7 @@ var require_outside = __commonJS({
|
|
|
57391
57314
|
case "<":
|
|
57392
57315
|
gtfn = lt;
|
|
57393
57316
|
ltefn = gte;
|
|
57394
|
-
ltfn =
|
|
57317
|
+
ltfn = gt2;
|
|
57395
57318
|
comp = "<";
|
|
57396
57319
|
ecomp = "<=";
|
|
57397
57320
|
break;
|
|
@@ -57554,10 +57477,10 @@ var require_subset = __commonJS({
|
|
|
57554
57477
|
dom = [new Comparator(">=0.0.0")];
|
|
57555
57478
|
}
|
|
57556
57479
|
const eqSet = /* @__PURE__ */ new Set();
|
|
57557
|
-
let
|
|
57480
|
+
let gt2, lt;
|
|
57558
57481
|
for (const c of sub) {
|
|
57559
57482
|
if (c.operator === ">" || c.operator === ">=")
|
|
57560
|
-
|
|
57483
|
+
gt2 = higherGT(gt2, c, options2);
|
|
57561
57484
|
else if (c.operator === "<" || c.operator === "<=")
|
|
57562
57485
|
lt = lowerLT(lt, c, options2);
|
|
57563
57486
|
else
|
|
@@ -57566,15 +57489,15 @@ var require_subset = __commonJS({
|
|
|
57566
57489
|
if (eqSet.size > 1)
|
|
57567
57490
|
return null;
|
|
57568
57491
|
let gtltComp;
|
|
57569
|
-
if (
|
|
57570
|
-
gtltComp = compare(
|
|
57492
|
+
if (gt2 && lt) {
|
|
57493
|
+
gtltComp = compare(gt2.semver, lt.semver, options2);
|
|
57571
57494
|
if (gtltComp > 0)
|
|
57572
57495
|
return null;
|
|
57573
|
-
else if (gtltComp === 0 && (
|
|
57496
|
+
else if (gtltComp === 0 && (gt2.operator !== ">=" || lt.operator !== "<="))
|
|
57574
57497
|
return null;
|
|
57575
57498
|
}
|
|
57576
57499
|
for (const eq of eqSet) {
|
|
57577
|
-
if (
|
|
57500
|
+
if (gt2 && !satisfies(eq, String(gt2), options2))
|
|
57578
57501
|
return null;
|
|
57579
57502
|
if (lt && !satisfies(eq, String(lt), options2))
|
|
57580
57503
|
return null;
|
|
@@ -57587,24 +57510,24 @@ var require_subset = __commonJS({
|
|
|
57587
57510
|
let higher, lower;
|
|
57588
57511
|
let hasDomLT, hasDomGT;
|
|
57589
57512
|
let needDomLTPre = lt && !options2.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
57590
|
-
let needDomGTPre =
|
|
57513
|
+
let needDomGTPre = gt2 && !options2.includePrerelease && gt2.semver.prerelease.length ? gt2.semver : false;
|
|
57591
57514
|
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
57592
57515
|
needDomLTPre = false;
|
|
57593
57516
|
}
|
|
57594
57517
|
for (const c of dom) {
|
|
57595
57518
|
hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
|
|
57596
57519
|
hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
|
|
57597
|
-
if (
|
|
57520
|
+
if (gt2) {
|
|
57598
57521
|
if (needDomGTPre) {
|
|
57599
57522
|
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
57600
57523
|
needDomGTPre = false;
|
|
57601
57524
|
}
|
|
57602
57525
|
}
|
|
57603
57526
|
if (c.operator === ">" || c.operator === ">=") {
|
|
57604
|
-
higher = higherGT(
|
|
57605
|
-
if (higher === c && higher !==
|
|
57527
|
+
higher = higherGT(gt2, c, options2);
|
|
57528
|
+
if (higher === c && higher !== gt2)
|
|
57606
57529
|
return false;
|
|
57607
|
-
} else if (
|
|
57530
|
+
} else if (gt2.operator === ">=" && !satisfies(gt2.semver, String(c), options2))
|
|
57608
57531
|
return false;
|
|
57609
57532
|
}
|
|
57610
57533
|
if (lt) {
|
|
@@ -57620,12 +57543,12 @@ var require_subset = __commonJS({
|
|
|
57620
57543
|
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options2))
|
|
57621
57544
|
return false;
|
|
57622
57545
|
}
|
|
57623
|
-
if (!c.operator && (lt ||
|
|
57546
|
+
if (!c.operator && (lt || gt2) && gtltComp !== 0)
|
|
57624
57547
|
return false;
|
|
57625
57548
|
}
|
|
57626
|
-
if (
|
|
57549
|
+
if (gt2 && hasDomLT && !lt && gtltComp !== 0)
|
|
57627
57550
|
return false;
|
|
57628
|
-
if (lt && hasDomGT && !
|
|
57551
|
+
if (lt && hasDomGT && !gt2 && gtltComp !== 0)
|
|
57629
57552
|
return false;
|
|
57630
57553
|
if (needDomGTPre || needDomLTPre)
|
|
57631
57554
|
return false;
|
|
@@ -57700,152 +57623,21 @@ var require_semver5 = __commonJS({
|
|
|
57700
57623
|
}
|
|
57701
57624
|
});
|
|
57702
57625
|
|
|
57703
|
-
// ../lib/feature-toggle/dist/featureToggle.js
|
|
57704
|
-
var require_featureToggle = __commonJS({
|
|
57705
|
-
"../lib/feature-toggle/dist/featureToggle.js"(exports2) {
|
|
57706
|
-
"use strict";
|
|
57707
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57708
|
-
var vscode = void 0;
|
|
57709
|
-
try {
|
|
57710
|
-
vscode = require("vscode");
|
|
57711
|
-
} catch (e) {
|
|
57712
|
-
}
|
|
57713
|
-
var extensionConfigKeys = {
|
|
57714
|
-
AnnotationModeler: "sap.ux.annotationModeler",
|
|
57715
|
-
AppGenerator: "sap.ux.appGenerator",
|
|
57716
|
-
ApplicationModeler: "sap.ux.applicationModeler",
|
|
57717
|
-
Help: "sap.ux.help",
|
|
57718
|
-
RequirementsGathering: "sap.ux.requirementsGathering",
|
|
57719
|
-
ServiceModeler: "sap.ux.serviceModeler",
|
|
57720
|
-
Internal: "sap.ux.internal"
|
|
57721
|
-
};
|
|
57722
|
-
var tokenToggleGuid = {
|
|
57723
|
-
"dummy.test.testBetaFeatures.someTokenFeature": "77e0469d-1448-42bf-8d47-0944896dd9ed",
|
|
57724
|
-
"sap.ux.applicationModeler.testBetaFeatures.enableFPMFeatures": "438b6071-479e-49b4-81bf-c8a016b71c75",
|
|
57725
|
-
"sap.ux.help.testBetaFeatures.enableAppStudioGDContribution": "c8c52f0b-0d7d-4697-997a-d6f29814f42e",
|
|
57726
|
-
"sap.ux.help.testBetaFeatures.enableAbapCdsSupport": "794cae98-3456-491a-ae20-3215a98b56df",
|
|
57727
|
-
"sap.ux.help.testBetaFeatures.showTestGuides": "fbb03f42-0a86-4fd5-9fc4-8c9b38a4d1a3"
|
|
57728
|
-
};
|
|
57729
|
-
exports2.FeatureToggleKey = "testBetaFeatures";
|
|
57730
|
-
exports2.ExperimentalFeatures = "sap.ux.applicationModeler.enableExperimentalFeatures";
|
|
57731
|
-
var FeatureToggleAccess = class {
|
|
57732
|
-
static getFeatureToggle(feature) {
|
|
57733
|
-
var _a2;
|
|
57734
|
-
let toggleConfigValue;
|
|
57735
|
-
if ((feature.includes(exports2.FeatureToggleKey) || feature === exports2.ExperimentalFeatures) && FeatureToggleAccess.vscode) {
|
|
57736
|
-
const toggleKey = feature.slice(0, feature.lastIndexOf("."));
|
|
57737
|
-
const toggleId = feature.slice(feature.lastIndexOf(".") + 1, feature.length);
|
|
57738
|
-
toggleConfigValue = (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)) == null ? void 0 : _a2.get(toggleId);
|
|
57739
|
-
} else {
|
|
57740
|
-
toggleConfigValue = false;
|
|
57741
|
-
}
|
|
57742
|
-
if (process.env.TOOLSUITE_FEATURES) {
|
|
57743
|
-
const envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
|
|
57744
|
-
toggleConfigValue = envFeatures.includes(feature) ? true : toggleConfigValue;
|
|
57745
|
-
}
|
|
57746
|
-
if (tokenToggleGuid[feature]) {
|
|
57747
|
-
if (tokenToggleGuid[feature] === toggleConfigValue) {
|
|
57748
|
-
toggleConfigValue = true;
|
|
57749
|
-
} else {
|
|
57750
|
-
toggleConfigValue = false;
|
|
57751
|
-
}
|
|
57752
|
-
}
|
|
57753
|
-
const featureToggle = {
|
|
57754
|
-
feature,
|
|
57755
|
-
isEnabled: toggleConfigValue === true ? toggleConfigValue : false
|
|
57756
|
-
};
|
|
57757
|
-
return featureToggle;
|
|
57758
|
-
}
|
|
57759
|
-
static getAllFeatureToggles() {
|
|
57760
|
-
const definedToggles = [];
|
|
57761
|
-
if (FeatureToggleAccess.vscode) {
|
|
57762
|
-
Object.keys(extensionConfigKeys).forEach((toggleConfigKey) => {
|
|
57763
|
-
const toggleKey = `${extensionConfigKeys[toggleConfigKey]}.${exports2.FeatureToggleKey}`;
|
|
57764
|
-
let toggles = {};
|
|
57765
|
-
try {
|
|
57766
|
-
toggles = JSON.parse(JSON.stringify(FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)));
|
|
57767
|
-
} catch (e) {
|
|
57768
|
-
}
|
|
57769
|
-
Object.keys(toggles).forEach((toggleId) => {
|
|
57770
|
-
const toggleConfigValue = FeatureToggleAccess.vscode.workspace.getConfiguration(`${toggleKey}`).get(`${toggleId}`);
|
|
57771
|
-
const toggle = {
|
|
57772
|
-
feature: `${toggleKey}.${toggleId}`,
|
|
57773
|
-
isEnabled: toggleConfigValue ? toggleConfigValue : false
|
|
57774
|
-
};
|
|
57775
|
-
definedToggles.push(toggle);
|
|
57776
|
-
});
|
|
57777
|
-
});
|
|
57778
|
-
}
|
|
57779
|
-
return definedToggles;
|
|
57780
|
-
}
|
|
57781
|
-
};
|
|
57782
|
-
exports2.FeatureToggleAccess = FeatureToggleAccess;
|
|
57783
|
-
FeatureToggleAccess.vscode = vscode;
|
|
57784
|
-
function enableFeature(feature) {
|
|
57785
|
-
let envFeatures = [];
|
|
57786
|
-
if (process.env.TOOLSUITE_FEATURES) {
|
|
57787
|
-
envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
|
|
57788
|
-
if (!envFeatures.includes(feature)) {
|
|
57789
|
-
envFeatures.push(feature);
|
|
57790
|
-
}
|
|
57791
|
-
} else {
|
|
57792
|
-
envFeatures.push(feature);
|
|
57793
|
-
}
|
|
57794
|
-
process.env.TOOLSUITE_FEATURES = envFeatures.join();
|
|
57795
|
-
}
|
|
57796
|
-
exports2.enableFeature = enableFeature;
|
|
57797
|
-
function isFeatureEnabled(feature) {
|
|
57798
|
-
return FeatureToggleAccess.getFeatureToggle(feature).isEnabled;
|
|
57799
|
-
}
|
|
57800
|
-
exports2.isFeatureEnabled = isFeatureEnabled;
|
|
57801
|
-
function isInternalFeaturesSettingEnabled() {
|
|
57802
|
-
var _a2;
|
|
57803
|
-
const enableInternalFeaturesSetting = "sap.ux.internal.enableInternalFeatures";
|
|
57804
|
-
let internalEnabled = false;
|
|
57805
|
-
if (FeatureToggleAccess.vscode) {
|
|
57806
|
-
const internalSetting = FeatureToggleAccess.vscode.workspace ? (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration()) == null ? void 0 : _a2.get(enableInternalFeaturesSetting) : false;
|
|
57807
|
-
internalEnabled = internalSetting === true ? true : false;
|
|
57808
|
-
}
|
|
57809
|
-
if (process.env.TOOLSUITE_INTERNAL && process.env.TOOLSUITE_INTERNAL === "true") {
|
|
57810
|
-
internalEnabled = true;
|
|
57811
|
-
}
|
|
57812
|
-
return internalEnabled;
|
|
57813
|
-
}
|
|
57814
|
-
exports2.isInternalFeaturesSettingEnabled = isInternalFeaturesSettingEnabled;
|
|
57815
|
-
}
|
|
57816
|
-
});
|
|
57817
|
-
|
|
57818
|
-
// ../lib/feature-toggle/dist/index.js
|
|
57819
|
-
var require_dist7 = __commonJS({
|
|
57820
|
-
"../lib/feature-toggle/dist/index.js"(exports2) {
|
|
57821
|
-
"use strict";
|
|
57822
|
-
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57823
|
-
var featureToggle_1 = require_featureToggle();
|
|
57824
|
-
exports2.FeatureToggleAccess = featureToggle_1.FeatureToggleAccess;
|
|
57825
|
-
exports2.FeatureToggleKey = featureToggle_1.FeatureToggleKey;
|
|
57826
|
-
exports2.isFeatureEnabled = featureToggle_1.isFeatureEnabled;
|
|
57827
|
-
exports2.isInternalFeaturesSettingEnabled = featureToggle_1.isInternalFeaturesSettingEnabled;
|
|
57828
|
-
exports2.enableFeature = featureToggle_1.enableFeature;
|
|
57829
|
-
exports2.ExperimentalFeatures = featureToggle_1.ExperimentalFeatures;
|
|
57830
|
-
}
|
|
57831
|
-
});
|
|
57832
|
-
|
|
57833
57626
|
// ../lib/ui5-info/core/dist/types.js
|
|
57834
57627
|
var require_types4 = __commonJS({
|
|
57835
57628
|
"../lib/ui5-info/core/dist/types.js"(exports2) {
|
|
57836
57629
|
"use strict";
|
|
57837
57630
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
57838
|
-
var
|
|
57839
|
-
(function(
|
|
57840
|
-
|
|
57841
|
-
|
|
57842
|
-
|
|
57843
|
-
|
|
57844
|
-
|
|
57845
|
-
|
|
57846
|
-
|
|
57847
|
-
|
|
57848
|
-
})(UI5Info = exports2.UI5Info || (exports2.UI5Info = {}));
|
|
57631
|
+
var UI5Info2;
|
|
57632
|
+
(function(UI5Info3) {
|
|
57633
|
+
UI5Info3["OfficialUrl"] = "https://ui5.sap.com";
|
|
57634
|
+
UI5Info3["SnapshotUrl"] = "https://sapui5preview-sapui5.dispatcher.int.sap.eu2.hana.ondemand.com";
|
|
57635
|
+
UI5Info3["VersionsFile"] = "neo-app.json";
|
|
57636
|
+
UI5Info3["DefaultVersion"] = "Latest";
|
|
57637
|
+
UI5Info3["LatestVersionString"] = "Latest";
|
|
57638
|
+
UI5Info3["VersionsOverview"] = "versionoverview.json";
|
|
57639
|
+
UI5Info3["VersionExternalFile"] = "version.json";
|
|
57640
|
+
})(UI5Info2 = exports2.UI5Info || (exports2.UI5Info = {}));
|
|
57849
57641
|
var FioriElementsVersion;
|
|
57850
57642
|
(function(FioriElementsVersion2) {
|
|
57851
57643
|
FioriElementsVersion2["v2"] = "v2";
|
|
@@ -57867,7 +57659,6 @@ var require_ui5_info = __commonJS({
|
|
|
57867
57659
|
var semver_compare_1 = __importDefault(require_semver_compare());
|
|
57868
57660
|
var semver_1 = require_semver5();
|
|
57869
57661
|
var ux_odata_client_1 = require_dist5();
|
|
57870
|
-
var ux_feature_toggle_1 = require_dist7();
|
|
57871
57662
|
var types_1 = require_types4();
|
|
57872
57663
|
var commandRunner_1 = require_commandRunner();
|
|
57873
57664
|
var axios_1 = __importDefault(require_axios2());
|
|
@@ -57880,11 +57671,30 @@ var require_ui5_info = __commonJS({
|
|
|
57880
57671
|
exports2.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE = "1.96.8";
|
|
57881
57672
|
var MIN_UI5_VERSION_V2_TEMPLATE = "1.76.0";
|
|
57882
57673
|
var MIN_UI5_DARK_THEME = "1.72.0";
|
|
57883
|
-
var
|
|
57884
|
-
var MIN_UI5_HORIZON_THEME = "1.96.0";
|
|
57674
|
+
var MIN_UI5_VERSION_HORIZON_THEME = "1.102.0";
|
|
57885
57675
|
var MIN_UI5_VERSION_CODE_ASSIST = "1.76.0";
|
|
57886
57676
|
var DEFAULT_UI5_VERSIONS = [
|
|
57887
57677
|
"Latest",
|
|
57678
|
+
"1.104.0",
|
|
57679
|
+
"1.103.0",
|
|
57680
|
+
"1.102.0",
|
|
57681
|
+
"1.101.0",
|
|
57682
|
+
"1.100.0",
|
|
57683
|
+
"1.99.0",
|
|
57684
|
+
"1.98.0",
|
|
57685
|
+
"1.97.0",
|
|
57686
|
+
"1.96.0",
|
|
57687
|
+
"1.95.0",
|
|
57688
|
+
"1.94.0",
|
|
57689
|
+
"1.93.0",
|
|
57690
|
+
"1.92.0",
|
|
57691
|
+
"1.91.0",
|
|
57692
|
+
"1.90.0",
|
|
57693
|
+
"1.89.0",
|
|
57694
|
+
"1.88.0",
|
|
57695
|
+
"1.87.0",
|
|
57696
|
+
"1.86.0",
|
|
57697
|
+
"1.85.0",
|
|
57888
57698
|
"1.84.0",
|
|
57889
57699
|
"1.82.0",
|
|
57890
57700
|
"1.81.0",
|
|
@@ -57905,22 +57715,103 @@ var require_ui5_info = __commonJS({
|
|
|
57905
57715
|
"1.66.0",
|
|
57906
57716
|
exports2.MIN_UI5_VERSION
|
|
57907
57717
|
];
|
|
57718
|
+
var VERSION_OVERVIEW_FALLBACK = [
|
|
57719
|
+
{ version: "1.104.*", support: "Maintenance" },
|
|
57720
|
+
{ version: "1.103.*", support: "Out of maintenance" },
|
|
57721
|
+
{ version: "1.102.*", support: "Maintenance" },
|
|
57722
|
+
{ version: "1.101.*", support: "Out of maintenance" },
|
|
57723
|
+
{ version: "1.100.*", support: "Out of maintenance" },
|
|
57724
|
+
{ version: "1.99.*", support: "Out of maintenance" },
|
|
57725
|
+
{ version: "1.98.*", support: "Out of maintenance" },
|
|
57726
|
+
{ version: "1.97.*", support: "Out of maintenance" },
|
|
57727
|
+
{ version: "1.96.*", support: "Maintenance" },
|
|
57728
|
+
{ version: "1.95.*", support: "Out of maintenance" },
|
|
57729
|
+
{ version: "1.94.*", support: "Out of maintenance" },
|
|
57730
|
+
{ version: "1.93.*", support: "Out of maintenance" },
|
|
57731
|
+
{ version: "1.92.*", support: "Out of maintenance" },
|
|
57732
|
+
{ version: "1.91.*", support: "Out of maintenance" },
|
|
57733
|
+
{ version: "1.90.*", support: "Out of maintenance" },
|
|
57734
|
+
{ version: "1.89.*", support: "Out of maintenance" },
|
|
57735
|
+
{ version: "1.88.*", support: "Out of maintenance" },
|
|
57736
|
+
{ version: "1.87.*", support: "Out of maintenance" },
|
|
57737
|
+
{ version: "1.86.*", support: "Out of maintenance" },
|
|
57738
|
+
{ version: "1.85.*", support: "Out of maintenance" },
|
|
57739
|
+
{ version: "1.84.*", support: "Maintenance" },
|
|
57740
|
+
{ version: "1.83.*", support: "Skipped" },
|
|
57741
|
+
{ version: "1.82.*", support: "Out of maintenance" },
|
|
57742
|
+
{ version: "1.81.*", support: "Out of maintenance" },
|
|
57743
|
+
{ version: "1.80.*", support: "Out of maintenance" },
|
|
57744
|
+
{ version: "1.79.*", support: "Out of maintenance" },
|
|
57745
|
+
{ version: "1.78.*", support: "Out of maintenance" },
|
|
57746
|
+
{ version: "1.77.*", support: "Out of maintenance" },
|
|
57747
|
+
{ version: "1.76.*", support: "Out of maintenance" },
|
|
57748
|
+
{ version: "1.75.*", support: "Out of maintenance" },
|
|
57749
|
+
{ version: "1.74.*", support: "Out of maintenance" },
|
|
57750
|
+
{ version: "1.73.*", support: "Out of maintenance" },
|
|
57751
|
+
{ version: "1.72.*", support: "Out of maintenance" },
|
|
57752
|
+
{ version: "1.71.*", support: "Maintenance" },
|
|
57753
|
+
{ version: "1.70.*", support: "Out of maintenance" },
|
|
57754
|
+
{ version: "1.69.*", support: "Out of maintenance" },
|
|
57755
|
+
{ version: "1.68.*", support: "Out of maintenance" },
|
|
57756
|
+
{ version: "1.67.*", support: "Out of maintenance" },
|
|
57757
|
+
{ version: "1.66.*", support: "Out of maintenance" },
|
|
57758
|
+
{ version: "1.65.*", support: "Out of maintenance" },
|
|
57759
|
+
{ version: "1.64.*", support: "Out of maintenance" },
|
|
57760
|
+
{ version: "1.63.*", support: "Out of maintenance" },
|
|
57761
|
+
{ version: "1.62.*", support: "Out of maintenance" },
|
|
57762
|
+
{ version: "1.61.*", support: "Out of maintenance" },
|
|
57763
|
+
{ version: "1.60.*", support: "Out of maintenance" },
|
|
57764
|
+
{ version: "1.58.*", support: "Out of maintenance" },
|
|
57765
|
+
{ version: "1.56.*", support: "Out of maintenance" },
|
|
57766
|
+
{ version: "1.54.*", support: "Out of maintenance" },
|
|
57767
|
+
{ version: "1.52.*", support: "Out of maintenance" },
|
|
57768
|
+
{ version: "1.50.*", support: "Out of maintenance" },
|
|
57769
|
+
{ version: "1.48.*", support: "Out of maintenance" },
|
|
57770
|
+
{ version: "1.46.*", support: "Out of maintenance" },
|
|
57771
|
+
{ version: "1.44.*", support: "Out of maintenance" },
|
|
57772
|
+
{ version: "1.42.*", support: "Out of maintenance" },
|
|
57773
|
+
{ version: "1.40.*", support: "Out of maintenance" },
|
|
57774
|
+
{ version: "1.38.*", support: "Maintenance" },
|
|
57775
|
+
{ version: "1.36.*", support: "Out of maintenance" },
|
|
57776
|
+
{ version: "1.34.*", support: "Out of maintenance" },
|
|
57777
|
+
{ version: "1.32.*", support: "Out of maintenance" },
|
|
57778
|
+
{ version: "1.30.*", support: "Out of maintenance" },
|
|
57779
|
+
{ version: "1.28.*", support: "Out of maintenance" },
|
|
57780
|
+
{ version: "1.26.*", support: "Out of maintenance" },
|
|
57781
|
+
{ version: "1.24.*", support: "Out of maintenance" },
|
|
57782
|
+
{ version: "1.22.*", support: "Out of maintenance" },
|
|
57783
|
+
{ version: "*", support: "Out of maintenance" }
|
|
57784
|
+
];
|
|
57785
|
+
var ThemeIds;
|
|
57786
|
+
(function(ThemeIds2) {
|
|
57787
|
+
ThemeIds2["SAP_BELIZE"] = "sap_belize";
|
|
57788
|
+
ThemeIds2["SAP_FIORI_3"] = "sap_fiori_3";
|
|
57789
|
+
ThemeIds2["SAP_FIORI_3_DARK"] = "sap_fiori_3_dark";
|
|
57790
|
+
ThemeIds2["SAP_HORIZON"] = "sap_horizon";
|
|
57791
|
+
ThemeIds2["SAP_HORIZON_DARK"] = "sap_horizon_dark";
|
|
57792
|
+
ThemeIds2["SAP_HORIZON_CONTRAST"] = "sap_horizon_hcw";
|
|
57793
|
+
ThemeIds2["SAP_HORIZON_CONTRAST_DARK"] = "sap_horizon_hcb";
|
|
57794
|
+
})(ThemeIds = exports2.ThemeIds || (exports2.ThemeIds = {}));
|
|
57908
57795
|
var THEMES = [
|
|
57909
57796
|
{
|
|
57910
57797
|
themeid: "sap_belize",
|
|
57911
|
-
label: "
|
|
57798
|
+
label: "Belize"
|
|
57912
57799
|
},
|
|
57913
57800
|
{
|
|
57914
57801
|
themeid: "sap_fiori_3",
|
|
57915
|
-
label: "
|
|
57802
|
+
label: "Quartz Light"
|
|
57916
57803
|
},
|
|
57917
57804
|
{
|
|
57918
57805
|
themeid: "sap_fiori_3_dark",
|
|
57919
|
-
label: "
|
|
57806
|
+
label: "Quartz Dark"
|
|
57920
57807
|
},
|
|
57921
57808
|
{
|
|
57922
57809
|
themeid: "sap_horizon",
|
|
57923
|
-
label: "
|
|
57810
|
+
label: "Morning Horizon"
|
|
57811
|
+
},
|
|
57812
|
+
{
|
|
57813
|
+
themeid: "sap_horizon_dark",
|
|
57814
|
+
label: "Evening Horizon"
|
|
57924
57815
|
}
|
|
57925
57816
|
];
|
|
57926
57817
|
var LATEST_MANIFEST_VERSION = "1.32.0";
|
|
@@ -58047,8 +57938,16 @@ var require_ui5_info = __commonJS({
|
|
|
58047
57938
|
}
|
|
58048
57939
|
exports2.parseUI5Versions = parseUI5Versions;
|
|
58049
57940
|
async function parseUI5VersionsOverview() {
|
|
58050
|
-
|
|
58051
|
-
|
|
57941
|
+
let result2 = [];
|
|
57942
|
+
let versions = [];
|
|
57943
|
+
try {
|
|
57944
|
+
const response = await requestUI5Versions("https://ui5.sap.com", `/${"versionoverview.json"}`);
|
|
57945
|
+
versions = JSON.parse(JSON.stringify(response)).versions;
|
|
57946
|
+
} catch (error3) {
|
|
57947
|
+
console.warn(`Request to '${"https://ui5.sap.com"}' failed. Error was: '${error3.message}'. Fallback to default UI5 versions`);
|
|
57948
|
+
versions = VERSION_OVERVIEW_FALLBACK;
|
|
57949
|
+
}
|
|
57950
|
+
result2 = versions.map((ver) => {
|
|
58052
57951
|
var _a2;
|
|
58053
57952
|
const parsedVersion = (_a2 = semver_1.coerce(ver.version)) == null ? void 0 : _a2.version;
|
|
58054
57953
|
if (parsedVersion !== void 0) {
|
|
@@ -58120,8 +58019,14 @@ var require_ui5_info = __commonJS({
|
|
|
58120
58019
|
return (filterOptions == null ? void 0 : filterOptions.removeDuplicateVersions) === true ? [...new Set(versions)] : versions;
|
|
58121
58020
|
}
|
|
58122
58021
|
exports2.retrieveUI5Versions = retrieveUI5Versions;
|
|
58123
|
-
async function
|
|
58124
|
-
let filteredUI5Versions
|
|
58022
|
+
async function getUI5VersionsEnhanced2(filterOptions) {
|
|
58023
|
+
let filteredUI5Versions;
|
|
58024
|
+
try {
|
|
58025
|
+
filteredUI5Versions = await retrieveUI5Versions(filterOptions, void 0, true);
|
|
58026
|
+
} catch (error3) {
|
|
58027
|
+
console.warn(`Request to '${"https://ui5.sap.com"}' failed. Error was: '${error3.message}'. Fallback to default UI5 versions`);
|
|
58028
|
+
filteredUI5Versions = DEFAULT_UI5_VERSIONS.slice();
|
|
58029
|
+
}
|
|
58125
58030
|
const defaultUI5Version = filteredUI5Versions[0];
|
|
58126
58031
|
if (!(filterOptions == null ? void 0 : filterOptions.includeSnapshots)) {
|
|
58127
58032
|
filteredUI5Versions = sortUI5Versions(filteredUI5Versions);
|
|
@@ -58149,7 +58054,7 @@ var require_ui5_info = __commonJS({
|
|
|
58149
58054
|
return ui5Version;
|
|
58150
58055
|
});
|
|
58151
58056
|
}
|
|
58152
|
-
exports2.getUI5VersionsEnhanced =
|
|
58057
|
+
exports2.getUI5VersionsEnhanced = getUI5VersionsEnhanced2;
|
|
58153
58058
|
function getUi5Themes(ui5Version = "Latest") {
|
|
58154
58059
|
let filteredUi5Version = ui5Version.replace("snapshot-", "");
|
|
58155
58060
|
filteredUi5Version = zeroExtendUI5Version(filteredUi5Version);
|
|
@@ -58164,13 +58069,25 @@ var require_ui5_info = __commonJS({
|
|
|
58164
58069
|
(ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_DARK_THEME) >= 0) && filteredThemes.push(theme);
|
|
58165
58070
|
break;
|
|
58166
58071
|
case "sap_horizon":
|
|
58167
|
-
|
|
58072
|
+
case "sap_horizon_dark":
|
|
58073
|
+
case "sap_horizon_hcw":
|
|
58074
|
+
case "sap_horizon_hcb":
|
|
58075
|
+
(ui5VersionCheck(filteredUi5Version) || semver_compare_1.default(filteredUi5Version, MIN_UI5_VERSION_HORIZON_THEME) >= 0) && filteredThemes.push(theme);
|
|
58168
58076
|
break;
|
|
58169
58077
|
}
|
|
58170
58078
|
}
|
|
58171
58079
|
return filteredThemes;
|
|
58172
58080
|
}
|
|
58173
58081
|
exports2.getUi5Themes = getUi5Themes;
|
|
58082
|
+
function getDefaultTheme(ui5Version) {
|
|
58083
|
+
if (ui5Version) {
|
|
58084
|
+
if (semver_1.coerce(ui5Version) && semver_1.lt(ui5Version, MIN_UI5_VERSION_HORIZON_THEME)) {
|
|
58085
|
+
return "sap_fiori_3";
|
|
58086
|
+
}
|
|
58087
|
+
}
|
|
58088
|
+
return "sap_horizon";
|
|
58089
|
+
}
|
|
58090
|
+
exports2.getDefaultTheme = getDefaultTheme;
|
|
58174
58091
|
function zeroExtendUI5Version(ui5Version) {
|
|
58175
58092
|
const versionParts = ui5Version.split(".");
|
|
58176
58093
|
if (versionParts.length < 3 && !ui5VersionCheck(ui5Version)) {
|
|
@@ -58269,7 +58186,7 @@ var require_ui5_info = __commonJS({
|
|
|
58269
58186
|
});
|
|
58270
58187
|
|
|
58271
58188
|
// ../lib/ui5-info/core/dist/index.js
|
|
58272
|
-
var
|
|
58189
|
+
var require_dist7 = __commonJS({
|
|
58273
58190
|
"../lib/ui5-info/core/dist/index.js"(exports2) {
|
|
58274
58191
|
"use strict";
|
|
58275
58192
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -58284,6 +58201,7 @@ var require_dist8 = __commonJS({
|
|
|
58284
58201
|
exports2.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE = ui5_info_1.MIN_UI5_VERSION_OVERVIEW_V4_TEMPLATE;
|
|
58285
58202
|
exports2.retrieveUI5Versions = ui5_info_1.retrieveUI5Versions;
|
|
58286
58203
|
exports2.getUi5Themes = ui5_info_1.getUi5Themes;
|
|
58204
|
+
exports2.getDefaultTheme = ui5_info_1.getDefaultTheme;
|
|
58287
58205
|
exports2.getManifestVersion = ui5_info_1.getManifestVersion;
|
|
58288
58206
|
exports2.uI5VersionsWithCodeAssist = ui5_info_1.uI5VersionsWithCodeAssist;
|
|
58289
58207
|
exports2.parseUI5Versions = ui5_info_1.parseUI5Versions;
|
|
@@ -58328,10 +58246,36 @@ var require_yamlFile = __commonJS({
|
|
|
58328
58246
|
}
|
|
58329
58247
|
exports2.readUi5YamlConfig = readUi5YamlConfig;
|
|
58330
58248
|
async function getParsedUi5YamlConfig(dirPath, filename) {
|
|
58249
|
+
var _a2;
|
|
58331
58250
|
const contents = await readUi5YamlConfig(dirPath, filename);
|
|
58332
58251
|
if (contents) {
|
|
58333
58252
|
try {
|
|
58334
|
-
|
|
58253
|
+
const parsed = yaml.parse(contents);
|
|
58254
|
+
if (((_a2 = parsed == null ? void 0 : parsed.server) == null ? void 0 : _a2.customMiddleware) && Array.isArray(parsed.server.customMiddleware)) {
|
|
58255
|
+
for (const middleware of parsed.server.customMiddleware) {
|
|
58256
|
+
const configuration = middleware == null ? void 0 : middleware.configuration;
|
|
58257
|
+
const services = [];
|
|
58258
|
+
if (Array.isArray(configuration == null ? void 0 : configuration.service)) {
|
|
58259
|
+
services.push(...configuration.service);
|
|
58260
|
+
} else if (configuration == null ? void 0 : configuration.service) {
|
|
58261
|
+
services.push(configuration.service);
|
|
58262
|
+
}
|
|
58263
|
+
if (Array.isArray(configuration == null ? void 0 : configuration.services)) {
|
|
58264
|
+
services.push(...configuration.services);
|
|
58265
|
+
} else if (configuration == null ? void 0 : configuration.services) {
|
|
58266
|
+
services.push(configuration.services);
|
|
58267
|
+
}
|
|
58268
|
+
for (const service of services) {
|
|
58269
|
+
if (service.mockdataRootPath) {
|
|
58270
|
+
service.mockdataPath = service.mockdataRootPath;
|
|
58271
|
+
}
|
|
58272
|
+
if (service.metadataXmlPath) {
|
|
58273
|
+
service.metadataPath = service.metadataXmlPath;
|
|
58274
|
+
}
|
|
58275
|
+
}
|
|
58276
|
+
}
|
|
58277
|
+
}
|
|
58278
|
+
return parsed;
|
|
58335
58279
|
} catch (e) {
|
|
58336
58280
|
throw new Error(i18n_1.i18n.t("ERROR_UI5_YAML_PARSING", { filePath: path_1.join(dirPath, filename), parsingError: e.message }));
|
|
58337
58281
|
}
|
|
@@ -58419,10 +58363,10 @@ var require_mockServer = __commonJS({
|
|
|
58419
58363
|
}
|
|
58420
58364
|
return (services == null ? void 0 : services.length) ? services : null;
|
|
58421
58365
|
}
|
|
58422
|
-
function matchMockServiceByMetadataPath(mockService,
|
|
58423
|
-
const {
|
|
58424
|
-
if (
|
|
58425
|
-
return
|
|
58366
|
+
function matchMockServiceByMetadataPath(mockService, path) {
|
|
58367
|
+
const { metadataPath } = mockService;
|
|
58368
|
+
if (metadataPath) {
|
|
58369
|
+
return path.endsWith(path_1.normalize(metadataPath));
|
|
58426
58370
|
}
|
|
58427
58371
|
return false;
|
|
58428
58372
|
}
|
|
@@ -58490,7 +58434,7 @@ var require_utils10 = __commonJS({
|
|
|
58490
58434
|
var os_1 = __importDefault(require("os"));
|
|
58491
58435
|
var capProject_1 = require_capProject();
|
|
58492
58436
|
var webapp_1 = require_webapp2();
|
|
58493
|
-
var ux_ui5_info_1 =
|
|
58437
|
+
var ux_ui5_info_1 = require_dist7();
|
|
58494
58438
|
var ui5Config_1 = require_ui5Config();
|
|
58495
58439
|
exports2.scriptsRegEx = /fiori run|cds watch|cds run|ui5 serve|mvn spring-boot:run/;
|
|
58496
58440
|
async function findProjectRoot(path, sapuxRequired = true) {
|
|
@@ -59209,9 +59153,9 @@ var require_utils10 = __commonJS({
|
|
|
59209
59153
|
const { services, mockFolder } = await ui5Config_1.getMockServicesConfiguration(configDir, config2);
|
|
59210
59154
|
if (services) {
|
|
59211
59155
|
const mockService = ui5Config_1.findMockServiceByMetadataPath(services, serviceMetadataPath);
|
|
59212
|
-
if (mockService == null ? void 0 : mockService.
|
|
59156
|
+
if (mockService == null ? void 0 : mockService.mockdataPath) {
|
|
59213
59157
|
const servicesConfigFilePath = mockFolder ? path_1.resolve(configDir, mockFolder) : configDir;
|
|
59214
|
-
return path_1.resolve(servicesConfigFilePath, mockService.
|
|
59158
|
+
return path_1.resolve(servicesConfigFilePath, mockService.mockdataPath);
|
|
59215
59159
|
}
|
|
59216
59160
|
}
|
|
59217
59161
|
}
|
|
@@ -59225,6 +59169,11 @@ var require_types5 = __commonJS({
|
|
|
59225
59169
|
"../lib/telemetry/dist/src/toolsSuiteTelemetry/types.js"(exports2) {
|
|
59226
59170
|
"use strict";
|
|
59227
59171
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59172
|
+
var ToolsId;
|
|
59173
|
+
(function(ToolsId2) {
|
|
59174
|
+
ToolsId2["UNKNOWN"] = "UNKNOWN";
|
|
59175
|
+
ToolsId2["NO_TOOLS_ID"] = "NO_TOOLS_ID";
|
|
59176
|
+
})(ToolsId = exports2.ToolsId || (exports2.ToolsId = {}));
|
|
59228
59177
|
var ODataSource;
|
|
59229
59178
|
(function(ODataSource2) {
|
|
59230
59179
|
ODataSource2["CAPJava"] = "CAPJava";
|
|
@@ -59249,10 +59198,141 @@ var require_types5 = __commonJS({
|
|
|
59249
59198
|
CommonProperties2["TemplateType"] = "cmn.template";
|
|
59250
59199
|
CommonProperties2["DeployTargetType"] = "cmn.deployTarget";
|
|
59251
59200
|
CommonProperties2["ODataSourceType"] = "cmn.odataSource";
|
|
59201
|
+
CommonProperties2["AppToolsId"] = "cmn.toolsId";
|
|
59252
59202
|
})(CommonProperties = exports2.CommonProperties || (exports2.CommonProperties = {}));
|
|
59253
59203
|
}
|
|
59254
59204
|
});
|
|
59255
59205
|
|
|
59206
|
+
// ../lib/feature-toggle/dist/featureToggle.js
|
|
59207
|
+
var require_featureToggle = __commonJS({
|
|
59208
|
+
"../lib/feature-toggle/dist/featureToggle.js"(exports2) {
|
|
59209
|
+
"use strict";
|
|
59210
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59211
|
+
var vscode = void 0;
|
|
59212
|
+
try {
|
|
59213
|
+
vscode = require("vscode");
|
|
59214
|
+
} catch (e) {
|
|
59215
|
+
}
|
|
59216
|
+
var extensionConfigKeys = {
|
|
59217
|
+
AnnotationModeler: "sap.ux.annotationModeler",
|
|
59218
|
+
AppGenerator: "sap.ux.appGenerator",
|
|
59219
|
+
ApplicationModeler: "sap.ux.applicationModeler",
|
|
59220
|
+
Help: "sap.ux.help",
|
|
59221
|
+
RequirementsGathering: "sap.ux.requirementsGathering",
|
|
59222
|
+
ServiceModeler: "sap.ux.serviceModeler",
|
|
59223
|
+
Internal: "sap.ux.internal"
|
|
59224
|
+
};
|
|
59225
|
+
var tokenToggleGuid = {
|
|
59226
|
+
"dummy.test.testBetaFeatures.someTokenFeature": "77e0469d-1448-42bf-8d47-0944896dd9ed",
|
|
59227
|
+
"sap.ux.applicationModeler.testBetaFeatures.enableFPMFeatures": "438b6071-479e-49b4-81bf-c8a016b71c75",
|
|
59228
|
+
"sap.ux.help.testBetaFeatures.enableAppStudioGDContribution": "c8c52f0b-0d7d-4697-997a-d6f29814f42e",
|
|
59229
|
+
"sap.ux.help.testBetaFeatures.enableAbapCdsSupport": "794cae98-3456-491a-ae20-3215a98b56df",
|
|
59230
|
+
"sap.ux.help.testBetaFeatures.showTestGuides": "fbb03f42-0a86-4fd5-9fc4-8c9b38a4d1a3"
|
|
59231
|
+
};
|
|
59232
|
+
exports2.FeatureToggleKey = "testBetaFeatures";
|
|
59233
|
+
exports2.ExperimentalFeatures = "sap.ux.applicationModeler.enableExperimentalFeatures";
|
|
59234
|
+
var FeatureToggleAccess = class {
|
|
59235
|
+
static getFeatureToggle(feature) {
|
|
59236
|
+
var _a2;
|
|
59237
|
+
let toggleConfigValue;
|
|
59238
|
+
if ((feature.includes(exports2.FeatureToggleKey) || feature === exports2.ExperimentalFeatures) && FeatureToggleAccess.vscode) {
|
|
59239
|
+
const toggleKey = feature.slice(0, feature.lastIndexOf("."));
|
|
59240
|
+
const toggleId = feature.slice(feature.lastIndexOf(".") + 1, feature.length);
|
|
59241
|
+
toggleConfigValue = (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)) == null ? void 0 : _a2.get(toggleId);
|
|
59242
|
+
} else {
|
|
59243
|
+
toggleConfigValue = false;
|
|
59244
|
+
}
|
|
59245
|
+
if (process.env.TOOLSUITE_FEATURES) {
|
|
59246
|
+
const envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
|
|
59247
|
+
toggleConfigValue = envFeatures.includes(feature) ? true : toggleConfigValue;
|
|
59248
|
+
}
|
|
59249
|
+
if (tokenToggleGuid[feature]) {
|
|
59250
|
+
if (tokenToggleGuid[feature] === toggleConfigValue) {
|
|
59251
|
+
toggleConfigValue = true;
|
|
59252
|
+
} else {
|
|
59253
|
+
toggleConfigValue = false;
|
|
59254
|
+
}
|
|
59255
|
+
}
|
|
59256
|
+
const featureToggle = {
|
|
59257
|
+
feature,
|
|
59258
|
+
isEnabled: toggleConfigValue === true ? toggleConfigValue : false
|
|
59259
|
+
};
|
|
59260
|
+
return featureToggle;
|
|
59261
|
+
}
|
|
59262
|
+
static getAllFeatureToggles() {
|
|
59263
|
+
const definedToggles = [];
|
|
59264
|
+
if (FeatureToggleAccess.vscode) {
|
|
59265
|
+
Object.keys(extensionConfigKeys).forEach((toggleConfigKey) => {
|
|
59266
|
+
const toggleKey = `${extensionConfigKeys[toggleConfigKey]}.${exports2.FeatureToggleKey}`;
|
|
59267
|
+
let toggles = {};
|
|
59268
|
+
try {
|
|
59269
|
+
toggles = JSON.parse(JSON.stringify(FeatureToggleAccess.vscode.workspace.getConfiguration(toggleKey)));
|
|
59270
|
+
} catch (e) {
|
|
59271
|
+
}
|
|
59272
|
+
Object.keys(toggles).forEach((toggleId) => {
|
|
59273
|
+
const toggleConfigValue = FeatureToggleAccess.vscode.workspace.getConfiguration(`${toggleKey}`).get(`${toggleId}`);
|
|
59274
|
+
const toggle = {
|
|
59275
|
+
feature: `${toggleKey}.${toggleId}`,
|
|
59276
|
+
isEnabled: toggleConfigValue ? toggleConfigValue : false
|
|
59277
|
+
};
|
|
59278
|
+
definedToggles.push(toggle);
|
|
59279
|
+
});
|
|
59280
|
+
});
|
|
59281
|
+
}
|
|
59282
|
+
return definedToggles;
|
|
59283
|
+
}
|
|
59284
|
+
};
|
|
59285
|
+
exports2.FeatureToggleAccess = FeatureToggleAccess;
|
|
59286
|
+
FeatureToggleAccess.vscode = vscode;
|
|
59287
|
+
function enableFeature(feature) {
|
|
59288
|
+
let envFeatures = [];
|
|
59289
|
+
if (process.env.TOOLSUITE_FEATURES) {
|
|
59290
|
+
envFeatures = process.env.TOOLSUITE_FEATURES.split(",");
|
|
59291
|
+
if (!envFeatures.includes(feature)) {
|
|
59292
|
+
envFeatures.push(feature);
|
|
59293
|
+
}
|
|
59294
|
+
} else {
|
|
59295
|
+
envFeatures.push(feature);
|
|
59296
|
+
}
|
|
59297
|
+
process.env.TOOLSUITE_FEATURES = envFeatures.join();
|
|
59298
|
+
}
|
|
59299
|
+
exports2.enableFeature = enableFeature;
|
|
59300
|
+
function isFeatureEnabled(feature) {
|
|
59301
|
+
return FeatureToggleAccess.getFeatureToggle(feature).isEnabled;
|
|
59302
|
+
}
|
|
59303
|
+
exports2.isFeatureEnabled = isFeatureEnabled;
|
|
59304
|
+
function isInternalFeaturesSettingEnabled() {
|
|
59305
|
+
var _a2;
|
|
59306
|
+
const enableInternalFeaturesSetting = "sap.ux.internal.enableInternalFeatures";
|
|
59307
|
+
let internalEnabled = false;
|
|
59308
|
+
if (FeatureToggleAccess.vscode) {
|
|
59309
|
+
const internalSetting = FeatureToggleAccess.vscode.workspace ? (_a2 = FeatureToggleAccess.vscode.workspace.getConfiguration()) == null ? void 0 : _a2.get(enableInternalFeaturesSetting) : false;
|
|
59310
|
+
internalEnabled = internalSetting === true ? true : false;
|
|
59311
|
+
}
|
|
59312
|
+
if (process.env.TOOLSUITE_INTERNAL && process.env.TOOLSUITE_INTERNAL === "true") {
|
|
59313
|
+
internalEnabled = true;
|
|
59314
|
+
}
|
|
59315
|
+
return internalEnabled;
|
|
59316
|
+
}
|
|
59317
|
+
exports2.isInternalFeaturesSettingEnabled = isInternalFeaturesSettingEnabled;
|
|
59318
|
+
}
|
|
59319
|
+
});
|
|
59320
|
+
|
|
59321
|
+
// ../lib/feature-toggle/dist/index.js
|
|
59322
|
+
var require_dist8 = __commonJS({
|
|
59323
|
+
"../lib/feature-toggle/dist/index.js"(exports2) {
|
|
59324
|
+
"use strict";
|
|
59325
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
59326
|
+
var featureToggle_1 = require_featureToggle();
|
|
59327
|
+
exports2.FeatureToggleAccess = featureToggle_1.FeatureToggleAccess;
|
|
59328
|
+
exports2.FeatureToggleKey = featureToggle_1.FeatureToggleKey;
|
|
59329
|
+
exports2.isFeatureEnabled = featureToggle_1.isFeatureEnabled;
|
|
59330
|
+
exports2.isInternalFeaturesSettingEnabled = featureToggle_1.isInternalFeaturesSettingEnabled;
|
|
59331
|
+
exports2.enableFeature = featureToggle_1.enableFeature;
|
|
59332
|
+
exports2.ExperimentalFeatures = featureToggle_1.ExperimentalFeatures;
|
|
59333
|
+
}
|
|
59334
|
+
});
|
|
59335
|
+
|
|
59256
59336
|
// ../lib/telemetry/dist/src/toolsSuiteTelemetry/toolsSuiteTelemetryDataProcessor.js
|
|
59257
59337
|
var require_toolsSuiteTelemetryDataProcessor = __commonJS({
|
|
59258
59338
|
"../lib/telemetry/dist/src/toolsSuiteTelemetry/toolsSuiteTelemetryDataProcessor.js"(exports2) {
|
|
@@ -59269,14 +59349,14 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
|
|
|
59269
59349
|
var utils_1 = require_utils10();
|
|
59270
59350
|
var capProject_1 = require_capProject();
|
|
59271
59351
|
var types_1 = require_types5();
|
|
59272
|
-
var ux_feature_toggle_1 =
|
|
59352
|
+
var ux_feature_toggle_1 = require_dist8();
|
|
59273
59353
|
async function processToolsSuiteTelemetry(telemetryHelperProperties) {
|
|
59274
59354
|
const commonProperties = await getCommonProperties();
|
|
59275
59355
|
let appProperties = {};
|
|
59276
59356
|
if (telemetryHelperProperties) {
|
|
59277
59357
|
appProperties = await getAppProperties(telemetryHelperProperties["appPath"]);
|
|
59278
59358
|
}
|
|
59279
|
-
return
|
|
59359
|
+
return { ...commonProperties, ...appProperties };
|
|
59280
59360
|
}
|
|
59281
59361
|
exports2.processToolsSuiteTelemetry = processToolsSuiteTelemetry;
|
|
59282
59362
|
async function getCommonProperties() {
|
|
@@ -59295,7 +59375,7 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
|
|
|
59295
59375
|
try {
|
|
59296
59376
|
const h20Url = process.env.H2O_URL;
|
|
59297
59377
|
const workspaceId = process.env.WORKSPACE_ID.replace("workspaces-", "");
|
|
59298
|
-
const url = `${h20Url}/
|
|
59378
|
+
const url = `${h20Url}/ws-manager/api/v1/workspace/${workspaceId}`;
|
|
59299
59379
|
const response = await axios_1.default.get(url);
|
|
59300
59380
|
if (response.data) {
|
|
59301
59381
|
const workspaceConfig = response.data;
|
|
@@ -59314,10 +59394,12 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
|
|
|
59314
59394
|
const templateType = await getTemplateType(appPath);
|
|
59315
59395
|
const deployTarget = await getDeployTarget(appPath);
|
|
59316
59396
|
const odataSource = await getODataSource(appPath);
|
|
59397
|
+
const toolsId = await getToolsId(appPath);
|
|
59317
59398
|
const output3 = {};
|
|
59318
59399
|
output3[types_1.CommonProperties.TemplateType] = templateType;
|
|
59319
59400
|
output3[types_1.CommonProperties.DeployTargetType] = deployTarget;
|
|
59320
59401
|
output3[types_1.CommonProperties.ODataSourceType] = odataSource;
|
|
59402
|
+
output3[types_1.CommonProperties.AppToolsId] = toolsId;
|
|
59321
59403
|
return output3;
|
|
59322
59404
|
}
|
|
59323
59405
|
async function getTemplateType(appPath) {
|
|
@@ -59402,6 +59484,20 @@ var require_toolsSuiteTelemetryDataProcessor = __commonJS({
|
|
|
59402
59484
|
function getInternalVsExternal() {
|
|
59403
59485
|
return ux_feature_toggle_1.isInternalFeaturesSettingEnabled() ? "internal" : "external";
|
|
59404
59486
|
}
|
|
59487
|
+
async function getToolsId(appPath) {
|
|
59488
|
+
var _a2, _b, _c;
|
|
59489
|
+
try {
|
|
59490
|
+
const manifestPath = path_1.default.join(appPath, "webapp", "manifest.json");
|
|
59491
|
+
if (fs_1.default.existsSync(manifestPath)) {
|
|
59492
|
+
const manifest = JSON.parse(fs_1.default.readFileSync(manifestPath, "utf-8"));
|
|
59493
|
+
return (_c = (_b = (_a2 = manifest["sap.app"]) == null ? void 0 : _a2.sourceTemplate) == null ? void 0 : _b.toolsId) != null ? _c : types_1.ToolsId.NO_TOOLS_ID;
|
|
59494
|
+
}
|
|
59495
|
+
return types_1.ToolsId.NO_TOOLS_ID;
|
|
59496
|
+
} catch (err) {
|
|
59497
|
+
console.log(`[Telemetry]: ${err.message}`);
|
|
59498
|
+
return types_1.ToolsId.NO_TOOLS_ID;
|
|
59499
|
+
}
|
|
59500
|
+
}
|
|
59405
59501
|
}
|
|
59406
59502
|
});
|
|
59407
59503
|
|
|
@@ -60331,7 +60427,7 @@ var init_i18next2 = __esm({
|
|
|
60331
60427
|
value: function hasDefaultValue(options2) {
|
|
60332
60428
|
var prefix = "defaultValue";
|
|
60333
60429
|
for (var option in options2) {
|
|
60334
|
-
if (Object.prototype.hasOwnProperty.call(options2, option) && prefix === option.substring(0, prefix.length) && options2[option]
|
|
60430
|
+
if (Object.prototype.hasOwnProperty.call(options2, option) && prefix === option.substring(0, prefix.length) && void 0 !== options2[option]) {
|
|
60335
60431
|
return true;
|
|
60336
60432
|
}
|
|
60337
60433
|
}
|
|
@@ -65136,7 +65232,7 @@ var require_styles = __commonJS({
|
|
|
65136
65232
|
});
|
|
65137
65233
|
|
|
65138
65234
|
// ../../node_modules/@colors/colors/lib/system/has-flag.js
|
|
65139
|
-
var
|
|
65235
|
+
var require_has_flag2 = __commonJS({
|
|
65140
65236
|
"../../node_modules/@colors/colors/lib/system/has-flag.js"(exports2, module2) {
|
|
65141
65237
|
"use strict";
|
|
65142
65238
|
module2.exports = function(flag, argv) {
|
|
@@ -65154,7 +65250,7 @@ var require_supports_colors = __commonJS({
|
|
|
65154
65250
|
"../../node_modules/@colors/colors/lib/system/supports-colors.js"(exports2, module2) {
|
|
65155
65251
|
"use strict";
|
|
65156
65252
|
var os = require("os");
|
|
65157
|
-
var hasFlag =
|
|
65253
|
+
var hasFlag = require_has_flag2();
|
|
65158
65254
|
var env = process.env;
|
|
65159
65255
|
var forceColor = void 0;
|
|
65160
65256
|
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false")) {
|
|
@@ -68629,7 +68725,7 @@ var require_stream_readable = __commonJS({
|
|
|
68629
68725
|
debug("ondata");
|
|
68630
68726
|
increasedAwaitDrain = false;
|
|
68631
68727
|
var ret = dest.write(chunk);
|
|
68632
|
-
if (
|
|
68728
|
+
if (false === ret && !increasedAwaitDrain) {
|
|
68633
68729
|
if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) {
|
|
68634
68730
|
debug("false write response, pause", src._readableState.awaitDrain);
|
|
68635
68731
|
src._readableState.awaitDrain++;
|
|
@@ -68771,7 +68867,7 @@ var require_stream_readable = __commonJS({
|
|
|
68771
68867
|
}
|
|
68772
68868
|
Readable.prototype.pause = function() {
|
|
68773
68869
|
debug("call pause flowing=%j", this._readableState.flowing);
|
|
68774
|
-
if (this._readableState.flowing
|
|
68870
|
+
if (false !== this._readableState.flowing) {
|
|
68775
68871
|
debug("pause");
|
|
68776
68872
|
this._readableState.flowing = false;
|
|
68777
68873
|
this.emit("pause");
|
|
@@ -74900,7 +74996,7 @@ var require_enabled = __commonJS({
|
|
|
74900
74996
|
var variables = variable.split(/[\s,]+/), i = 0;
|
|
74901
74997
|
for (; i < variables.length; i++) {
|
|
74902
74998
|
variable = variables[i].replace("*", ".*?");
|
|
74903
|
-
if (variable.charAt(0)
|
|
74999
|
+
if ("-" === variable.charAt(0)) {
|
|
74904
75000
|
if (new RegExp("^" + variable.substr(1) + "$").test(name)) {
|
|
74905
75001
|
return false;
|
|
74906
75002
|
}
|
|
@@ -75619,7 +75715,8 @@ var require_http2 = __commonJS({
|
|
|
75619
75715
|
if (auth && auth.bearer) {
|
|
75620
75716
|
headers.Authorization = `Bearer ${auth.bearer}`;
|
|
75621
75717
|
}
|
|
75622
|
-
const req = (this.ssl ? https : http).request(
|
|
75718
|
+
const req = (this.ssl ? https : http).request({
|
|
75719
|
+
...this.options,
|
|
75623
75720
|
method: "POST",
|
|
75624
75721
|
host: this.host,
|
|
75625
75722
|
port: this.port,
|
|
@@ -75627,7 +75724,7 @@ var require_http2 = __commonJS({
|
|
|
75627
75724
|
headers,
|
|
75628
75725
|
auth: auth && auth.username && auth.password ? `${auth.username}:${auth.password}` : "",
|
|
75629
75726
|
agent: this.agent
|
|
75630
|
-
})
|
|
75727
|
+
});
|
|
75631
75728
|
req.on("error", callback);
|
|
75632
75729
|
req.on("response", (res) => res.on("end", () => callback(null, res)).resume());
|
|
75633
75730
|
req.end(Buffer.from(JSON.stringify(options2), "utf8"));
|
|
@@ -75840,15 +75937,15 @@ var require_fn = __commonJS({
|
|
|
75840
75937
|
"use strict";
|
|
75841
75938
|
var toString = Object.prototype.toString;
|
|
75842
75939
|
module2.exports = function name(fn) {
|
|
75843
|
-
if (typeof fn.displayName
|
|
75940
|
+
if ("string" === typeof fn.displayName && fn.constructor.name) {
|
|
75844
75941
|
return fn.displayName;
|
|
75845
|
-
} else if (typeof fn.name
|
|
75942
|
+
} else if ("string" === typeof fn.name && fn.name) {
|
|
75846
75943
|
return fn.name;
|
|
75847
75944
|
}
|
|
75848
|
-
if (typeof fn
|
|
75945
|
+
if ("object" === typeof fn && fn.constructor && "string" === typeof fn.constructor.name)
|
|
75849
75946
|
return fn.constructor.name;
|
|
75850
75947
|
var named = fn.toString(), type = toString.call(fn).slice(8, -1);
|
|
75851
|
-
if (
|
|
75948
|
+
if ("Function" === type) {
|
|
75852
75949
|
named = named.substring(named.indexOf("(") + 1, named.indexOf(")"));
|
|
75853
75950
|
} else {
|
|
75854
75951
|
named = type;
|
|
@@ -79796,7 +79893,7 @@ var require_source2 = __commonJS({
|
|
|
79796
79893
|
"../../node_modules/@sap-ux/store/node_modules/chalk/source/index.js"(exports2, module2) {
|
|
79797
79894
|
"use strict";
|
|
79798
79895
|
var ansiStyles = require_ansi_styles();
|
|
79799
|
-
var { stdout: stdoutColor, stderr: stderrColor } =
|
|
79896
|
+
var { stdout: stdoutColor, stderr: stderrColor } = require_supports_color();
|
|
79800
79897
|
var {
|
|
79801
79898
|
stringReplaceAll,
|
|
79802
79899
|
stringEncaseCRLFWithFirstIndex
|
|
@@ -79877,7 +79974,8 @@ var require_source2 = __commonJS({
|
|
|
79877
79974
|
};
|
|
79878
79975
|
}
|
|
79879
79976
|
var proto = Object.defineProperties(() => {
|
|
79880
|
-
},
|
|
79977
|
+
}, {
|
|
79978
|
+
...styles,
|
|
79881
79979
|
level: {
|
|
79882
79980
|
enumerable: true,
|
|
79883
79981
|
get() {
|
|
@@ -79887,7 +79985,7 @@ var require_source2 = __commonJS({
|
|
|
79887
79985
|
this._generator.level = level;
|
|
79888
79986
|
}
|
|
79889
79987
|
}
|
|
79890
|
-
})
|
|
79988
|
+
});
|
|
79891
79989
|
var createStyler = (open, close, parent) => {
|
|
79892
79990
|
let openAll;
|
|
79893
79991
|
let closeAll;
|
|
@@ -80853,8 +80951,14 @@ var require_paramProcessing = __commonJS({
|
|
|
80853
80951
|
if (Array.isArray(instructions)) {
|
|
80854
80952
|
for (const instruction of instructions) {
|
|
80855
80953
|
[processedDimensions, processedMeasurements] = exports2.paramsProcessing(params, instruction);
|
|
80856
|
-
customDimensions =
|
|
80857
|
-
|
|
80954
|
+
customDimensions = {
|
|
80955
|
+
...customDimensions,
|
|
80956
|
+
...processedDimensions
|
|
80957
|
+
};
|
|
80958
|
+
customMeasurements = {
|
|
80959
|
+
...customMeasurements,
|
|
80960
|
+
...processedMeasurements
|
|
80961
|
+
};
|
|
80858
80962
|
}
|
|
80859
80963
|
} else {
|
|
80860
80964
|
[customDimensions, customMeasurements] = exports2.paramsProcessing(params, instructions);
|
|
@@ -81035,6 +81139,1625 @@ var require_src7 = __commonJS({
|
|
|
81035
81139
|
}
|
|
81036
81140
|
});
|
|
81037
81141
|
|
|
81142
|
+
// node_modules/semver/internal/constants.js
|
|
81143
|
+
var require_constants7 = __commonJS({
|
|
81144
|
+
"node_modules/semver/internal/constants.js"(exports2, module2) {
|
|
81145
|
+
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
81146
|
+
var MAX_LENGTH = 256;
|
|
81147
|
+
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
81148
|
+
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
81149
|
+
module2.exports = {
|
|
81150
|
+
SEMVER_SPEC_VERSION,
|
|
81151
|
+
MAX_LENGTH,
|
|
81152
|
+
MAX_SAFE_INTEGER,
|
|
81153
|
+
MAX_SAFE_COMPONENT_LENGTH
|
|
81154
|
+
};
|
|
81155
|
+
}
|
|
81156
|
+
});
|
|
81157
|
+
|
|
81158
|
+
// node_modules/semver/internal/debug.js
|
|
81159
|
+
var require_debug3 = __commonJS({
|
|
81160
|
+
"node_modules/semver/internal/debug.js"(exports2, module2) {
|
|
81161
|
+
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
81162
|
+
};
|
|
81163
|
+
module2.exports = debug;
|
|
81164
|
+
}
|
|
81165
|
+
});
|
|
81166
|
+
|
|
81167
|
+
// node_modules/semver/internal/re.js
|
|
81168
|
+
var require_re2 = __commonJS({
|
|
81169
|
+
"node_modules/semver/internal/re.js"(exports2, module2) {
|
|
81170
|
+
var { MAX_SAFE_COMPONENT_LENGTH } = require_constants7();
|
|
81171
|
+
var debug = require_debug3();
|
|
81172
|
+
exports2 = module2.exports = {};
|
|
81173
|
+
var re = exports2.re = [];
|
|
81174
|
+
var src = exports2.src = [];
|
|
81175
|
+
var t = exports2.t = {};
|
|
81176
|
+
var R = 0;
|
|
81177
|
+
var createToken = (name, value, isGlobal) => {
|
|
81178
|
+
const index = R++;
|
|
81179
|
+
debug(index, value);
|
|
81180
|
+
t[name] = index;
|
|
81181
|
+
src[index] = value;
|
|
81182
|
+
re[index] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
81183
|
+
};
|
|
81184
|
+
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
81185
|
+
createToken("NUMERICIDENTIFIERLOOSE", "[0-9]+");
|
|
81186
|
+
createToken("NONNUMERICIDENTIFIER", "\\d*[a-zA-Z-][a-zA-Z0-9-]*");
|
|
81187
|
+
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
81188
|
+
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
81189
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NUMERICIDENTIFIER]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
81190
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NUMERICIDENTIFIERLOOSE]}|${src[t.NONNUMERICIDENTIFIER]})`);
|
|
81191
|
+
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
81192
|
+
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
81193
|
+
createToken("BUILDIDENTIFIER", "[0-9A-Za-z-]+");
|
|
81194
|
+
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
81195
|
+
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
81196
|
+
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
81197
|
+
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
81198
|
+
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
81199
|
+
createToken("GTLT", "((?:<|>)?=?)");
|
|
81200
|
+
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
81201
|
+
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
81202
|
+
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
81203
|
+
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
81204
|
+
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
81205
|
+
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
81206
|
+
createToken("COERCE", `${"(^|[^\\d])(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:$|[^\\d])`);
|
|
81207
|
+
createToken("COERCERTL", src[t.COERCE], true);
|
|
81208
|
+
createToken("LONETILDE", "(?:~>?)");
|
|
81209
|
+
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
81210
|
+
exports2.tildeTrimReplace = "$1~";
|
|
81211
|
+
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
81212
|
+
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
81213
|
+
createToken("LONECARET", "(?:\\^)");
|
|
81214
|
+
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
81215
|
+
exports2.caretTrimReplace = "$1^";
|
|
81216
|
+
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
81217
|
+
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
81218
|
+
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
81219
|
+
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
81220
|
+
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
81221
|
+
exports2.comparatorTrimReplace = "$1$2$3";
|
|
81222
|
+
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
81223
|
+
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
81224
|
+
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
81225
|
+
createToken("GTE0", "^\\s*>=\\s*0.0.0\\s*$");
|
|
81226
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0.0.0-0\\s*$");
|
|
81227
|
+
}
|
|
81228
|
+
});
|
|
81229
|
+
|
|
81230
|
+
// node_modules/semver/internal/parse-options.js
|
|
81231
|
+
var require_parse_options2 = __commonJS({
|
|
81232
|
+
"node_modules/semver/internal/parse-options.js"(exports2, module2) {
|
|
81233
|
+
var opts = ["includePrerelease", "loose", "rtl"];
|
|
81234
|
+
var parseOptions = (options2) => !options2 ? {} : typeof options2 !== "object" ? { loose: true } : opts.filter((k) => options2[k]).reduce((options3, k) => {
|
|
81235
|
+
options3[k] = true;
|
|
81236
|
+
return options3;
|
|
81237
|
+
}, {});
|
|
81238
|
+
module2.exports = parseOptions;
|
|
81239
|
+
}
|
|
81240
|
+
});
|
|
81241
|
+
|
|
81242
|
+
// node_modules/semver/internal/identifiers.js
|
|
81243
|
+
var require_identifiers2 = __commonJS({
|
|
81244
|
+
"node_modules/semver/internal/identifiers.js"(exports2, module2) {
|
|
81245
|
+
var numeric = /^[0-9]+$/;
|
|
81246
|
+
var compareIdentifiers = (a, b) => {
|
|
81247
|
+
const anum = numeric.test(a);
|
|
81248
|
+
const bnum = numeric.test(b);
|
|
81249
|
+
if (anum && bnum) {
|
|
81250
|
+
a = +a;
|
|
81251
|
+
b = +b;
|
|
81252
|
+
}
|
|
81253
|
+
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
81254
|
+
};
|
|
81255
|
+
var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
81256
|
+
module2.exports = {
|
|
81257
|
+
compareIdentifiers,
|
|
81258
|
+
rcompareIdentifiers
|
|
81259
|
+
};
|
|
81260
|
+
}
|
|
81261
|
+
});
|
|
81262
|
+
|
|
81263
|
+
// node_modules/semver/classes/semver.js
|
|
81264
|
+
var require_semver6 = __commonJS({
|
|
81265
|
+
"node_modules/semver/classes/semver.js"(exports2, module2) {
|
|
81266
|
+
var debug = require_debug3();
|
|
81267
|
+
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants7();
|
|
81268
|
+
var { re, t } = require_re2();
|
|
81269
|
+
var parseOptions = require_parse_options2();
|
|
81270
|
+
var { compareIdentifiers } = require_identifiers2();
|
|
81271
|
+
var SemVer = class {
|
|
81272
|
+
constructor(version, options2) {
|
|
81273
|
+
options2 = parseOptions(options2);
|
|
81274
|
+
if (version instanceof SemVer) {
|
|
81275
|
+
if (version.loose === !!options2.loose && version.includePrerelease === !!options2.includePrerelease) {
|
|
81276
|
+
return version;
|
|
81277
|
+
} else {
|
|
81278
|
+
version = version.version;
|
|
81279
|
+
}
|
|
81280
|
+
} else if (typeof version !== "string") {
|
|
81281
|
+
throw new TypeError(`Invalid Version: ${version}`);
|
|
81282
|
+
}
|
|
81283
|
+
if (version.length > MAX_LENGTH) {
|
|
81284
|
+
throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
81285
|
+
}
|
|
81286
|
+
debug("SemVer", version, options2);
|
|
81287
|
+
this.options = options2;
|
|
81288
|
+
this.loose = !!options2.loose;
|
|
81289
|
+
this.includePrerelease = !!options2.includePrerelease;
|
|
81290
|
+
const m = version.trim().match(options2.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
81291
|
+
if (!m) {
|
|
81292
|
+
throw new TypeError(`Invalid Version: ${version}`);
|
|
81293
|
+
}
|
|
81294
|
+
this.raw = version;
|
|
81295
|
+
this.major = +m[1];
|
|
81296
|
+
this.minor = +m[2];
|
|
81297
|
+
this.patch = +m[3];
|
|
81298
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
81299
|
+
throw new TypeError("Invalid major version");
|
|
81300
|
+
}
|
|
81301
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
81302
|
+
throw new TypeError("Invalid minor version");
|
|
81303
|
+
}
|
|
81304
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
81305
|
+
throw new TypeError("Invalid patch version");
|
|
81306
|
+
}
|
|
81307
|
+
if (!m[4]) {
|
|
81308
|
+
this.prerelease = [];
|
|
81309
|
+
} else {
|
|
81310
|
+
this.prerelease = m[4].split(".").map((id) => {
|
|
81311
|
+
if (/^[0-9]+$/.test(id)) {
|
|
81312
|
+
const num = +id;
|
|
81313
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
81314
|
+
return num;
|
|
81315
|
+
}
|
|
81316
|
+
}
|
|
81317
|
+
return id;
|
|
81318
|
+
});
|
|
81319
|
+
}
|
|
81320
|
+
this.build = m[5] ? m[5].split(".") : [];
|
|
81321
|
+
this.format();
|
|
81322
|
+
}
|
|
81323
|
+
format() {
|
|
81324
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
81325
|
+
if (this.prerelease.length) {
|
|
81326
|
+
this.version += `-${this.prerelease.join(".")}`;
|
|
81327
|
+
}
|
|
81328
|
+
return this.version;
|
|
81329
|
+
}
|
|
81330
|
+
toString() {
|
|
81331
|
+
return this.version;
|
|
81332
|
+
}
|
|
81333
|
+
compare(other) {
|
|
81334
|
+
debug("SemVer.compare", this.version, this.options, other);
|
|
81335
|
+
if (!(other instanceof SemVer)) {
|
|
81336
|
+
if (typeof other === "string" && other === this.version) {
|
|
81337
|
+
return 0;
|
|
81338
|
+
}
|
|
81339
|
+
other = new SemVer(other, this.options);
|
|
81340
|
+
}
|
|
81341
|
+
if (other.version === this.version) {
|
|
81342
|
+
return 0;
|
|
81343
|
+
}
|
|
81344
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
81345
|
+
}
|
|
81346
|
+
compareMain(other) {
|
|
81347
|
+
if (!(other instanceof SemVer)) {
|
|
81348
|
+
other = new SemVer(other, this.options);
|
|
81349
|
+
}
|
|
81350
|
+
return compareIdentifiers(this.major, other.major) || compareIdentifiers(this.minor, other.minor) || compareIdentifiers(this.patch, other.patch);
|
|
81351
|
+
}
|
|
81352
|
+
comparePre(other) {
|
|
81353
|
+
if (!(other instanceof SemVer)) {
|
|
81354
|
+
other = new SemVer(other, this.options);
|
|
81355
|
+
}
|
|
81356
|
+
if (this.prerelease.length && !other.prerelease.length) {
|
|
81357
|
+
return -1;
|
|
81358
|
+
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
81359
|
+
return 1;
|
|
81360
|
+
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
81361
|
+
return 0;
|
|
81362
|
+
}
|
|
81363
|
+
let i = 0;
|
|
81364
|
+
do {
|
|
81365
|
+
const a = this.prerelease[i];
|
|
81366
|
+
const b = other.prerelease[i];
|
|
81367
|
+
debug("prerelease compare", i, a, b);
|
|
81368
|
+
if (a === void 0 && b === void 0) {
|
|
81369
|
+
return 0;
|
|
81370
|
+
} else if (b === void 0) {
|
|
81371
|
+
return 1;
|
|
81372
|
+
} else if (a === void 0) {
|
|
81373
|
+
return -1;
|
|
81374
|
+
} else if (a === b) {
|
|
81375
|
+
continue;
|
|
81376
|
+
} else {
|
|
81377
|
+
return compareIdentifiers(a, b);
|
|
81378
|
+
}
|
|
81379
|
+
} while (++i);
|
|
81380
|
+
}
|
|
81381
|
+
compareBuild(other) {
|
|
81382
|
+
if (!(other instanceof SemVer)) {
|
|
81383
|
+
other = new SemVer(other, this.options);
|
|
81384
|
+
}
|
|
81385
|
+
let i = 0;
|
|
81386
|
+
do {
|
|
81387
|
+
const a = this.build[i];
|
|
81388
|
+
const b = other.build[i];
|
|
81389
|
+
debug("prerelease compare", i, a, b);
|
|
81390
|
+
if (a === void 0 && b === void 0) {
|
|
81391
|
+
return 0;
|
|
81392
|
+
} else if (b === void 0) {
|
|
81393
|
+
return 1;
|
|
81394
|
+
} else if (a === void 0) {
|
|
81395
|
+
return -1;
|
|
81396
|
+
} else if (a === b) {
|
|
81397
|
+
continue;
|
|
81398
|
+
} else {
|
|
81399
|
+
return compareIdentifiers(a, b);
|
|
81400
|
+
}
|
|
81401
|
+
} while (++i);
|
|
81402
|
+
}
|
|
81403
|
+
inc(release, identifier) {
|
|
81404
|
+
switch (release) {
|
|
81405
|
+
case "premajor":
|
|
81406
|
+
this.prerelease.length = 0;
|
|
81407
|
+
this.patch = 0;
|
|
81408
|
+
this.minor = 0;
|
|
81409
|
+
this.major++;
|
|
81410
|
+
this.inc("pre", identifier);
|
|
81411
|
+
break;
|
|
81412
|
+
case "preminor":
|
|
81413
|
+
this.prerelease.length = 0;
|
|
81414
|
+
this.patch = 0;
|
|
81415
|
+
this.minor++;
|
|
81416
|
+
this.inc("pre", identifier);
|
|
81417
|
+
break;
|
|
81418
|
+
case "prepatch":
|
|
81419
|
+
this.prerelease.length = 0;
|
|
81420
|
+
this.inc("patch", identifier);
|
|
81421
|
+
this.inc("pre", identifier);
|
|
81422
|
+
break;
|
|
81423
|
+
case "prerelease":
|
|
81424
|
+
if (this.prerelease.length === 0) {
|
|
81425
|
+
this.inc("patch", identifier);
|
|
81426
|
+
}
|
|
81427
|
+
this.inc("pre", identifier);
|
|
81428
|
+
break;
|
|
81429
|
+
case "major":
|
|
81430
|
+
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
81431
|
+
this.major++;
|
|
81432
|
+
}
|
|
81433
|
+
this.minor = 0;
|
|
81434
|
+
this.patch = 0;
|
|
81435
|
+
this.prerelease = [];
|
|
81436
|
+
break;
|
|
81437
|
+
case "minor":
|
|
81438
|
+
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
81439
|
+
this.minor++;
|
|
81440
|
+
}
|
|
81441
|
+
this.patch = 0;
|
|
81442
|
+
this.prerelease = [];
|
|
81443
|
+
break;
|
|
81444
|
+
case "patch":
|
|
81445
|
+
if (this.prerelease.length === 0) {
|
|
81446
|
+
this.patch++;
|
|
81447
|
+
}
|
|
81448
|
+
this.prerelease = [];
|
|
81449
|
+
break;
|
|
81450
|
+
case "pre":
|
|
81451
|
+
if (this.prerelease.length === 0) {
|
|
81452
|
+
this.prerelease = [0];
|
|
81453
|
+
} else {
|
|
81454
|
+
let i = this.prerelease.length;
|
|
81455
|
+
while (--i >= 0) {
|
|
81456
|
+
if (typeof this.prerelease[i] === "number") {
|
|
81457
|
+
this.prerelease[i]++;
|
|
81458
|
+
i = -2;
|
|
81459
|
+
}
|
|
81460
|
+
}
|
|
81461
|
+
if (i === -1) {
|
|
81462
|
+
this.prerelease.push(0);
|
|
81463
|
+
}
|
|
81464
|
+
}
|
|
81465
|
+
if (identifier) {
|
|
81466
|
+
if (this.prerelease[0] === identifier) {
|
|
81467
|
+
if (isNaN(this.prerelease[1])) {
|
|
81468
|
+
this.prerelease = [identifier, 0];
|
|
81469
|
+
}
|
|
81470
|
+
} else {
|
|
81471
|
+
this.prerelease = [identifier, 0];
|
|
81472
|
+
}
|
|
81473
|
+
}
|
|
81474
|
+
break;
|
|
81475
|
+
default:
|
|
81476
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
81477
|
+
}
|
|
81478
|
+
this.format();
|
|
81479
|
+
this.raw = this.version;
|
|
81480
|
+
return this;
|
|
81481
|
+
}
|
|
81482
|
+
};
|
|
81483
|
+
module2.exports = SemVer;
|
|
81484
|
+
}
|
|
81485
|
+
});
|
|
81486
|
+
|
|
81487
|
+
// node_modules/semver/functions/parse.js
|
|
81488
|
+
var require_parse4 = __commonJS({
|
|
81489
|
+
"node_modules/semver/functions/parse.js"(exports2, module2) {
|
|
81490
|
+
var { MAX_LENGTH } = require_constants7();
|
|
81491
|
+
var { re, t } = require_re2();
|
|
81492
|
+
var SemVer = require_semver6();
|
|
81493
|
+
var parseOptions = require_parse_options2();
|
|
81494
|
+
var parse3 = (version, options2) => {
|
|
81495
|
+
options2 = parseOptions(options2);
|
|
81496
|
+
if (version instanceof SemVer) {
|
|
81497
|
+
return version;
|
|
81498
|
+
}
|
|
81499
|
+
if (typeof version !== "string") {
|
|
81500
|
+
return null;
|
|
81501
|
+
}
|
|
81502
|
+
if (version.length > MAX_LENGTH) {
|
|
81503
|
+
return null;
|
|
81504
|
+
}
|
|
81505
|
+
const r = options2.loose ? re[t.LOOSE] : re[t.FULL];
|
|
81506
|
+
if (!r.test(version)) {
|
|
81507
|
+
return null;
|
|
81508
|
+
}
|
|
81509
|
+
try {
|
|
81510
|
+
return new SemVer(version, options2);
|
|
81511
|
+
} catch (er) {
|
|
81512
|
+
return null;
|
|
81513
|
+
}
|
|
81514
|
+
};
|
|
81515
|
+
module2.exports = parse3;
|
|
81516
|
+
}
|
|
81517
|
+
});
|
|
81518
|
+
|
|
81519
|
+
// node_modules/semver/functions/valid.js
|
|
81520
|
+
var require_valid3 = __commonJS({
|
|
81521
|
+
"node_modules/semver/functions/valid.js"(exports2, module2) {
|
|
81522
|
+
var parse3 = require_parse4();
|
|
81523
|
+
var valid = (version, options2) => {
|
|
81524
|
+
const v = parse3(version, options2);
|
|
81525
|
+
return v ? v.version : null;
|
|
81526
|
+
};
|
|
81527
|
+
module2.exports = valid;
|
|
81528
|
+
}
|
|
81529
|
+
});
|
|
81530
|
+
|
|
81531
|
+
// node_modules/semver/functions/clean.js
|
|
81532
|
+
var require_clean2 = __commonJS({
|
|
81533
|
+
"node_modules/semver/functions/clean.js"(exports2, module2) {
|
|
81534
|
+
var parse3 = require_parse4();
|
|
81535
|
+
var clean = (version, options2) => {
|
|
81536
|
+
const s = parse3(version.trim().replace(/^[=v]+/, ""), options2);
|
|
81537
|
+
return s ? s.version : null;
|
|
81538
|
+
};
|
|
81539
|
+
module2.exports = clean;
|
|
81540
|
+
}
|
|
81541
|
+
});
|
|
81542
|
+
|
|
81543
|
+
// node_modules/semver/functions/inc.js
|
|
81544
|
+
var require_inc2 = __commonJS({
|
|
81545
|
+
"node_modules/semver/functions/inc.js"(exports2, module2) {
|
|
81546
|
+
var SemVer = require_semver6();
|
|
81547
|
+
var inc = (version, release, options2, identifier) => {
|
|
81548
|
+
if (typeof options2 === "string") {
|
|
81549
|
+
identifier = options2;
|
|
81550
|
+
options2 = void 0;
|
|
81551
|
+
}
|
|
81552
|
+
try {
|
|
81553
|
+
return new SemVer(version, options2).inc(release, identifier).version;
|
|
81554
|
+
} catch (er) {
|
|
81555
|
+
return null;
|
|
81556
|
+
}
|
|
81557
|
+
};
|
|
81558
|
+
module2.exports = inc;
|
|
81559
|
+
}
|
|
81560
|
+
});
|
|
81561
|
+
|
|
81562
|
+
// node_modules/semver/functions/compare.js
|
|
81563
|
+
var require_compare2 = __commonJS({
|
|
81564
|
+
"node_modules/semver/functions/compare.js"(exports2, module2) {
|
|
81565
|
+
var SemVer = require_semver6();
|
|
81566
|
+
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
81567
|
+
module2.exports = compare;
|
|
81568
|
+
}
|
|
81569
|
+
});
|
|
81570
|
+
|
|
81571
|
+
// node_modules/semver/functions/eq.js
|
|
81572
|
+
var require_eq3 = __commonJS({
|
|
81573
|
+
"node_modules/semver/functions/eq.js"(exports2, module2) {
|
|
81574
|
+
var compare = require_compare2();
|
|
81575
|
+
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
81576
|
+
module2.exports = eq;
|
|
81577
|
+
}
|
|
81578
|
+
});
|
|
81579
|
+
|
|
81580
|
+
// node_modules/semver/functions/diff.js
|
|
81581
|
+
var require_diff2 = __commonJS({
|
|
81582
|
+
"node_modules/semver/functions/diff.js"(exports2, module2) {
|
|
81583
|
+
var parse3 = require_parse4();
|
|
81584
|
+
var eq = require_eq3();
|
|
81585
|
+
var diff = (version1, version2) => {
|
|
81586
|
+
if (eq(version1, version2)) {
|
|
81587
|
+
return null;
|
|
81588
|
+
} else {
|
|
81589
|
+
const v1 = parse3(version1);
|
|
81590
|
+
const v2 = parse3(version2);
|
|
81591
|
+
const hasPre = v1.prerelease.length || v2.prerelease.length;
|
|
81592
|
+
const prefix = hasPre ? "pre" : "";
|
|
81593
|
+
const defaultResult = hasPre ? "prerelease" : "";
|
|
81594
|
+
for (const key in v1) {
|
|
81595
|
+
if (key === "major" || key === "minor" || key === "patch") {
|
|
81596
|
+
if (v1[key] !== v2[key]) {
|
|
81597
|
+
return prefix + key;
|
|
81598
|
+
}
|
|
81599
|
+
}
|
|
81600
|
+
}
|
|
81601
|
+
return defaultResult;
|
|
81602
|
+
}
|
|
81603
|
+
};
|
|
81604
|
+
module2.exports = diff;
|
|
81605
|
+
}
|
|
81606
|
+
});
|
|
81607
|
+
|
|
81608
|
+
// node_modules/semver/functions/major.js
|
|
81609
|
+
var require_major2 = __commonJS({
|
|
81610
|
+
"node_modules/semver/functions/major.js"(exports2, module2) {
|
|
81611
|
+
var SemVer = require_semver6();
|
|
81612
|
+
var major2 = (a, loose) => new SemVer(a, loose).major;
|
|
81613
|
+
module2.exports = major2;
|
|
81614
|
+
}
|
|
81615
|
+
});
|
|
81616
|
+
|
|
81617
|
+
// node_modules/semver/functions/minor.js
|
|
81618
|
+
var require_minor2 = __commonJS({
|
|
81619
|
+
"node_modules/semver/functions/minor.js"(exports2, module2) {
|
|
81620
|
+
var SemVer = require_semver6();
|
|
81621
|
+
var minor2 = (a, loose) => new SemVer(a, loose).minor;
|
|
81622
|
+
module2.exports = minor2;
|
|
81623
|
+
}
|
|
81624
|
+
});
|
|
81625
|
+
|
|
81626
|
+
// node_modules/semver/functions/patch.js
|
|
81627
|
+
var require_patch2 = __commonJS({
|
|
81628
|
+
"node_modules/semver/functions/patch.js"(exports2, module2) {
|
|
81629
|
+
var SemVer = require_semver6();
|
|
81630
|
+
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
81631
|
+
module2.exports = patch;
|
|
81632
|
+
}
|
|
81633
|
+
});
|
|
81634
|
+
|
|
81635
|
+
// node_modules/semver/functions/prerelease.js
|
|
81636
|
+
var require_prerelease2 = __commonJS({
|
|
81637
|
+
"node_modules/semver/functions/prerelease.js"(exports2, module2) {
|
|
81638
|
+
var parse3 = require_parse4();
|
|
81639
|
+
var prerelease = (version, options2) => {
|
|
81640
|
+
const parsed = parse3(version, options2);
|
|
81641
|
+
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
81642
|
+
};
|
|
81643
|
+
module2.exports = prerelease;
|
|
81644
|
+
}
|
|
81645
|
+
});
|
|
81646
|
+
|
|
81647
|
+
// node_modules/semver/functions/rcompare.js
|
|
81648
|
+
var require_rcompare2 = __commonJS({
|
|
81649
|
+
"node_modules/semver/functions/rcompare.js"(exports2, module2) {
|
|
81650
|
+
var compare = require_compare2();
|
|
81651
|
+
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
81652
|
+
module2.exports = rcompare;
|
|
81653
|
+
}
|
|
81654
|
+
});
|
|
81655
|
+
|
|
81656
|
+
// node_modules/semver/functions/compare-loose.js
|
|
81657
|
+
var require_compare_loose2 = __commonJS({
|
|
81658
|
+
"node_modules/semver/functions/compare-loose.js"(exports2, module2) {
|
|
81659
|
+
var compare = require_compare2();
|
|
81660
|
+
var compareLoose = (a, b) => compare(a, b, true);
|
|
81661
|
+
module2.exports = compareLoose;
|
|
81662
|
+
}
|
|
81663
|
+
});
|
|
81664
|
+
|
|
81665
|
+
// node_modules/semver/functions/compare-build.js
|
|
81666
|
+
var require_compare_build2 = __commonJS({
|
|
81667
|
+
"node_modules/semver/functions/compare-build.js"(exports2, module2) {
|
|
81668
|
+
var SemVer = require_semver6();
|
|
81669
|
+
var compareBuild = (a, b, loose) => {
|
|
81670
|
+
const versionA = new SemVer(a, loose);
|
|
81671
|
+
const versionB = new SemVer(b, loose);
|
|
81672
|
+
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
81673
|
+
};
|
|
81674
|
+
module2.exports = compareBuild;
|
|
81675
|
+
}
|
|
81676
|
+
});
|
|
81677
|
+
|
|
81678
|
+
// node_modules/semver/functions/sort.js
|
|
81679
|
+
var require_sort2 = __commonJS({
|
|
81680
|
+
"node_modules/semver/functions/sort.js"(exports2, module2) {
|
|
81681
|
+
var compareBuild = require_compare_build2();
|
|
81682
|
+
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
81683
|
+
module2.exports = sort;
|
|
81684
|
+
}
|
|
81685
|
+
});
|
|
81686
|
+
|
|
81687
|
+
// node_modules/semver/functions/rsort.js
|
|
81688
|
+
var require_rsort2 = __commonJS({
|
|
81689
|
+
"node_modules/semver/functions/rsort.js"(exports2, module2) {
|
|
81690
|
+
var compareBuild = require_compare_build2();
|
|
81691
|
+
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
81692
|
+
module2.exports = rsort;
|
|
81693
|
+
}
|
|
81694
|
+
});
|
|
81695
|
+
|
|
81696
|
+
// node_modules/semver/functions/gt.js
|
|
81697
|
+
var require_gt2 = __commonJS({
|
|
81698
|
+
"node_modules/semver/functions/gt.js"(exports2, module2) {
|
|
81699
|
+
var compare = require_compare2();
|
|
81700
|
+
var gt2 = (a, b, loose) => compare(a, b, loose) > 0;
|
|
81701
|
+
module2.exports = gt2;
|
|
81702
|
+
}
|
|
81703
|
+
});
|
|
81704
|
+
|
|
81705
|
+
// node_modules/semver/functions/lt.js
|
|
81706
|
+
var require_lt2 = __commonJS({
|
|
81707
|
+
"node_modules/semver/functions/lt.js"(exports2, module2) {
|
|
81708
|
+
var compare = require_compare2();
|
|
81709
|
+
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
81710
|
+
module2.exports = lt;
|
|
81711
|
+
}
|
|
81712
|
+
});
|
|
81713
|
+
|
|
81714
|
+
// node_modules/semver/functions/neq.js
|
|
81715
|
+
var require_neq2 = __commonJS({
|
|
81716
|
+
"node_modules/semver/functions/neq.js"(exports2, module2) {
|
|
81717
|
+
var compare = require_compare2();
|
|
81718
|
+
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
81719
|
+
module2.exports = neq;
|
|
81720
|
+
}
|
|
81721
|
+
});
|
|
81722
|
+
|
|
81723
|
+
// node_modules/semver/functions/gte.js
|
|
81724
|
+
var require_gte2 = __commonJS({
|
|
81725
|
+
"node_modules/semver/functions/gte.js"(exports2, module2) {
|
|
81726
|
+
var compare = require_compare2();
|
|
81727
|
+
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
81728
|
+
module2.exports = gte;
|
|
81729
|
+
}
|
|
81730
|
+
});
|
|
81731
|
+
|
|
81732
|
+
// node_modules/semver/functions/lte.js
|
|
81733
|
+
var require_lte2 = __commonJS({
|
|
81734
|
+
"node_modules/semver/functions/lte.js"(exports2, module2) {
|
|
81735
|
+
var compare = require_compare2();
|
|
81736
|
+
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
81737
|
+
module2.exports = lte;
|
|
81738
|
+
}
|
|
81739
|
+
});
|
|
81740
|
+
|
|
81741
|
+
// node_modules/semver/functions/cmp.js
|
|
81742
|
+
var require_cmp2 = __commonJS({
|
|
81743
|
+
"node_modules/semver/functions/cmp.js"(exports2, module2) {
|
|
81744
|
+
var eq = require_eq3();
|
|
81745
|
+
var neq = require_neq2();
|
|
81746
|
+
var gt2 = require_gt2();
|
|
81747
|
+
var gte = require_gte2();
|
|
81748
|
+
var lt = require_lt2();
|
|
81749
|
+
var lte = require_lte2();
|
|
81750
|
+
var cmp = (a, op, b, loose) => {
|
|
81751
|
+
switch (op) {
|
|
81752
|
+
case "===":
|
|
81753
|
+
if (typeof a === "object")
|
|
81754
|
+
a = a.version;
|
|
81755
|
+
if (typeof b === "object")
|
|
81756
|
+
b = b.version;
|
|
81757
|
+
return a === b;
|
|
81758
|
+
case "!==":
|
|
81759
|
+
if (typeof a === "object")
|
|
81760
|
+
a = a.version;
|
|
81761
|
+
if (typeof b === "object")
|
|
81762
|
+
b = b.version;
|
|
81763
|
+
return a !== b;
|
|
81764
|
+
case "":
|
|
81765
|
+
case "=":
|
|
81766
|
+
case "==":
|
|
81767
|
+
return eq(a, b, loose);
|
|
81768
|
+
case "!=":
|
|
81769
|
+
return neq(a, b, loose);
|
|
81770
|
+
case ">":
|
|
81771
|
+
return gt2(a, b, loose);
|
|
81772
|
+
case ">=":
|
|
81773
|
+
return gte(a, b, loose);
|
|
81774
|
+
case "<":
|
|
81775
|
+
return lt(a, b, loose);
|
|
81776
|
+
case "<=":
|
|
81777
|
+
return lte(a, b, loose);
|
|
81778
|
+
default:
|
|
81779
|
+
throw new TypeError(`Invalid operator: ${op}`);
|
|
81780
|
+
}
|
|
81781
|
+
};
|
|
81782
|
+
module2.exports = cmp;
|
|
81783
|
+
}
|
|
81784
|
+
});
|
|
81785
|
+
|
|
81786
|
+
// node_modules/semver/functions/coerce.js
|
|
81787
|
+
var require_coerce2 = __commonJS({
|
|
81788
|
+
"node_modules/semver/functions/coerce.js"(exports2, module2) {
|
|
81789
|
+
var SemVer = require_semver6();
|
|
81790
|
+
var parse3 = require_parse4();
|
|
81791
|
+
var { re, t } = require_re2();
|
|
81792
|
+
var coerce = (version, options2) => {
|
|
81793
|
+
if (version instanceof SemVer) {
|
|
81794
|
+
return version;
|
|
81795
|
+
}
|
|
81796
|
+
if (typeof version === "number") {
|
|
81797
|
+
version = String(version);
|
|
81798
|
+
}
|
|
81799
|
+
if (typeof version !== "string") {
|
|
81800
|
+
return null;
|
|
81801
|
+
}
|
|
81802
|
+
options2 = options2 || {};
|
|
81803
|
+
let match = null;
|
|
81804
|
+
if (!options2.rtl) {
|
|
81805
|
+
match = version.match(re[t.COERCE]);
|
|
81806
|
+
} else {
|
|
81807
|
+
let next;
|
|
81808
|
+
while ((next = re[t.COERCERTL].exec(version)) && (!match || match.index + match[0].length !== version.length)) {
|
|
81809
|
+
if (!match || next.index + next[0].length !== match.index + match[0].length) {
|
|
81810
|
+
match = next;
|
|
81811
|
+
}
|
|
81812
|
+
re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length;
|
|
81813
|
+
}
|
|
81814
|
+
re[t.COERCERTL].lastIndex = -1;
|
|
81815
|
+
}
|
|
81816
|
+
if (match === null)
|
|
81817
|
+
return null;
|
|
81818
|
+
return parse3(`${match[2]}.${match[3] || "0"}.${match[4] || "0"}`, options2);
|
|
81819
|
+
};
|
|
81820
|
+
module2.exports = coerce;
|
|
81821
|
+
}
|
|
81822
|
+
});
|
|
81823
|
+
|
|
81824
|
+
// node_modules/semver/classes/range.js
|
|
81825
|
+
var require_range2 = __commonJS({
|
|
81826
|
+
"node_modules/semver/classes/range.js"(exports2, module2) {
|
|
81827
|
+
var Range = class {
|
|
81828
|
+
constructor(range, options2) {
|
|
81829
|
+
options2 = parseOptions(options2);
|
|
81830
|
+
if (range instanceof Range) {
|
|
81831
|
+
if (range.loose === !!options2.loose && range.includePrerelease === !!options2.includePrerelease) {
|
|
81832
|
+
return range;
|
|
81833
|
+
} else {
|
|
81834
|
+
return new Range(range.raw, options2);
|
|
81835
|
+
}
|
|
81836
|
+
}
|
|
81837
|
+
if (range instanceof Comparator) {
|
|
81838
|
+
this.raw = range.value;
|
|
81839
|
+
this.set = [[range]];
|
|
81840
|
+
this.format();
|
|
81841
|
+
return this;
|
|
81842
|
+
}
|
|
81843
|
+
this.options = options2;
|
|
81844
|
+
this.loose = !!options2.loose;
|
|
81845
|
+
this.includePrerelease = !!options2.includePrerelease;
|
|
81846
|
+
this.raw = range;
|
|
81847
|
+
this.set = range.split(/\s*\|\|\s*/).map((range2) => this.parseRange(range2.trim())).filter((c) => c.length);
|
|
81848
|
+
if (!this.set.length) {
|
|
81849
|
+
throw new TypeError(`Invalid SemVer Range: ${range}`);
|
|
81850
|
+
}
|
|
81851
|
+
if (this.set.length > 1) {
|
|
81852
|
+
const first = this.set[0];
|
|
81853
|
+
this.set = this.set.filter((c) => !isNullSet(c[0]));
|
|
81854
|
+
if (this.set.length === 0)
|
|
81855
|
+
this.set = [first];
|
|
81856
|
+
else if (this.set.length > 1) {
|
|
81857
|
+
for (const c of this.set) {
|
|
81858
|
+
if (c.length === 1 && isAny(c[0])) {
|
|
81859
|
+
this.set = [c];
|
|
81860
|
+
break;
|
|
81861
|
+
}
|
|
81862
|
+
}
|
|
81863
|
+
}
|
|
81864
|
+
}
|
|
81865
|
+
this.format();
|
|
81866
|
+
}
|
|
81867
|
+
format() {
|
|
81868
|
+
this.range = this.set.map((comps) => {
|
|
81869
|
+
return comps.join(" ").trim();
|
|
81870
|
+
}).join("||").trim();
|
|
81871
|
+
return this.range;
|
|
81872
|
+
}
|
|
81873
|
+
toString() {
|
|
81874
|
+
return this.range;
|
|
81875
|
+
}
|
|
81876
|
+
parseRange(range) {
|
|
81877
|
+
range = range.trim();
|
|
81878
|
+
const memoOpts = Object.keys(this.options).join(",");
|
|
81879
|
+
const memoKey = `parseRange:${memoOpts}:${range}`;
|
|
81880
|
+
const cached = cache.get(memoKey);
|
|
81881
|
+
if (cached)
|
|
81882
|
+
return cached;
|
|
81883
|
+
const loose = this.options.loose;
|
|
81884
|
+
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
81885
|
+
range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
81886
|
+
debug("hyphen replace", range);
|
|
81887
|
+
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
81888
|
+
debug("comparator trim", range, re[t.COMPARATORTRIM]);
|
|
81889
|
+
range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
81890
|
+
range = range.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
81891
|
+
range = range.split(/\s+/).join(" ");
|
|
81892
|
+
const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
81893
|
+
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));
|
|
81894
|
+
const l = rangeList.length;
|
|
81895
|
+
const rangeMap = /* @__PURE__ */ new Map();
|
|
81896
|
+
for (const comp of rangeList) {
|
|
81897
|
+
if (isNullSet(comp))
|
|
81898
|
+
return [comp];
|
|
81899
|
+
rangeMap.set(comp.value, comp);
|
|
81900
|
+
}
|
|
81901
|
+
if (rangeMap.size > 1 && rangeMap.has(""))
|
|
81902
|
+
rangeMap.delete("");
|
|
81903
|
+
const result2 = [...rangeMap.values()];
|
|
81904
|
+
cache.set(memoKey, result2);
|
|
81905
|
+
return result2;
|
|
81906
|
+
}
|
|
81907
|
+
intersects(range, options2) {
|
|
81908
|
+
if (!(range instanceof Range)) {
|
|
81909
|
+
throw new TypeError("a Range is required");
|
|
81910
|
+
}
|
|
81911
|
+
return this.set.some((thisComparators) => {
|
|
81912
|
+
return isSatisfiable(thisComparators, options2) && range.set.some((rangeComparators) => {
|
|
81913
|
+
return isSatisfiable(rangeComparators, options2) && thisComparators.every((thisComparator) => {
|
|
81914
|
+
return rangeComparators.every((rangeComparator) => {
|
|
81915
|
+
return thisComparator.intersects(rangeComparator, options2);
|
|
81916
|
+
});
|
|
81917
|
+
});
|
|
81918
|
+
});
|
|
81919
|
+
});
|
|
81920
|
+
}
|
|
81921
|
+
test(version) {
|
|
81922
|
+
if (!version) {
|
|
81923
|
+
return false;
|
|
81924
|
+
}
|
|
81925
|
+
if (typeof version === "string") {
|
|
81926
|
+
try {
|
|
81927
|
+
version = new SemVer(version, this.options);
|
|
81928
|
+
} catch (er) {
|
|
81929
|
+
return false;
|
|
81930
|
+
}
|
|
81931
|
+
}
|
|
81932
|
+
for (let i = 0; i < this.set.length; i++) {
|
|
81933
|
+
if (testSet(this.set[i], version, this.options)) {
|
|
81934
|
+
return true;
|
|
81935
|
+
}
|
|
81936
|
+
}
|
|
81937
|
+
return false;
|
|
81938
|
+
}
|
|
81939
|
+
};
|
|
81940
|
+
module2.exports = Range;
|
|
81941
|
+
var LRU = require_lru_cache();
|
|
81942
|
+
var cache = new LRU({ max: 1e3 });
|
|
81943
|
+
var parseOptions = require_parse_options2();
|
|
81944
|
+
var Comparator = require_comparator2();
|
|
81945
|
+
var debug = require_debug3();
|
|
81946
|
+
var SemVer = require_semver6();
|
|
81947
|
+
var {
|
|
81948
|
+
re,
|
|
81949
|
+
t,
|
|
81950
|
+
comparatorTrimReplace,
|
|
81951
|
+
tildeTrimReplace,
|
|
81952
|
+
caretTrimReplace
|
|
81953
|
+
} = require_re2();
|
|
81954
|
+
var isNullSet = (c) => c.value === "<0.0.0-0";
|
|
81955
|
+
var isAny = (c) => c.value === "";
|
|
81956
|
+
var isSatisfiable = (comparators, options2) => {
|
|
81957
|
+
let result2 = true;
|
|
81958
|
+
const remainingComparators = comparators.slice();
|
|
81959
|
+
let testComparator = remainingComparators.pop();
|
|
81960
|
+
while (result2 && remainingComparators.length) {
|
|
81961
|
+
result2 = remainingComparators.every((otherComparator) => {
|
|
81962
|
+
return testComparator.intersects(otherComparator, options2);
|
|
81963
|
+
});
|
|
81964
|
+
testComparator = remainingComparators.pop();
|
|
81965
|
+
}
|
|
81966
|
+
return result2;
|
|
81967
|
+
};
|
|
81968
|
+
var parseComparator = (comp, options2) => {
|
|
81969
|
+
debug("comp", comp, options2);
|
|
81970
|
+
comp = replaceCarets(comp, options2);
|
|
81971
|
+
debug("caret", comp);
|
|
81972
|
+
comp = replaceTildes(comp, options2);
|
|
81973
|
+
debug("tildes", comp);
|
|
81974
|
+
comp = replaceXRanges(comp, options2);
|
|
81975
|
+
debug("xrange", comp);
|
|
81976
|
+
comp = replaceStars(comp, options2);
|
|
81977
|
+
debug("stars", comp);
|
|
81978
|
+
return comp;
|
|
81979
|
+
};
|
|
81980
|
+
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
81981
|
+
var replaceTildes = (comp, options2) => comp.trim().split(/\s+/).map((comp2) => {
|
|
81982
|
+
return replaceTilde(comp2, options2);
|
|
81983
|
+
}).join(" ");
|
|
81984
|
+
var replaceTilde = (comp, options2) => {
|
|
81985
|
+
const r = options2.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
81986
|
+
return comp.replace(r, (_45, M, m, p, pr) => {
|
|
81987
|
+
debug("tilde", comp, _45, M, m, p, pr);
|
|
81988
|
+
let ret;
|
|
81989
|
+
if (isX(M)) {
|
|
81990
|
+
ret = "";
|
|
81991
|
+
} else if (isX(m)) {
|
|
81992
|
+
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
81993
|
+
} else if (isX(p)) {
|
|
81994
|
+
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
81995
|
+
} else if (pr) {
|
|
81996
|
+
debug("replaceTilde pr", pr);
|
|
81997
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
81998
|
+
} else {
|
|
81999
|
+
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
82000
|
+
}
|
|
82001
|
+
debug("tilde return", ret);
|
|
82002
|
+
return ret;
|
|
82003
|
+
});
|
|
82004
|
+
};
|
|
82005
|
+
var replaceCarets = (comp, options2) => comp.trim().split(/\s+/).map((comp2) => {
|
|
82006
|
+
return replaceCaret(comp2, options2);
|
|
82007
|
+
}).join(" ");
|
|
82008
|
+
var replaceCaret = (comp, options2) => {
|
|
82009
|
+
debug("caret", comp, options2);
|
|
82010
|
+
const r = options2.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
82011
|
+
const z = options2.includePrerelease ? "-0" : "";
|
|
82012
|
+
return comp.replace(r, (_45, M, m, p, pr) => {
|
|
82013
|
+
debug("caret", comp, _45, M, m, p, pr);
|
|
82014
|
+
let ret;
|
|
82015
|
+
if (isX(M)) {
|
|
82016
|
+
ret = "";
|
|
82017
|
+
} else if (isX(m)) {
|
|
82018
|
+
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
|
|
82019
|
+
} else if (isX(p)) {
|
|
82020
|
+
if (M === "0") {
|
|
82021
|
+
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
|
|
82022
|
+
} else {
|
|
82023
|
+
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
|
|
82024
|
+
}
|
|
82025
|
+
} else if (pr) {
|
|
82026
|
+
debug("replaceCaret pr", pr);
|
|
82027
|
+
if (M === "0") {
|
|
82028
|
+
if (m === "0") {
|
|
82029
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
|
|
82030
|
+
} else {
|
|
82031
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
82032
|
+
}
|
|
82033
|
+
} else {
|
|
82034
|
+
ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
|
|
82035
|
+
}
|
|
82036
|
+
} else {
|
|
82037
|
+
debug("no pr");
|
|
82038
|
+
if (M === "0") {
|
|
82039
|
+
if (m === "0") {
|
|
82040
|
+
ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
|
|
82041
|
+
} else {
|
|
82042
|
+
ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
|
|
82043
|
+
}
|
|
82044
|
+
} else {
|
|
82045
|
+
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
82046
|
+
}
|
|
82047
|
+
}
|
|
82048
|
+
debug("caret return", ret);
|
|
82049
|
+
return ret;
|
|
82050
|
+
});
|
|
82051
|
+
};
|
|
82052
|
+
var replaceXRanges = (comp, options2) => {
|
|
82053
|
+
debug("replaceXRanges", comp, options2);
|
|
82054
|
+
return comp.split(/\s+/).map((comp2) => {
|
|
82055
|
+
return replaceXRange(comp2, options2);
|
|
82056
|
+
}).join(" ");
|
|
82057
|
+
};
|
|
82058
|
+
var replaceXRange = (comp, options2) => {
|
|
82059
|
+
comp = comp.trim();
|
|
82060
|
+
const r = options2.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
82061
|
+
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
82062
|
+
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
82063
|
+
const xM = isX(M);
|
|
82064
|
+
const xm = xM || isX(m);
|
|
82065
|
+
const xp = xm || isX(p);
|
|
82066
|
+
const anyX = xp;
|
|
82067
|
+
if (gtlt === "=" && anyX) {
|
|
82068
|
+
gtlt = "";
|
|
82069
|
+
}
|
|
82070
|
+
pr = options2.includePrerelease ? "-0" : "";
|
|
82071
|
+
if (xM) {
|
|
82072
|
+
if (gtlt === ">" || gtlt === "<") {
|
|
82073
|
+
ret = "<0.0.0-0";
|
|
82074
|
+
} else {
|
|
82075
|
+
ret = "*";
|
|
82076
|
+
}
|
|
82077
|
+
} else if (gtlt && anyX) {
|
|
82078
|
+
if (xm) {
|
|
82079
|
+
m = 0;
|
|
82080
|
+
}
|
|
82081
|
+
p = 0;
|
|
82082
|
+
if (gtlt === ">") {
|
|
82083
|
+
gtlt = ">=";
|
|
82084
|
+
if (xm) {
|
|
82085
|
+
M = +M + 1;
|
|
82086
|
+
m = 0;
|
|
82087
|
+
p = 0;
|
|
82088
|
+
} else {
|
|
82089
|
+
m = +m + 1;
|
|
82090
|
+
p = 0;
|
|
82091
|
+
}
|
|
82092
|
+
} else if (gtlt === "<=") {
|
|
82093
|
+
gtlt = "<";
|
|
82094
|
+
if (xm) {
|
|
82095
|
+
M = +M + 1;
|
|
82096
|
+
} else {
|
|
82097
|
+
m = +m + 1;
|
|
82098
|
+
}
|
|
82099
|
+
}
|
|
82100
|
+
if (gtlt === "<")
|
|
82101
|
+
pr = "-0";
|
|
82102
|
+
ret = `${gtlt + M}.${m}.${p}${pr}`;
|
|
82103
|
+
} else if (xm) {
|
|
82104
|
+
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
82105
|
+
} else if (xp) {
|
|
82106
|
+
ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
|
|
82107
|
+
}
|
|
82108
|
+
debug("xRange return", ret);
|
|
82109
|
+
return ret;
|
|
82110
|
+
});
|
|
82111
|
+
};
|
|
82112
|
+
var replaceStars = (comp, options2) => {
|
|
82113
|
+
debug("replaceStars", comp, options2);
|
|
82114
|
+
return comp.trim().replace(re[t.STAR], "");
|
|
82115
|
+
};
|
|
82116
|
+
var replaceGTE0 = (comp, options2) => {
|
|
82117
|
+
debug("replaceGTE0", comp, options2);
|
|
82118
|
+
return comp.trim().replace(re[options2.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
|
82119
|
+
};
|
|
82120
|
+
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr, tb) => {
|
|
82121
|
+
if (isX(fM)) {
|
|
82122
|
+
from = "";
|
|
82123
|
+
} else if (isX(fm)) {
|
|
82124
|
+
from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
|
|
82125
|
+
} else if (isX(fp)) {
|
|
82126
|
+
from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
|
|
82127
|
+
} else if (fpr) {
|
|
82128
|
+
from = `>=${from}`;
|
|
82129
|
+
} else {
|
|
82130
|
+
from = `>=${from}${incPr ? "-0" : ""}`;
|
|
82131
|
+
}
|
|
82132
|
+
if (isX(tM)) {
|
|
82133
|
+
to = "";
|
|
82134
|
+
} else if (isX(tm)) {
|
|
82135
|
+
to = `<${+tM + 1}.0.0-0`;
|
|
82136
|
+
} else if (isX(tp)) {
|
|
82137
|
+
to = `<${tM}.${+tm + 1}.0-0`;
|
|
82138
|
+
} else if (tpr) {
|
|
82139
|
+
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
82140
|
+
} else if (incPr) {
|
|
82141
|
+
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
82142
|
+
} else {
|
|
82143
|
+
to = `<=${to}`;
|
|
82144
|
+
}
|
|
82145
|
+
return `${from} ${to}`.trim();
|
|
82146
|
+
};
|
|
82147
|
+
var testSet = (set, version, options2) => {
|
|
82148
|
+
for (let i = 0; i < set.length; i++) {
|
|
82149
|
+
if (!set[i].test(version)) {
|
|
82150
|
+
return false;
|
|
82151
|
+
}
|
|
82152
|
+
}
|
|
82153
|
+
if (version.prerelease.length && !options2.includePrerelease) {
|
|
82154
|
+
for (let i = 0; i < set.length; i++) {
|
|
82155
|
+
debug(set[i].semver);
|
|
82156
|
+
if (set[i].semver === Comparator.ANY) {
|
|
82157
|
+
continue;
|
|
82158
|
+
}
|
|
82159
|
+
if (set[i].semver.prerelease.length > 0) {
|
|
82160
|
+
const allowed = set[i].semver;
|
|
82161
|
+
if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
|
|
82162
|
+
return true;
|
|
82163
|
+
}
|
|
82164
|
+
}
|
|
82165
|
+
}
|
|
82166
|
+
return false;
|
|
82167
|
+
}
|
|
82168
|
+
return true;
|
|
82169
|
+
};
|
|
82170
|
+
}
|
|
82171
|
+
});
|
|
82172
|
+
|
|
82173
|
+
// node_modules/semver/classes/comparator.js
|
|
82174
|
+
var require_comparator2 = __commonJS({
|
|
82175
|
+
"node_modules/semver/classes/comparator.js"(exports2, module2) {
|
|
82176
|
+
var ANY = Symbol("SemVer ANY");
|
|
82177
|
+
var Comparator = class {
|
|
82178
|
+
static get ANY() {
|
|
82179
|
+
return ANY;
|
|
82180
|
+
}
|
|
82181
|
+
constructor(comp, options2) {
|
|
82182
|
+
options2 = parseOptions(options2);
|
|
82183
|
+
if (comp instanceof Comparator) {
|
|
82184
|
+
if (comp.loose === !!options2.loose) {
|
|
82185
|
+
return comp;
|
|
82186
|
+
} else {
|
|
82187
|
+
comp = comp.value;
|
|
82188
|
+
}
|
|
82189
|
+
}
|
|
82190
|
+
debug("comparator", comp, options2);
|
|
82191
|
+
this.options = options2;
|
|
82192
|
+
this.loose = !!options2.loose;
|
|
82193
|
+
this.parse(comp);
|
|
82194
|
+
if (this.semver === ANY) {
|
|
82195
|
+
this.value = "";
|
|
82196
|
+
} else {
|
|
82197
|
+
this.value = this.operator + this.semver.version;
|
|
82198
|
+
}
|
|
82199
|
+
debug("comp", this);
|
|
82200
|
+
}
|
|
82201
|
+
parse(comp) {
|
|
82202
|
+
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
82203
|
+
const m = comp.match(r);
|
|
82204
|
+
if (!m) {
|
|
82205
|
+
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
82206
|
+
}
|
|
82207
|
+
this.operator = m[1] !== void 0 ? m[1] : "";
|
|
82208
|
+
if (this.operator === "=") {
|
|
82209
|
+
this.operator = "";
|
|
82210
|
+
}
|
|
82211
|
+
if (!m[2]) {
|
|
82212
|
+
this.semver = ANY;
|
|
82213
|
+
} else {
|
|
82214
|
+
this.semver = new SemVer(m[2], this.options.loose);
|
|
82215
|
+
}
|
|
82216
|
+
}
|
|
82217
|
+
toString() {
|
|
82218
|
+
return this.value;
|
|
82219
|
+
}
|
|
82220
|
+
test(version) {
|
|
82221
|
+
debug("Comparator.test", version, this.options.loose);
|
|
82222
|
+
if (this.semver === ANY || version === ANY) {
|
|
82223
|
+
return true;
|
|
82224
|
+
}
|
|
82225
|
+
if (typeof version === "string") {
|
|
82226
|
+
try {
|
|
82227
|
+
version = new SemVer(version, this.options);
|
|
82228
|
+
} catch (er) {
|
|
82229
|
+
return false;
|
|
82230
|
+
}
|
|
82231
|
+
}
|
|
82232
|
+
return cmp(version, this.operator, this.semver, this.options);
|
|
82233
|
+
}
|
|
82234
|
+
intersects(comp, options2) {
|
|
82235
|
+
if (!(comp instanceof Comparator)) {
|
|
82236
|
+
throw new TypeError("a Comparator is required");
|
|
82237
|
+
}
|
|
82238
|
+
if (!options2 || typeof options2 !== "object") {
|
|
82239
|
+
options2 = {
|
|
82240
|
+
loose: !!options2,
|
|
82241
|
+
includePrerelease: false
|
|
82242
|
+
};
|
|
82243
|
+
}
|
|
82244
|
+
if (this.operator === "") {
|
|
82245
|
+
if (this.value === "") {
|
|
82246
|
+
return true;
|
|
82247
|
+
}
|
|
82248
|
+
return new Range(comp.value, options2).test(this.value);
|
|
82249
|
+
} else if (comp.operator === "") {
|
|
82250
|
+
if (comp.value === "") {
|
|
82251
|
+
return true;
|
|
82252
|
+
}
|
|
82253
|
+
return new Range(this.value, options2).test(comp.semver);
|
|
82254
|
+
}
|
|
82255
|
+
const sameDirectionIncreasing = (this.operator === ">=" || this.operator === ">") && (comp.operator === ">=" || comp.operator === ">");
|
|
82256
|
+
const sameDirectionDecreasing = (this.operator === "<=" || this.operator === "<") && (comp.operator === "<=" || comp.operator === "<");
|
|
82257
|
+
const sameSemVer = this.semver.version === comp.semver.version;
|
|
82258
|
+
const differentDirectionsInclusive = (this.operator === ">=" || this.operator === "<=") && (comp.operator === ">=" || comp.operator === "<=");
|
|
82259
|
+
const oppositeDirectionsLessThan = cmp(this.semver, "<", comp.semver, options2) && (this.operator === ">=" || this.operator === ">") && (comp.operator === "<=" || comp.operator === "<");
|
|
82260
|
+
const oppositeDirectionsGreaterThan = cmp(this.semver, ">", comp.semver, options2) && (this.operator === "<=" || this.operator === "<") && (comp.operator === ">=" || comp.operator === ">");
|
|
82261
|
+
return sameDirectionIncreasing || sameDirectionDecreasing || sameSemVer && differentDirectionsInclusive || oppositeDirectionsLessThan || oppositeDirectionsGreaterThan;
|
|
82262
|
+
}
|
|
82263
|
+
};
|
|
82264
|
+
module2.exports = Comparator;
|
|
82265
|
+
var parseOptions = require_parse_options2();
|
|
82266
|
+
var { re, t } = require_re2();
|
|
82267
|
+
var cmp = require_cmp2();
|
|
82268
|
+
var debug = require_debug3();
|
|
82269
|
+
var SemVer = require_semver6();
|
|
82270
|
+
var Range = require_range2();
|
|
82271
|
+
}
|
|
82272
|
+
});
|
|
82273
|
+
|
|
82274
|
+
// node_modules/semver/functions/satisfies.js
|
|
82275
|
+
var require_satisfies2 = __commonJS({
|
|
82276
|
+
"node_modules/semver/functions/satisfies.js"(exports2, module2) {
|
|
82277
|
+
var Range = require_range2();
|
|
82278
|
+
var satisfies = (version, range, options2) => {
|
|
82279
|
+
try {
|
|
82280
|
+
range = new Range(range, options2);
|
|
82281
|
+
} catch (er) {
|
|
82282
|
+
return false;
|
|
82283
|
+
}
|
|
82284
|
+
return range.test(version);
|
|
82285
|
+
};
|
|
82286
|
+
module2.exports = satisfies;
|
|
82287
|
+
}
|
|
82288
|
+
});
|
|
82289
|
+
|
|
82290
|
+
// node_modules/semver/ranges/to-comparators.js
|
|
82291
|
+
var require_to_comparators2 = __commonJS({
|
|
82292
|
+
"node_modules/semver/ranges/to-comparators.js"(exports2, module2) {
|
|
82293
|
+
var Range = require_range2();
|
|
82294
|
+
var toComparators = (range, options2) => new Range(range, options2).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
82295
|
+
module2.exports = toComparators;
|
|
82296
|
+
}
|
|
82297
|
+
});
|
|
82298
|
+
|
|
82299
|
+
// node_modules/semver/ranges/max-satisfying.js
|
|
82300
|
+
var require_max_satisfying2 = __commonJS({
|
|
82301
|
+
"node_modules/semver/ranges/max-satisfying.js"(exports2, module2) {
|
|
82302
|
+
var SemVer = require_semver6();
|
|
82303
|
+
var Range = require_range2();
|
|
82304
|
+
var maxSatisfying2 = (versions, range, options2) => {
|
|
82305
|
+
let max = null;
|
|
82306
|
+
let maxSV = null;
|
|
82307
|
+
let rangeObj = null;
|
|
82308
|
+
try {
|
|
82309
|
+
rangeObj = new Range(range, options2);
|
|
82310
|
+
} catch (er) {
|
|
82311
|
+
return null;
|
|
82312
|
+
}
|
|
82313
|
+
versions.forEach((v) => {
|
|
82314
|
+
if (rangeObj.test(v)) {
|
|
82315
|
+
if (!max || maxSV.compare(v) === -1) {
|
|
82316
|
+
max = v;
|
|
82317
|
+
maxSV = new SemVer(max, options2);
|
|
82318
|
+
}
|
|
82319
|
+
}
|
|
82320
|
+
});
|
|
82321
|
+
return max;
|
|
82322
|
+
};
|
|
82323
|
+
module2.exports = maxSatisfying2;
|
|
82324
|
+
}
|
|
82325
|
+
});
|
|
82326
|
+
|
|
82327
|
+
// node_modules/semver/ranges/min-satisfying.js
|
|
82328
|
+
var require_min_satisfying2 = __commonJS({
|
|
82329
|
+
"node_modules/semver/ranges/min-satisfying.js"(exports2, module2) {
|
|
82330
|
+
var SemVer = require_semver6();
|
|
82331
|
+
var Range = require_range2();
|
|
82332
|
+
var minSatisfying = (versions, range, options2) => {
|
|
82333
|
+
let min = null;
|
|
82334
|
+
let minSV = null;
|
|
82335
|
+
let rangeObj = null;
|
|
82336
|
+
try {
|
|
82337
|
+
rangeObj = new Range(range, options2);
|
|
82338
|
+
} catch (er) {
|
|
82339
|
+
return null;
|
|
82340
|
+
}
|
|
82341
|
+
versions.forEach((v) => {
|
|
82342
|
+
if (rangeObj.test(v)) {
|
|
82343
|
+
if (!min || minSV.compare(v) === 1) {
|
|
82344
|
+
min = v;
|
|
82345
|
+
minSV = new SemVer(min, options2);
|
|
82346
|
+
}
|
|
82347
|
+
}
|
|
82348
|
+
});
|
|
82349
|
+
return min;
|
|
82350
|
+
};
|
|
82351
|
+
module2.exports = minSatisfying;
|
|
82352
|
+
}
|
|
82353
|
+
});
|
|
82354
|
+
|
|
82355
|
+
// node_modules/semver/ranges/min-version.js
|
|
82356
|
+
var require_min_version2 = __commonJS({
|
|
82357
|
+
"node_modules/semver/ranges/min-version.js"(exports2, module2) {
|
|
82358
|
+
var SemVer = require_semver6();
|
|
82359
|
+
var Range = require_range2();
|
|
82360
|
+
var gt2 = require_gt2();
|
|
82361
|
+
var minVersion = (range, loose) => {
|
|
82362
|
+
range = new Range(range, loose);
|
|
82363
|
+
let minver = new SemVer("0.0.0");
|
|
82364
|
+
if (range.test(minver)) {
|
|
82365
|
+
return minver;
|
|
82366
|
+
}
|
|
82367
|
+
minver = new SemVer("0.0.0-0");
|
|
82368
|
+
if (range.test(minver)) {
|
|
82369
|
+
return minver;
|
|
82370
|
+
}
|
|
82371
|
+
minver = null;
|
|
82372
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
82373
|
+
const comparators = range.set[i];
|
|
82374
|
+
let setMin = null;
|
|
82375
|
+
comparators.forEach((comparator) => {
|
|
82376
|
+
const compver = new SemVer(comparator.semver.version);
|
|
82377
|
+
switch (comparator.operator) {
|
|
82378
|
+
case ">":
|
|
82379
|
+
if (compver.prerelease.length === 0) {
|
|
82380
|
+
compver.patch++;
|
|
82381
|
+
} else {
|
|
82382
|
+
compver.prerelease.push(0);
|
|
82383
|
+
}
|
|
82384
|
+
compver.raw = compver.format();
|
|
82385
|
+
case "":
|
|
82386
|
+
case ">=":
|
|
82387
|
+
if (!setMin || gt2(compver, setMin)) {
|
|
82388
|
+
setMin = compver;
|
|
82389
|
+
}
|
|
82390
|
+
break;
|
|
82391
|
+
case "<":
|
|
82392
|
+
case "<=":
|
|
82393
|
+
break;
|
|
82394
|
+
default:
|
|
82395
|
+
throw new Error(`Unexpected operation: ${comparator.operator}`);
|
|
82396
|
+
}
|
|
82397
|
+
});
|
|
82398
|
+
if (setMin && (!minver || gt2(minver, setMin)))
|
|
82399
|
+
minver = setMin;
|
|
82400
|
+
}
|
|
82401
|
+
if (minver && range.test(minver)) {
|
|
82402
|
+
return minver;
|
|
82403
|
+
}
|
|
82404
|
+
return null;
|
|
82405
|
+
};
|
|
82406
|
+
module2.exports = minVersion;
|
|
82407
|
+
}
|
|
82408
|
+
});
|
|
82409
|
+
|
|
82410
|
+
// node_modules/semver/ranges/valid.js
|
|
82411
|
+
var require_valid4 = __commonJS({
|
|
82412
|
+
"node_modules/semver/ranges/valid.js"(exports2, module2) {
|
|
82413
|
+
var Range = require_range2();
|
|
82414
|
+
var validRange = (range, options2) => {
|
|
82415
|
+
try {
|
|
82416
|
+
return new Range(range, options2).range || "*";
|
|
82417
|
+
} catch (er) {
|
|
82418
|
+
return null;
|
|
82419
|
+
}
|
|
82420
|
+
};
|
|
82421
|
+
module2.exports = validRange;
|
|
82422
|
+
}
|
|
82423
|
+
});
|
|
82424
|
+
|
|
82425
|
+
// node_modules/semver/ranges/outside.js
|
|
82426
|
+
var require_outside2 = __commonJS({
|
|
82427
|
+
"node_modules/semver/ranges/outside.js"(exports2, module2) {
|
|
82428
|
+
var SemVer = require_semver6();
|
|
82429
|
+
var Comparator = require_comparator2();
|
|
82430
|
+
var { ANY } = Comparator;
|
|
82431
|
+
var Range = require_range2();
|
|
82432
|
+
var satisfies = require_satisfies2();
|
|
82433
|
+
var gt2 = require_gt2();
|
|
82434
|
+
var lt = require_lt2();
|
|
82435
|
+
var lte = require_lte2();
|
|
82436
|
+
var gte = require_gte2();
|
|
82437
|
+
var outside = (version, range, hilo, options2) => {
|
|
82438
|
+
version = new SemVer(version, options2);
|
|
82439
|
+
range = new Range(range, options2);
|
|
82440
|
+
let gtfn, ltefn, ltfn, comp, ecomp;
|
|
82441
|
+
switch (hilo) {
|
|
82442
|
+
case ">":
|
|
82443
|
+
gtfn = gt2;
|
|
82444
|
+
ltefn = lte;
|
|
82445
|
+
ltfn = lt;
|
|
82446
|
+
comp = ">";
|
|
82447
|
+
ecomp = ">=";
|
|
82448
|
+
break;
|
|
82449
|
+
case "<":
|
|
82450
|
+
gtfn = lt;
|
|
82451
|
+
ltefn = gte;
|
|
82452
|
+
ltfn = gt2;
|
|
82453
|
+
comp = "<";
|
|
82454
|
+
ecomp = "<=";
|
|
82455
|
+
break;
|
|
82456
|
+
default:
|
|
82457
|
+
throw new TypeError('Must provide a hilo val of "<" or ">"');
|
|
82458
|
+
}
|
|
82459
|
+
if (satisfies(version, range, options2)) {
|
|
82460
|
+
return false;
|
|
82461
|
+
}
|
|
82462
|
+
for (let i = 0; i < range.set.length; ++i) {
|
|
82463
|
+
const comparators = range.set[i];
|
|
82464
|
+
let high = null;
|
|
82465
|
+
let low = null;
|
|
82466
|
+
comparators.forEach((comparator) => {
|
|
82467
|
+
if (comparator.semver === ANY) {
|
|
82468
|
+
comparator = new Comparator(">=0.0.0");
|
|
82469
|
+
}
|
|
82470
|
+
high = high || comparator;
|
|
82471
|
+
low = low || comparator;
|
|
82472
|
+
if (gtfn(comparator.semver, high.semver, options2)) {
|
|
82473
|
+
high = comparator;
|
|
82474
|
+
} else if (ltfn(comparator.semver, low.semver, options2)) {
|
|
82475
|
+
low = comparator;
|
|
82476
|
+
}
|
|
82477
|
+
});
|
|
82478
|
+
if (high.operator === comp || high.operator === ecomp) {
|
|
82479
|
+
return false;
|
|
82480
|
+
}
|
|
82481
|
+
if ((!low.operator || low.operator === comp) && ltefn(version, low.semver)) {
|
|
82482
|
+
return false;
|
|
82483
|
+
} else if (low.operator === ecomp && ltfn(version, low.semver)) {
|
|
82484
|
+
return false;
|
|
82485
|
+
}
|
|
82486
|
+
}
|
|
82487
|
+
return true;
|
|
82488
|
+
};
|
|
82489
|
+
module2.exports = outside;
|
|
82490
|
+
}
|
|
82491
|
+
});
|
|
82492
|
+
|
|
82493
|
+
// node_modules/semver/ranges/gtr.js
|
|
82494
|
+
var require_gtr2 = __commonJS({
|
|
82495
|
+
"node_modules/semver/ranges/gtr.js"(exports2, module2) {
|
|
82496
|
+
var outside = require_outside2();
|
|
82497
|
+
var gtr = (version, range, options2) => outside(version, range, ">", options2);
|
|
82498
|
+
module2.exports = gtr;
|
|
82499
|
+
}
|
|
82500
|
+
});
|
|
82501
|
+
|
|
82502
|
+
// node_modules/semver/ranges/ltr.js
|
|
82503
|
+
var require_ltr2 = __commonJS({
|
|
82504
|
+
"node_modules/semver/ranges/ltr.js"(exports2, module2) {
|
|
82505
|
+
var outside = require_outside2();
|
|
82506
|
+
var ltr = (version, range, options2) => outside(version, range, "<", options2);
|
|
82507
|
+
module2.exports = ltr;
|
|
82508
|
+
}
|
|
82509
|
+
});
|
|
82510
|
+
|
|
82511
|
+
// node_modules/semver/ranges/intersects.js
|
|
82512
|
+
var require_intersects2 = __commonJS({
|
|
82513
|
+
"node_modules/semver/ranges/intersects.js"(exports2, module2) {
|
|
82514
|
+
var Range = require_range2();
|
|
82515
|
+
var intersects = (r1, r2, options2) => {
|
|
82516
|
+
r1 = new Range(r1, options2);
|
|
82517
|
+
r2 = new Range(r2, options2);
|
|
82518
|
+
return r1.intersects(r2);
|
|
82519
|
+
};
|
|
82520
|
+
module2.exports = intersects;
|
|
82521
|
+
}
|
|
82522
|
+
});
|
|
82523
|
+
|
|
82524
|
+
// node_modules/semver/ranges/simplify.js
|
|
82525
|
+
var require_simplify2 = __commonJS({
|
|
82526
|
+
"node_modules/semver/ranges/simplify.js"(exports2, module2) {
|
|
82527
|
+
var satisfies = require_satisfies2();
|
|
82528
|
+
var compare = require_compare2();
|
|
82529
|
+
module2.exports = (versions, range, options2) => {
|
|
82530
|
+
const set = [];
|
|
82531
|
+
let min = null;
|
|
82532
|
+
let prev = null;
|
|
82533
|
+
const v = versions.sort((a, b) => compare(a, b, options2));
|
|
82534
|
+
for (const version of v) {
|
|
82535
|
+
const included = satisfies(version, range, options2);
|
|
82536
|
+
if (included) {
|
|
82537
|
+
prev = version;
|
|
82538
|
+
if (!min)
|
|
82539
|
+
min = version;
|
|
82540
|
+
} else {
|
|
82541
|
+
if (prev) {
|
|
82542
|
+
set.push([min, prev]);
|
|
82543
|
+
}
|
|
82544
|
+
prev = null;
|
|
82545
|
+
min = null;
|
|
82546
|
+
}
|
|
82547
|
+
}
|
|
82548
|
+
if (min)
|
|
82549
|
+
set.push([min, null]);
|
|
82550
|
+
const ranges = [];
|
|
82551
|
+
for (const [min2, max] of set) {
|
|
82552
|
+
if (min2 === max)
|
|
82553
|
+
ranges.push(min2);
|
|
82554
|
+
else if (!max && min2 === v[0])
|
|
82555
|
+
ranges.push("*");
|
|
82556
|
+
else if (!max)
|
|
82557
|
+
ranges.push(`>=${min2}`);
|
|
82558
|
+
else if (min2 === v[0])
|
|
82559
|
+
ranges.push(`<=${max}`);
|
|
82560
|
+
else
|
|
82561
|
+
ranges.push(`${min2} - ${max}`);
|
|
82562
|
+
}
|
|
82563
|
+
const simplified = ranges.join(" || ");
|
|
82564
|
+
const original = typeof range.raw === "string" ? range.raw : String(range);
|
|
82565
|
+
return simplified.length < original.length ? simplified : range;
|
|
82566
|
+
};
|
|
82567
|
+
}
|
|
82568
|
+
});
|
|
82569
|
+
|
|
82570
|
+
// node_modules/semver/ranges/subset.js
|
|
82571
|
+
var require_subset2 = __commonJS({
|
|
82572
|
+
"node_modules/semver/ranges/subset.js"(exports2, module2) {
|
|
82573
|
+
var Range = require_range2();
|
|
82574
|
+
var Comparator = require_comparator2();
|
|
82575
|
+
var { ANY } = Comparator;
|
|
82576
|
+
var satisfies = require_satisfies2();
|
|
82577
|
+
var compare = require_compare2();
|
|
82578
|
+
var subset = (sub, dom, options2 = {}) => {
|
|
82579
|
+
if (sub === dom)
|
|
82580
|
+
return true;
|
|
82581
|
+
sub = new Range(sub, options2);
|
|
82582
|
+
dom = new Range(dom, options2);
|
|
82583
|
+
let sawNonNull = false;
|
|
82584
|
+
OUTER:
|
|
82585
|
+
for (const simpleSub of sub.set) {
|
|
82586
|
+
for (const simpleDom of dom.set) {
|
|
82587
|
+
const isSub = simpleSubset(simpleSub, simpleDom, options2);
|
|
82588
|
+
sawNonNull = sawNonNull || isSub !== null;
|
|
82589
|
+
if (isSub)
|
|
82590
|
+
continue OUTER;
|
|
82591
|
+
}
|
|
82592
|
+
if (sawNonNull)
|
|
82593
|
+
return false;
|
|
82594
|
+
}
|
|
82595
|
+
return true;
|
|
82596
|
+
};
|
|
82597
|
+
var simpleSubset = (sub, dom, options2) => {
|
|
82598
|
+
if (sub === dom)
|
|
82599
|
+
return true;
|
|
82600
|
+
if (sub.length === 1 && sub[0].semver === ANY) {
|
|
82601
|
+
if (dom.length === 1 && dom[0].semver === ANY)
|
|
82602
|
+
return true;
|
|
82603
|
+
else if (options2.includePrerelease)
|
|
82604
|
+
sub = [new Comparator(">=0.0.0-0")];
|
|
82605
|
+
else
|
|
82606
|
+
sub = [new Comparator(">=0.0.0")];
|
|
82607
|
+
}
|
|
82608
|
+
if (dom.length === 1 && dom[0].semver === ANY) {
|
|
82609
|
+
if (options2.includePrerelease)
|
|
82610
|
+
return true;
|
|
82611
|
+
else
|
|
82612
|
+
dom = [new Comparator(">=0.0.0")];
|
|
82613
|
+
}
|
|
82614
|
+
const eqSet = /* @__PURE__ */ new Set();
|
|
82615
|
+
let gt2, lt;
|
|
82616
|
+
for (const c of sub) {
|
|
82617
|
+
if (c.operator === ">" || c.operator === ">=")
|
|
82618
|
+
gt2 = higherGT(gt2, c, options2);
|
|
82619
|
+
else if (c.operator === "<" || c.operator === "<=")
|
|
82620
|
+
lt = lowerLT(lt, c, options2);
|
|
82621
|
+
else
|
|
82622
|
+
eqSet.add(c.semver);
|
|
82623
|
+
}
|
|
82624
|
+
if (eqSet.size > 1)
|
|
82625
|
+
return null;
|
|
82626
|
+
let gtltComp;
|
|
82627
|
+
if (gt2 && lt) {
|
|
82628
|
+
gtltComp = compare(gt2.semver, lt.semver, options2);
|
|
82629
|
+
if (gtltComp > 0)
|
|
82630
|
+
return null;
|
|
82631
|
+
else if (gtltComp === 0 && (gt2.operator !== ">=" || lt.operator !== "<="))
|
|
82632
|
+
return null;
|
|
82633
|
+
}
|
|
82634
|
+
for (const eq of eqSet) {
|
|
82635
|
+
if (gt2 && !satisfies(eq, String(gt2), options2))
|
|
82636
|
+
return null;
|
|
82637
|
+
if (lt && !satisfies(eq, String(lt), options2))
|
|
82638
|
+
return null;
|
|
82639
|
+
for (const c of dom) {
|
|
82640
|
+
if (!satisfies(eq, String(c), options2))
|
|
82641
|
+
return false;
|
|
82642
|
+
}
|
|
82643
|
+
return true;
|
|
82644
|
+
}
|
|
82645
|
+
let higher, lower;
|
|
82646
|
+
let hasDomLT, hasDomGT;
|
|
82647
|
+
let needDomLTPre = lt && !options2.includePrerelease && lt.semver.prerelease.length ? lt.semver : false;
|
|
82648
|
+
let needDomGTPre = gt2 && !options2.includePrerelease && gt2.semver.prerelease.length ? gt2.semver : false;
|
|
82649
|
+
if (needDomLTPre && needDomLTPre.prerelease.length === 1 && lt.operator === "<" && needDomLTPre.prerelease[0] === 0) {
|
|
82650
|
+
needDomLTPre = false;
|
|
82651
|
+
}
|
|
82652
|
+
for (const c of dom) {
|
|
82653
|
+
hasDomGT = hasDomGT || c.operator === ">" || c.operator === ">=";
|
|
82654
|
+
hasDomLT = hasDomLT || c.operator === "<" || c.operator === "<=";
|
|
82655
|
+
if (gt2) {
|
|
82656
|
+
if (needDomGTPre) {
|
|
82657
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomGTPre.major && c.semver.minor === needDomGTPre.minor && c.semver.patch === needDomGTPre.patch) {
|
|
82658
|
+
needDomGTPre = false;
|
|
82659
|
+
}
|
|
82660
|
+
}
|
|
82661
|
+
if (c.operator === ">" || c.operator === ">=") {
|
|
82662
|
+
higher = higherGT(gt2, c, options2);
|
|
82663
|
+
if (higher === c && higher !== gt2)
|
|
82664
|
+
return false;
|
|
82665
|
+
} else if (gt2.operator === ">=" && !satisfies(gt2.semver, String(c), options2))
|
|
82666
|
+
return false;
|
|
82667
|
+
}
|
|
82668
|
+
if (lt) {
|
|
82669
|
+
if (needDomLTPre) {
|
|
82670
|
+
if (c.semver.prerelease && c.semver.prerelease.length && c.semver.major === needDomLTPre.major && c.semver.minor === needDomLTPre.minor && c.semver.patch === needDomLTPre.patch) {
|
|
82671
|
+
needDomLTPre = false;
|
|
82672
|
+
}
|
|
82673
|
+
}
|
|
82674
|
+
if (c.operator === "<" || c.operator === "<=") {
|
|
82675
|
+
lower = lowerLT(lt, c, options2);
|
|
82676
|
+
if (lower === c && lower !== lt)
|
|
82677
|
+
return false;
|
|
82678
|
+
} else if (lt.operator === "<=" && !satisfies(lt.semver, String(c), options2))
|
|
82679
|
+
return false;
|
|
82680
|
+
}
|
|
82681
|
+
if (!c.operator && (lt || gt2) && gtltComp !== 0)
|
|
82682
|
+
return false;
|
|
82683
|
+
}
|
|
82684
|
+
if (gt2 && hasDomLT && !lt && gtltComp !== 0)
|
|
82685
|
+
return false;
|
|
82686
|
+
if (lt && hasDomGT && !gt2 && gtltComp !== 0)
|
|
82687
|
+
return false;
|
|
82688
|
+
if (needDomGTPre || needDomLTPre)
|
|
82689
|
+
return false;
|
|
82690
|
+
return true;
|
|
82691
|
+
};
|
|
82692
|
+
var higherGT = (a, b, options2) => {
|
|
82693
|
+
if (!a)
|
|
82694
|
+
return b;
|
|
82695
|
+
const comp = compare(a.semver, b.semver, options2);
|
|
82696
|
+
return comp > 0 ? a : comp < 0 ? b : b.operator === ">" && a.operator === ">=" ? b : a;
|
|
82697
|
+
};
|
|
82698
|
+
var lowerLT = (a, b, options2) => {
|
|
82699
|
+
if (!a)
|
|
82700
|
+
return b;
|
|
82701
|
+
const comp = compare(a.semver, b.semver, options2);
|
|
82702
|
+
return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
|
|
82703
|
+
};
|
|
82704
|
+
module2.exports = subset;
|
|
82705
|
+
}
|
|
82706
|
+
});
|
|
82707
|
+
|
|
82708
|
+
// node_modules/semver/index.js
|
|
82709
|
+
var require_semver7 = __commonJS({
|
|
82710
|
+
"node_modules/semver/index.js"(exports2, module2) {
|
|
82711
|
+
var internalRe = require_re2();
|
|
82712
|
+
module2.exports = {
|
|
82713
|
+
re: internalRe.re,
|
|
82714
|
+
src: internalRe.src,
|
|
82715
|
+
tokens: internalRe.t,
|
|
82716
|
+
SEMVER_SPEC_VERSION: require_constants7().SEMVER_SPEC_VERSION,
|
|
82717
|
+
SemVer: require_semver6(),
|
|
82718
|
+
compareIdentifiers: require_identifiers2().compareIdentifiers,
|
|
82719
|
+
rcompareIdentifiers: require_identifiers2().rcompareIdentifiers,
|
|
82720
|
+
parse: require_parse4(),
|
|
82721
|
+
valid: require_valid3(),
|
|
82722
|
+
clean: require_clean2(),
|
|
82723
|
+
inc: require_inc2(),
|
|
82724
|
+
diff: require_diff2(),
|
|
82725
|
+
major: require_major2(),
|
|
82726
|
+
minor: require_minor2(),
|
|
82727
|
+
patch: require_patch2(),
|
|
82728
|
+
prerelease: require_prerelease2(),
|
|
82729
|
+
compare: require_compare2(),
|
|
82730
|
+
rcompare: require_rcompare2(),
|
|
82731
|
+
compareLoose: require_compare_loose2(),
|
|
82732
|
+
compareBuild: require_compare_build2(),
|
|
82733
|
+
sort: require_sort2(),
|
|
82734
|
+
rsort: require_rsort2(),
|
|
82735
|
+
gt: require_gt2(),
|
|
82736
|
+
lt: require_lt2(),
|
|
82737
|
+
eq: require_eq3(),
|
|
82738
|
+
neq: require_neq2(),
|
|
82739
|
+
gte: require_gte2(),
|
|
82740
|
+
lte: require_lte2(),
|
|
82741
|
+
cmp: require_cmp2(),
|
|
82742
|
+
coerce: require_coerce2(),
|
|
82743
|
+
Comparator: require_comparator2(),
|
|
82744
|
+
Range: require_range2(),
|
|
82745
|
+
satisfies: require_satisfies2(),
|
|
82746
|
+
toComparators: require_to_comparators2(),
|
|
82747
|
+
maxSatisfying: require_max_satisfying2(),
|
|
82748
|
+
minSatisfying: require_min_satisfying2(),
|
|
82749
|
+
minVersion: require_min_version2(),
|
|
82750
|
+
validRange: require_valid4(),
|
|
82751
|
+
outside: require_outside2(),
|
|
82752
|
+
gtr: require_gtr2(),
|
|
82753
|
+
ltr: require_ltr2(),
|
|
82754
|
+
intersects: require_intersects2(),
|
|
82755
|
+
simplifyRange: require_simplify2(),
|
|
82756
|
+
subset: require_subset2()
|
|
82757
|
+
};
|
|
82758
|
+
}
|
|
82759
|
+
});
|
|
82760
|
+
|
|
81038
82761
|
// src/middlewares/preview/fiori-tools-preview.ts
|
|
81039
82762
|
var import_express = __toESM(require("express"));
|
|
81040
82763
|
|
|
@@ -81042,209 +82765,111 @@ var import_express = __toESM(require("express"));
|
|
|
81042
82765
|
init_i18next();
|
|
81043
82766
|
|
|
81044
82767
|
// src/i18n/i18n.json
|
|
81045
|
-
var ABAP_PACKAGE = "ABAP package";
|
|
81046
|
-
var ADDING_ARTIFACT_TO_PROJECT = "Adding {{artifact}} to the project.";
|
|
81047
|
-
var APPLICATION_NAME = "Application Name";
|
|
81048
|
-
var ARTIFACT_ADDED = "{{artifact}} added to the project.";
|
|
81049
|
-
var ARTIFACT_NOT_ADDED = "{{artifact}} not added to the project.";
|
|
81050
|
-
var CLIENT = "Client";
|
|
81051
|
-
var CONFIRM_DEPLOYMENT_TESTMODE = "Confirmation is required to deploy the app in test mode:";
|
|
81052
|
-
var CONFIRM_DEPLOYMENT = "Confirmation is required to deploy the app:";
|
|
81053
|
-
var CONNECTING_WITHOUT_CREDS = "Connecting without any credentials, deployment may fail if authorization is required";
|
|
81054
|
-
var CONSIDER_REMOVING_CLIENT_FROM_CONFIG = "Please remove the client from ui5-deploy.yaml, if you don't want to see the above warning again";
|
|
81055
|
-
var DEPLOY_CANCELED = "Deploy canceled";
|
|
81056
|
-
var DEPLOY_EXECUTED = "deploy executed.";
|
|
81057
|
-
var DESTINATION = "Destination";
|
|
81058
|
-
var ERROR_COMMAND_CMD = "Command {{cmd}} does not exist.";
|
|
81059
|
-
var ERROR_INVALID_DEPLOYMENT_CONFIGURATION = "Invalid deployment configuration. Property {{property}} is missing.";
|
|
81060
|
-
var ERROR_USER_PASSWORD_PLAIN = "Username or password must not be provided in plain text. Use environment variables.";
|
|
81061
|
-
var ERROR_YO_NOT_INSTALLED = "Yeoman is not installed or available in your executable path. Please check your configuration or use npm/yarn to install it globally";
|
|
81062
|
-
var ERROR_INSTALL_FIORI_GENERATOR = "Do you need to install {{fioriGenerator}} globally?\nnpm install -g {{fioriGenerator}}\nOR\nyarn global add {{fioriGenerator}}";
|
|
81063
|
-
var FILE_CREATED = "File {{file}} created in {{- folder}}";
|
|
81064
|
-
var GENERATE_STANDALONE_INDEX_HTML = "Generate standalone index.html during deployment";
|
|
81065
|
-
var INDEX_EXISTS_NOT_OVERWRITING = "'index.html' already exists, not generating one";
|
|
81066
|
-
var INDEX_HTML_ADDED = "index.html added";
|
|
81067
|
-
var INFO_CREATE_ARCHIVE = "Create Archive";
|
|
81068
|
-
var INFO_COMMAND_FAILED = "Command {{cmd}} failed with error {{-message}}";
|
|
81069
|
-
var INFO_DEPLOYMENT_SUCCESSFUL = "Deployment Successful.";
|
|
81070
|
-
var INFO_DEPLOYMENT_FAILED = "Deployment Failed.";
|
|
81071
|
-
var INFO_TEST_MODE = "Deployment in TestMode completed. A successful TestMode execution does not necessarily mean that your upload will be successful";
|
|
81072
|
-
var ERROR_NO_SYSTEM_IN_STORE = "Error in deployment. The BTP system used in the deployment configuration could not be found as one of your local saved SAP systems. Please ensure you have saved this system locally so that it can be used for deployment.";
|
|
81073
|
-
var INFO_FILE_PATH_ADDED = "{{path}} added";
|
|
81074
|
-
var INFO_LIVERELOAD_STARTED = "Livereload middleware started for port {{port}} and path {{-watchPath}}";
|
|
81075
|
-
var ERROR_STARTING_LIVERELOAD = "Port {{port}} was not exposed! Livereload will not work!";
|
|
81076
|
-
var INFO_STARTING_DEPLOYMENT = "Starting Deployment.";
|
|
81077
|
-
var INFO_STORE_DETAILS = "Storing details for system: ";
|
|
81078
|
-
var INFO_USED_DESTINATION = "Used destination: ";
|
|
81079
|
-
var INVALID_DATA = "Invalid data";
|
|
81080
|
-
var INVALID_ODATA_VERSION = "The middleware fiori-tools-preview can only be used with OData version 4";
|
|
81081
|
-
var MAINTAIN_CREDENTIALS = "Please maintain correct credentials to avoid seeing this error\n (see help: https://www.npmjs.com/package/@sap/ux-ui5-tooling#setting-environment-variables-in-a-env-file)";
|
|
81082
|
-
var NO_PATH_LOCAL_UI5 = "No path to local UI5 sources provided!";
|
|
81083
|
-
var PACKAGE = "Package";
|
|
81084
|
-
var PACKAGE_JSON_UPDATED = "package.json updated.";
|
|
81085
|
-
var PACKAGE_NAME_REQUIRED = "Package name required";
|
|
81086
|
-
var PROXY_STARTED_FOR = "Proxy started for ";
|
|
81087
|
-
var SERVICE_KEYS_CONTENT_EMPTY = "Service keys contents cannot be empty";
|
|
81088
|
-
var START_DEPLOYMENT = "Start deployment (Y/n)?";
|
|
81089
|
-
var START_DEPLOYMENT_TESTMODE = "Start deployment in test mode (Y/n)?";
|
|
81090
|
-
var SYSTEM_NAME_EMPTY = "System Name cannot be empty";
|
|
81091
|
-
var SYSTEM_NAME_IN_USE = "[{{name}}] is already in use";
|
|
81092
|
-
var TARGET = "Target";
|
|
81093
|
-
var TRANSPORT_REQUEST = "Transport Request";
|
|
81094
|
-
var USE_IT_INSTEAD = "Use it instead (Y/n)?";
|
|
81095
|
-
var USING_SYSTEM_WITH_SAME_URL_NO_CLIENT = "Using system [{{name}}] with same URL, no client from System Store";
|
|
81096
|
-
var USING_SYSTEM_FROM_STORE = "Using system [{{name}}] from System store";
|
|
81097
|
-
var WARNING_PACKAGE_IN_CUSTOMER_SPACE = "Your package is in the customer space. Please check the correctness of the application name as it might need to start with a Z.";
|
|
81098
|
-
var ERROR_EXTRACT_API_KEY = "Could not extract API hub key from '{{-envPath}}'";
|
|
81099
|
-
var ERROR_API_HUB_KEY = "Property apiHub is set to true in yaml file, but file '{{-envPath}}' doesn't contain API key. Error was: ${{-message}}";
|
|
81100
|
-
var SSL_IGNORE_WARNING = "You chose not to validate SSL certificate. Please verify the server certificate is trustful before proceeding. See documentation for recommended configuration (https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/4b318bede7eb4021a8be385c46c74045.html).";
|
|
81101
|
-
var SSL_PROXY_ERROR = "You are trying to connect to a server with a self signed certificate. Please check (https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/4b318bede7eb4021a8be385c46c74045.html) for guidance.";
|
|
81102
|
-
var NO_DEPLOY_CONFIG = "No deployment configuration has been detected. Run `npm run deploy-config` to add configuration first.";
|
|
81103
|
-
var NO_BSP_APPLICATION = "Mandatory parameter --bspApplication <value> is missing. Please provide BSP Application";
|
|
81104
|
-
var YAML_NOT_FOUND = "Configuration file {{-yamlPath}} not found. Please provide a valid path";
|
|
81105
|
-
var NO_BUILD_SCRIPT = "Warning: No build script was found. You will need to execute build, before running start-flp.";
|
|
81106
|
-
var CONFIRM_UNDEPLOYMENT = "Confirmation is required to undeploy the app:";
|
|
81107
|
-
var INFO_STARTING_UNDEPLOYMENT = "Starting undeployment.";
|
|
81108
|
-
var INFO_UNDEPLOYMENT_SUCCESSFUL = "Undeployment Successful.";
|
|
81109
|
-
var INFO_UNDEPLOYMENT_FAILED = "Undeployment Failed.";
|
|
81110
|
-
var START_UNDEPLOYMENT = "Start undeployment (Y/n)?";
|
|
81111
|
-
var USERNAME = "Username:";
|
|
81112
|
-
var PASSWORD = "Password:";
|
|
81113
|
-
var REQUIRE_CREDENTIAL = "The deployment destination requires authentication. Please enter your credentials below";
|
|
81114
|
-
var REQUIRE_CREDENTIAL_FLP = "The FLP Embedded Preview requires credentials. Please enter your credentials below";
|
|
81115
|
-
var ERROR_NO_VSCODE_SETTINGS_FILE = "No VSCode Settings file found.";
|
|
81116
|
-
var INFO_SAML_NOT_SUPPORTED = "The backend service seems to require direct SAML authentication, which is not yet supported.";
|
|
81117
|
-
var INFO_RESPONSE_UNCERTAIN = "Successful deployment could not be confirmed based on the response message received. Please manually verify if the deployment was successful.";
|
|
81118
|
-
var VSCODE_SETTINGS_FILE_NOT_PARSEABLE = "Not able to parse VSCode settings.json file.";
|
|
81119
|
-
var ERROR_EMPTY_USERNAME = "Username can not be empty.";
|
|
81120
|
-
var ERROR_EMPTY_PASSWORD = "Password can not be empty.";
|
|
81121
|
-
var OPERATION_ABORTED = "Operation aborted by the user.";
|
|
81122
|
-
var ERROR_ACHIVE_FROM_EXTERNAL_FILEPATH = "The archive file you provided could not be found.";
|
|
81123
|
-
var ERROR_ACHIVE_FROM_EXTERNAL_URL = "The archive url you provided could not be reached. Please ensure the URL is accessible and does not require authentication. {{error}}";
|
|
81124
|
-
var NO_CAP = "CAP projects are not supported.";
|
|
81125
|
-
var DEPLOYMENT_MSG = "To retrieve the deployed URL, run the following command:";
|
|
81126
|
-
var DEPLOYMENT_MANAGED_CF_URL = "cf html5-list -u -di {{-mtaId}}-destination-service -u --runtime launchpad";
|
|
81127
|
-
var DEPLOYMENT_HELP = "For more help, go to https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/607014e278d941fda4440f92f4a324a6.html";
|
|
81128
|
-
var DEPLOYMENT_STANDALONE_CF_URL = "Please see the deployed application URL above";
|
|
81129
|
-
var ERROR_NO_UI5_FLEX_LAYER = "The UI5 Flexibility Layer for this project is not set. Please open the command palette and execute the command {{command}}.";
|
|
81130
|
-
var ERROR_WRONG_UI5_FLEX_LAYER = "The value of the UI5 Flexibility Layer is wrong. Please open the command palette and execute the command {{command}}.";
|
|
81131
|
-
var ERROR_WRONG_MINUI5VERSION = "Developer variant creation works only with UI5 version {{version}} or higher. Please update the minUI5Version in the manifest.json to {{version}} or higher.";
|
|
81132
|
-
var ERROR_WRONG_UI5VERSION = "Developer variant creation works only with UI5 version {{version}} or higher. Please update the UI5 version in the {{-location}} to {{version}} or higher.";
|
|
81133
|
-
var VARIANT_MANAGEMENT_VSCODE_CONFIGURATION_COMMAND = "Fiori: Add Configuration for Variants Creation";
|
|
81134
|
-
var NO_HELP_MARKDOWN_FOUND = "Help content cannot be loaded";
|
|
81135
|
-
var UNKNOWN_ADD_SUBCOMMAND = "Subcommand {{artifact}} is not supported. Please check the following supported subcommands.";
|
|
81136
|
-
var CONTROL_PROPERTY_EDITOR_UNSUPPORTED_FE_VERSION = "Control property editor is available only for SAP Fiori Elements v2 apps";
|
|
81137
|
-
var CONTROL_PROPERTY_EDITOR_MIN_UI5_VERSION = "Control property editor works only with SAP UI5 version {{version}} or higher. Please update the SAP UI5 version in the {{-location}} to {{version}} or higher.";
|
|
81138
|
-
var CONTROL_PROPERTY_EDITOR_VSCODE_CONFIGURATION_COMMAND = "Fiori: Add Configuration for Control Property Editor";
|
|
81139
|
-
var UI5_VERSION_SOURCE = "Using UI5 version {{version}} based on {{-file}}";
|
|
81140
|
-
var FLP_EMBEDDED_NO_DIST = "Folder {{-folder}} is missing. Please build your application first, before starting the embedded preview.";
|
|
81141
|
-
var WARN_TARGET_SYSTEM_UI5_VERSION = "Target system's SAPUI5 version is lower than the local minUI5Version. Testing locally with different Run Configurations recommended https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/09171c8bc3a64ec7848f0ef31770a793.html";
|
|
81142
|
-
var TARGET_SYSTEM_UI5_VERSION = "Target System SAPUI5 version";
|
|
81143
|
-
var PREV_DEPLOY_DIFFERENT_APP_ID = "An app in the same repository with different sap app id found:";
|
|
81144
|
-
var REQUIRE_OVERWRITE_DEPLOY = "Do you want to overwrite (Y/n)?";
|
|
81145
|
-
var ERROR_READING_MANIFEST_JSON = "Error reading manifest.json from '{{manifestPath}}'. Error was : '{{message}}'.";
|
|
81146
82768
|
var i18n_default = {
|
|
81147
|
-
ABAP_PACKAGE,
|
|
81148
|
-
ADDING_ARTIFACT_TO_PROJECT,
|
|
81149
|
-
APPLICATION_NAME,
|
|
81150
|
-
ARTIFACT_ADDED,
|
|
81151
|
-
ARTIFACT_NOT_ADDED,
|
|
81152
|
-
CLIENT,
|
|
81153
|
-
CONFIRM_DEPLOYMENT_TESTMODE,
|
|
81154
|
-
CONFIRM_DEPLOYMENT,
|
|
81155
|
-
CONNECTING_WITHOUT_CREDS,
|
|
81156
|
-
CONSIDER_REMOVING_CLIENT_FROM_CONFIG,
|
|
81157
|
-
DEPLOY_CANCELED,
|
|
81158
|
-
|
|
81159
|
-
|
|
81160
|
-
|
|
81161
|
-
|
|
81162
|
-
|
|
81163
|
-
|
|
81164
|
-
|
|
81165
|
-
|
|
81166
|
-
|
|
81167
|
-
|
|
81168
|
-
|
|
81169
|
-
|
|
81170
|
-
|
|
81171
|
-
|
|
81172
|
-
|
|
81173
|
-
|
|
81174
|
-
|
|
81175
|
-
|
|
81176
|
-
|
|
81177
|
-
|
|
81178
|
-
|
|
81179
|
-
|
|
81180
|
-
|
|
81181
|
-
|
|
81182
|
-
|
|
81183
|
-
|
|
81184
|
-
|
|
81185
|
-
|
|
81186
|
-
|
|
81187
|
-
|
|
81188
|
-
|
|
81189
|
-
|
|
81190
|
-
|
|
81191
|
-
|
|
81192
|
-
|
|
81193
|
-
|
|
81194
|
-
|
|
81195
|
-
|
|
81196
|
-
|
|
81197
|
-
|
|
81198
|
-
|
|
81199
|
-
|
|
81200
|
-
|
|
81201
|
-
|
|
81202
|
-
|
|
81203
|
-
|
|
81204
|
-
|
|
81205
|
-
|
|
81206
|
-
|
|
81207
|
-
|
|
81208
|
-
|
|
81209
|
-
|
|
81210
|
-
|
|
81211
|
-
|
|
81212
|
-
|
|
81213
|
-
|
|
81214
|
-
|
|
81215
|
-
|
|
81216
|
-
|
|
81217
|
-
|
|
81218
|
-
|
|
81219
|
-
|
|
81220
|
-
|
|
81221
|
-
|
|
81222
|
-
|
|
81223
|
-
|
|
81224
|
-
|
|
81225
|
-
|
|
81226
|
-
|
|
81227
|
-
|
|
81228
|
-
|
|
81229
|
-
|
|
81230
|
-
|
|
81231
|
-
|
|
81232
|
-
|
|
81233
|
-
|
|
81234
|
-
|
|
81235
|
-
|
|
81236
|
-
|
|
81237
|
-
|
|
81238
|
-
|
|
81239
|
-
|
|
81240
|
-
|
|
81241
|
-
|
|
81242
|
-
|
|
81243
|
-
|
|
81244
|
-
|
|
81245
|
-
|
|
81246
|
-
|
|
81247
|
-
|
|
82769
|
+
ABAP_PACKAGE: "ABAP package",
|
|
82770
|
+
ADDING_ARTIFACT_TO_PROJECT: "Adding {{artifact}} to the project.",
|
|
82771
|
+
APPLICATION_NAME: "Application Name",
|
|
82772
|
+
ARTIFACT_ADDED: "{{artifact}} added to the project.",
|
|
82773
|
+
ARTIFACT_NOT_ADDED: "{{artifact}} not added to the project.",
|
|
82774
|
+
CLIENT: "Client",
|
|
82775
|
+
CONFIRM_DEPLOYMENT_TESTMODE: "Confirmation is required to deploy the app in test mode:",
|
|
82776
|
+
CONFIRM_DEPLOYMENT: "Confirmation is required to deploy the app:",
|
|
82777
|
+
CONNECTING_WITHOUT_CREDS: "Connecting without any credentials, deployment may fail if authorization is required",
|
|
82778
|
+
CONSIDER_REMOVING_CLIENT_FROM_CONFIG: "Please remove the client from ui5-deploy.yaml, if you don't want to see the above warning again",
|
|
82779
|
+
DEPLOY_CANCELED: "Deploy canceled",
|
|
82780
|
+
ERROR_DEPLOYMENT_FAILED_NO_DIST: "Deployment has failed. Please ensure there is a valid deployment archive file in the dist folder of the application that can be deployed.",
|
|
82781
|
+
DEPLOY_EXECUTED: "deploy executed.",
|
|
82782
|
+
DESTINATION: "Destination",
|
|
82783
|
+
ERROR_COMMAND_CMD: "Command {{cmd}} does not exist.",
|
|
82784
|
+
ERROR_INVALID_DEPLOYMENT_CONFIGURATION: "Invalid deployment configuration. Property {{property}} is missing.",
|
|
82785
|
+
ERROR_USER_PASSWORD_PLAIN: "Username or password must not be provided in plain text. Use environment variables.",
|
|
82786
|
+
ERROR_YO_NOT_INSTALLED: "Yeoman is not installed or available in your executable path. Please check your configuration or use npm/yarn to install it globally",
|
|
82787
|
+
ERROR_INSTALL_FIORI_GENERATOR: "Do you need to install {{fioriGenerator}} globally?\nnpm install -g {{fioriGenerator}}\nOR\nyarn global add {{fioriGenerator}}",
|
|
82788
|
+
FILE_CREATED: "File {{file}} created in {{- folder}}",
|
|
82789
|
+
GENERATE_STANDALONE_INDEX_HTML: "Generate standalone index.html during deployment",
|
|
82790
|
+
INDEX_EXISTS_NOT_OVERWRITING: "'index.html' already exists, not generating one",
|
|
82791
|
+
INDEX_HTML_ADDED: "index.html added",
|
|
82792
|
+
INFO_CREATE_ARCHIVE: "Create Archive",
|
|
82793
|
+
INFO_COMMAND_FAILED: "Command {{cmd}} failed with error {{-message}}",
|
|
82794
|
+
INFO_DEPLOYMENT_SUCCESSFUL: "Deployment Successful.",
|
|
82795
|
+
INFO_DEPLOYMENT_FAILED: "Deployment Failed.",
|
|
82796
|
+
INFO_TEST_MODE: "Deployment in TestMode completed. A successful TestMode execution does not necessarily mean that your upload will be successful",
|
|
82797
|
+
ERROR_NO_SYSTEM_IN_STORE: "Error in deployment. The BTP system used in the deployment configuration could not be found as one of your local saved SAP systems. Please ensure you have saved this system locally so that it can be used for deployment.",
|
|
82798
|
+
INFO_FILE_PATH_ADDED: "{{path}} added",
|
|
82799
|
+
INFO_LIVERELOAD_STARTED: "Livereload middleware started for port {{port}} and path {{-watchPath}}",
|
|
82800
|
+
ERROR_STARTING_LIVERELOAD: "Port {{port}} was not exposed! Livereload will not work!",
|
|
82801
|
+
INFO_STARTING_DEPLOYMENT: "Starting Deployment.",
|
|
82802
|
+
INFO_STORE_DETAILS: "Storing details for system: ",
|
|
82803
|
+
INFO_USED_DESTINATION: "Used destination: ",
|
|
82804
|
+
INVALID_DATA: "Invalid data",
|
|
82805
|
+
INVALID_ODATA_VERSION: "The middleware fiori-tools-preview can only be used with OData version 4",
|
|
82806
|
+
MAINTAIN_CREDENTIALS: "Please maintain correct credentials to avoid seeing this error\n (see help: https://www.npmjs.com/package/@sap/ux-ui5-tooling#setting-environment-variables-in-a-env-file)",
|
|
82807
|
+
NO_PATH_LOCAL_UI5: "No path to local UI5 sources provided!",
|
|
82808
|
+
PACKAGE: "Package",
|
|
82809
|
+
PACKAGE_JSON_UPDATED: "package.json updated.",
|
|
82810
|
+
PACKAGE_NAME_REQUIRED: "Package name required",
|
|
82811
|
+
PROXY_STARTED_FOR: "Proxy started for ",
|
|
82812
|
+
SERVICE_KEYS_CONTENT_EMPTY: "Service keys contents cannot be empty",
|
|
82813
|
+
START_DEPLOYMENT: "Start deployment (Y/n)?",
|
|
82814
|
+
START_DEPLOYMENT_TESTMODE: "Start deployment in test mode (Y/n)?",
|
|
82815
|
+
SYSTEM_NAME_EMPTY: "System Name cannot be empty",
|
|
82816
|
+
SYSTEM_NAME_IN_USE: "[{{name}}] is already in use",
|
|
82817
|
+
TARGET: "Target",
|
|
82818
|
+
TRANSPORT_REQUEST: "Transport Request",
|
|
82819
|
+
USE_IT_INSTEAD: "Use it instead (Y/n)?",
|
|
82820
|
+
USING_SYSTEM_WITH_SAME_URL_NO_CLIENT: "Using system [{{name}}] with same URL, no client from System Store",
|
|
82821
|
+
USING_SYSTEM_FROM_STORE: "Using system [{{name}}] from System store",
|
|
82822
|
+
WARNING_PACKAGE_IN_CUSTOMER_SPACE: "Your package is in the customer space. Please check the correctness of the application name as it might need to start with a Z.",
|
|
82823
|
+
ERROR_EXTRACT_API_KEY: "Could not extract API hub key from '{{-envPath}}'",
|
|
82824
|
+
ERROR_API_HUB_KEY: "Property apiHub is set to true in yaml file, but file '{{-envPath}}' doesn't contain API key. Error was: ${{-message}}",
|
|
82825
|
+
SSL_IGNORE_WARNING: "You chose not to validate SSL certificate. Please verify the server certificate is trustful before proceeding. See documentation for recommended configuration (https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/4b318bede7eb4021a8be385c46c74045.html).",
|
|
82826
|
+
SSL_PROXY_ERROR: "You are trying to connect to a server with a self signed certificate. Please check (https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/4b318bede7eb4021a8be385c46c74045.html) for guidance.",
|
|
82827
|
+
NO_DEPLOY_CONFIG: "No deployment configuration has been detected. Run `npm run deploy-config` to add configuration first.",
|
|
82828
|
+
NO_BSP_APPLICATION: "Mandatory parameter --bspApplication <value> is missing. Please provide BSP Application",
|
|
82829
|
+
YAML_NOT_FOUND: "Configuration file {{-yamlPath}} not found. Please provide a valid path",
|
|
82830
|
+
NO_BUILD_SCRIPT: "Warning: No build script was found. You will need to execute build, before running start-flp.",
|
|
82831
|
+
CONFIRM_UNDEPLOYMENT: "Confirmation is required to undeploy the app:",
|
|
82832
|
+
INFO_STARTING_UNDEPLOYMENT: "Starting undeployment.",
|
|
82833
|
+
INFO_UNDEPLOYMENT_SUCCESSFUL: "Undeployment Successful.",
|
|
82834
|
+
INFO_UNDEPLOYMENT_FAILED: "Undeployment Failed.",
|
|
82835
|
+
START_UNDEPLOYMENT: "Start undeployment (Y/n)?",
|
|
82836
|
+
USERNAME: "Username:",
|
|
82837
|
+
PASSWORD: "Password:",
|
|
82838
|
+
REQUIRE_CREDENTIAL: "The deployment destination requires authentication. Please enter your credentials below",
|
|
82839
|
+
REQUIRE_CREDENTIAL_FLP: "The FLP Embedded Preview requires credentials. Please enter your credentials below",
|
|
82840
|
+
ERROR_NO_VSCODE_SETTINGS_FILE: "No VSCode Settings file found.",
|
|
82841
|
+
INFO_SAML_NOT_SUPPORTED: "The backend service seems to require direct SAML authentication, which is not yet supported.",
|
|
82842
|
+
INFO_RESPONSE_UNCERTAIN: "Successful deployment could not be confirmed based on the response message received. Please manually verify if the deployment was successful.",
|
|
82843
|
+
VSCODE_SETTINGS_FILE_NOT_PARSEABLE: "Not able to parse VSCode settings.json file.",
|
|
82844
|
+
ERROR_EMPTY_USERNAME: "Username can not be empty.",
|
|
82845
|
+
ERROR_EMPTY_PASSWORD: "Password can not be empty.",
|
|
82846
|
+
OPERATION_ABORTED: "Operation aborted by the user.",
|
|
82847
|
+
ERROR_ACHIVE_FROM_EXTERNAL_FILEPATH: "The archive file you provided could not be found.",
|
|
82848
|
+
ERROR_ACHIVE_FROM_EXTERNAL_URL: "The archive url you provided could not be reached. Please ensure the URL is accessible and does not require authentication. {{error}}",
|
|
82849
|
+
NO_CAP: "CAP projects are not supported.",
|
|
82850
|
+
DEPLOYMENT_MSG: "To retrieve the deployed URL, run the following command:",
|
|
82851
|
+
DEPLOYMENT_MANAGED_CF_URL: "cf html5-list -u -di {{-mtaId}}-destination-service -u --runtime launchpad",
|
|
82852
|
+
DEPLOYMENT_HELP: "For more help, go to https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/607014e278d941fda4440f92f4a324a6.html",
|
|
82853
|
+
DEPLOYMENT_STANDALONE_CF_URL: "Please see the deployed application URL above",
|
|
82854
|
+
ERROR_NO_UI5_FLEX_LAYER: "The UI5 Flexibility Layer for this project is not set. Please open the command palette and execute the command {{command}}.",
|
|
82855
|
+
ERROR_WRONG_UI5_FLEX_LAYER: "The value of the UI5 Flexibility Layer is wrong. Please open the command palette and execute the command {{command}}.",
|
|
82856
|
+
ERROR_WRONG_MINUI5VERSION: "Developer variant creation works only with UI5 version {{version}} or higher. Please update the minUI5Version in the manifest.json to {{version}} or higher.",
|
|
82857
|
+
ERROR_WRONG_UI5VERSION: "Developer variant creation works only with UI5 version {{version}} or higher. Please update the UI5 version in the {{-location}} to {{version}} or higher.",
|
|
82858
|
+
VARIANT_MANAGEMENT_VSCODE_CONFIGURATION_COMMAND: "Fiori: Add Configuration for Variants Creation",
|
|
82859
|
+
NO_HELP_MARKDOWN_FOUND: "Help content cannot be loaded",
|
|
82860
|
+
UNKNOWN_ADD_SUBCOMMAND: "Subcommand {{artifact}} is not supported. Please check the following supported subcommands.",
|
|
82861
|
+
CONTROL_PROPERTY_EDITOR_UNSUPPORTED_FE_VERSION: "Control property editor is available only for SAP Fiori Elements v2 apps",
|
|
82862
|
+
CONTROL_PROPERTY_EDITOR_MIN_UI5_VERSION: "Control property editor works only with SAP UI5 version {{version}} or higher. Please update the SAP UI5 version in the {{-location}} to {{version}} or higher.",
|
|
82863
|
+
CONTROL_PROPERTY_EDITOR_VSCODE_CONFIGURATION_COMMAND: "Fiori: Add Configuration for Control Property Editor",
|
|
82864
|
+
UI5_VERSION_SOURCE: "Using UI5 version {{version}} based on {{-file}}",
|
|
82865
|
+
FLP_EMBEDDED_NO_DIST: "Folder {{-folder}} is missing. Please build your application first, before starting the embedded preview.",
|
|
82866
|
+
WARN_TARGET_SYSTEM_UI5_VERSION: "Target system's SAPUI5 version is lower than the local minUI5Version. Testing locally with different Run Configurations recommended https://help.sap.com/viewer/17d50220bcd848aa854c9c182d65b699/Latest/en-US/09171c8bc3a64ec7848f0ef31770a793.html",
|
|
82867
|
+
TARGET_SYSTEM_UI5_VERSION: "Target System SAPUI5 version",
|
|
82868
|
+
PREV_DEPLOY_DIFFERENT_APP_ID: "An app in the same repository with different sap app id found:",
|
|
82869
|
+
REQUIRE_OVERWRITE_DEPLOY: "Do you want to overwrite (Y/n)?",
|
|
82870
|
+
ERROR_READING_MANIFEST_JSON: "Error reading manifest.json from '{{manifestPath}}'. Error was : '{{message}}'.",
|
|
82871
|
+
REMOVED_VERSION_INFO: "Version {{oldVersion}} is not available on the SAPUI5 SDK, using version {{newVersion}} instead.",
|
|
82872
|
+
ABAP_DEPLOYMENT_404_WARNING: "Request failed with status code 404. Guided Answers troubleshooting guide available at https://ga.support.sap.com/dtp/viewer/index.html#/tree/3046/actions/45995:45996:45999:46000:46002"
|
|
81248
82873
|
};
|
|
81249
82874
|
|
|
81250
82875
|
// src/i18n.ts
|
|
@@ -81310,6 +82935,9 @@ var import_chalk = __toESM(require_source());
|
|
|
81310
82935
|
var import_fs2 = require("@ui5/fs");
|
|
81311
82936
|
var import_project_spec = __toESM(require_dist2());
|
|
81312
82937
|
var import_ux_telemetry = __toESM(require_src7());
|
|
82938
|
+
var import_ux_ui5_info = __toESM(require_dist7());
|
|
82939
|
+
var import_semver = __toESM(require_semver7());
|
|
82940
|
+
var import_axios = __toESM(require_axios2());
|
|
81313
82941
|
var getHtmlFile = (url) => {
|
|
81314
82942
|
let html = url;
|
|
81315
82943
|
if (html.indexOf("?") !== -1) {
|