@sap/ux-ui5-tooling 1.9.6 → 1.9.7
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/dist/cli/index.js +183 -249
- package/dist/middlewares/fiori-tools-preview.js +45 -245
- package/dist/middlewares/fiori-tools-proxy.js +45 -245
- package/dist/tasks/cf-deploy/index.js +184 -248
- package/dist/tasks/deploy/index.js +180 -246
- package/dist/templates/control-property-editor/app.js +40 -40
- package/package.json +9 -9
package/dist/cli/index.js
CHANGED
|
@@ -62116,9 +62116,9 @@ var require_async_hook = __commonJS({
|
|
|
62116
62116
|
}
|
|
62117
62117
|
});
|
|
62118
62118
|
|
|
62119
|
-
// ../../node_modules/
|
|
62119
|
+
// ../../node_modules/stack-chain/package.json
|
|
62120
62120
|
var require_package4 = __commonJS({
|
|
62121
|
-
"../../node_modules/
|
|
62121
|
+
"../../node_modules/stack-chain/package.json"(exports2, module2) {
|
|
62122
62122
|
module2.exports = {
|
|
62123
62123
|
name: "stack-chain",
|
|
62124
62124
|
description: "API for combining call site modifiers",
|
|
@@ -62148,9 +62148,9 @@ var require_package4 = __commonJS({
|
|
|
62148
62148
|
}
|
|
62149
62149
|
});
|
|
62150
62150
|
|
|
62151
|
-
// ../../node_modules/
|
|
62151
|
+
// ../../node_modules/stack-chain/format.js
|
|
62152
62152
|
var require_format = __commonJS({
|
|
62153
|
-
"../../node_modules/
|
|
62153
|
+
"../../node_modules/stack-chain/format.js"(exports2, module2) {
|
|
62154
62154
|
function FormatErrorString(error3) {
|
|
62155
62155
|
try {
|
|
62156
62156
|
return Error.prototype.toString.call(error3);
|
|
@@ -62184,9 +62184,9 @@ var require_format = __commonJS({
|
|
|
62184
62184
|
}
|
|
62185
62185
|
});
|
|
62186
62186
|
|
|
62187
|
-
// ../../node_modules/
|
|
62187
|
+
// ../../node_modules/stack-chain/stack-chain.js
|
|
62188
62188
|
var require_stack_chain = __commonJS({
|
|
62189
|
-
"../../node_modules/
|
|
62189
|
+
"../../node_modules/stack-chain/stack-chain.js"(exports2, module2) {
|
|
62190
62190
|
var defaultFormater = require_format();
|
|
62191
62191
|
function stackChain() {
|
|
62192
62192
|
this.extend = new TraceModifier();
|
|
@@ -62312,9 +62312,9 @@ var require_stack_chain = __commonJS({
|
|
|
62312
62312
|
}
|
|
62313
62313
|
});
|
|
62314
62314
|
|
|
62315
|
-
// ../../node_modules/
|
|
62315
|
+
// ../../node_modules/stack-chain/index.js
|
|
62316
62316
|
var require_stack_chain2 = __commonJS({
|
|
62317
|
-
"../../node_modules/
|
|
62317
|
+
"../../node_modules/stack-chain/index.js"(exports2, module2) {
|
|
62318
62318
|
if (global._stackChain) {
|
|
62319
62319
|
if (global._stackChain.version === require_package4().version) {
|
|
62320
62320
|
module2.exports = global._stackChain;
|
|
@@ -62351,210 +62351,6 @@ var require_async_hook_jl = __commonJS({
|
|
|
62351
62351
|
}
|
|
62352
62352
|
});
|
|
62353
62353
|
|
|
62354
|
-
// ../../node_modules/stack-chain/package.json
|
|
62355
|
-
var require_package5 = __commonJS({
|
|
62356
|
-
"../../node_modules/stack-chain/package.json"(exports2, module2) {
|
|
62357
|
-
module2.exports = {
|
|
62358
|
-
name: "stack-chain",
|
|
62359
|
-
description: "API for combining call site modifiers",
|
|
62360
|
-
version: "2.0.0",
|
|
62361
|
-
author: "Andreas Madsen <amwebdk@gmail.com>",
|
|
62362
|
-
scripts: {
|
|
62363
|
-
test: "tap ./test/simple/*"
|
|
62364
|
-
},
|
|
62365
|
-
repository: {
|
|
62366
|
-
type: "git",
|
|
62367
|
-
url: "git://github.com/AndreasMadsen/stack-chain.git"
|
|
62368
|
-
},
|
|
62369
|
-
keywords: [
|
|
62370
|
-
"stack",
|
|
62371
|
-
"chain",
|
|
62372
|
-
"trace",
|
|
62373
|
-
"call site",
|
|
62374
|
-
"concat",
|
|
62375
|
-
"format"
|
|
62376
|
-
],
|
|
62377
|
-
devDependencies: {
|
|
62378
|
-
tap: "2.x.x",
|
|
62379
|
-
"uglify-js": "2.5.x"
|
|
62380
|
-
},
|
|
62381
|
-
license: "MIT"
|
|
62382
|
-
};
|
|
62383
|
-
}
|
|
62384
|
-
});
|
|
62385
|
-
|
|
62386
|
-
// ../../node_modules/stack-chain/format.js
|
|
62387
|
-
var require_format2 = __commonJS({
|
|
62388
|
-
"../../node_modules/stack-chain/format.js"(exports2, module2) {
|
|
62389
|
-
function FormatErrorString(error3) {
|
|
62390
|
-
try {
|
|
62391
|
-
return Error.prototype.toString.call(error3);
|
|
62392
|
-
} catch (e) {
|
|
62393
|
-
try {
|
|
62394
|
-
return "<error: " + e + ">";
|
|
62395
|
-
} catch (ee) {
|
|
62396
|
-
return "<error>";
|
|
62397
|
-
}
|
|
62398
|
-
}
|
|
62399
|
-
}
|
|
62400
|
-
module2.exports = function FormatStackTrace(error3, frames) {
|
|
62401
|
-
var lines = [];
|
|
62402
|
-
lines.push(FormatErrorString(error3));
|
|
62403
|
-
for (var i = 0; i < frames.length; i++) {
|
|
62404
|
-
var frame = frames[i];
|
|
62405
|
-
var line;
|
|
62406
|
-
try {
|
|
62407
|
-
line = frame.toString();
|
|
62408
|
-
} catch (e) {
|
|
62409
|
-
try {
|
|
62410
|
-
line = "<error: " + e + ">";
|
|
62411
|
-
} catch (ee) {
|
|
62412
|
-
line = "<error>";
|
|
62413
|
-
}
|
|
62414
|
-
}
|
|
62415
|
-
lines.push(" at " + line);
|
|
62416
|
-
}
|
|
62417
|
-
return lines.join("\n");
|
|
62418
|
-
};
|
|
62419
|
-
}
|
|
62420
|
-
});
|
|
62421
|
-
|
|
62422
|
-
// ../../node_modules/stack-chain/stack-chain.js
|
|
62423
|
-
var require_stack_chain3 = __commonJS({
|
|
62424
|
-
"../../node_modules/stack-chain/stack-chain.js"(exports2, module2) {
|
|
62425
|
-
var defaultFormater = require_format2();
|
|
62426
|
-
var originalCallSiteSymbol = Symbol("originalCallSite");
|
|
62427
|
-
var mutatedCallSiteSymbol = Symbol("mutatedCallSite");
|
|
62428
|
-
function stackChain() {
|
|
62429
|
-
this.extend = new TraceModifier();
|
|
62430
|
-
this.filter = new TraceModifier();
|
|
62431
|
-
this.format = new StackFormater();
|
|
62432
|
-
this.version = require_package5().version;
|
|
62433
|
-
}
|
|
62434
|
-
var SHORTCIRCUIT_CALLSITE = false;
|
|
62435
|
-
stackChain.prototype.callSite = function collectCallSites(options3) {
|
|
62436
|
-
if (!options3)
|
|
62437
|
-
options3 = {};
|
|
62438
|
-
SHORTCIRCUIT_CALLSITE = true;
|
|
62439
|
-
var obj2 = {};
|
|
62440
|
-
Error.captureStackTrace(obj2, collectCallSites);
|
|
62441
|
-
var callSites = obj2.stack;
|
|
62442
|
-
SHORTCIRCUIT_CALLSITE = false;
|
|
62443
|
-
callSites = callSites.slice(options3.slice || 0);
|
|
62444
|
-
if (options3.extend)
|
|
62445
|
-
callSites = this.extend._modify(obj2, callSites);
|
|
62446
|
-
if (options3.filter)
|
|
62447
|
-
callSites = this.filter._modify(obj2, callSites);
|
|
62448
|
-
return callSites;
|
|
62449
|
-
};
|
|
62450
|
-
stackChain.prototype.originalCallSite = function(error3) {
|
|
62451
|
-
error3.stack;
|
|
62452
|
-
return error3[originalCallSiteSymbol];
|
|
62453
|
-
};
|
|
62454
|
-
stackChain.prototype.mutatedCallSite = function(error3) {
|
|
62455
|
-
error3.stack;
|
|
62456
|
-
return error3[mutatedCallSiteSymbol];
|
|
62457
|
-
};
|
|
62458
|
-
var chain = new stackChain();
|
|
62459
|
-
function TraceModifier() {
|
|
62460
|
-
this._modifiers = [];
|
|
62461
|
-
}
|
|
62462
|
-
TraceModifier.prototype._modify = function(error3, frames) {
|
|
62463
|
-
for (var i = 0, l = this._modifiers.length; i < l; i++) {
|
|
62464
|
-
frames = this._modifiers[i](error3, frames);
|
|
62465
|
-
}
|
|
62466
|
-
return frames;
|
|
62467
|
-
};
|
|
62468
|
-
TraceModifier.prototype.attach = function(modifier) {
|
|
62469
|
-
this._modifiers.push(modifier);
|
|
62470
|
-
};
|
|
62471
|
-
TraceModifier.prototype.deattach = function(modifier) {
|
|
62472
|
-
var index2 = this._modifiers.indexOf(modifier);
|
|
62473
|
-
if (index2 === -1)
|
|
62474
|
-
return false;
|
|
62475
|
-
this._modifiers.splice(index2, 1);
|
|
62476
|
-
return true;
|
|
62477
|
-
};
|
|
62478
|
-
function StackFormater() {
|
|
62479
|
-
this._formater = defaultFormater;
|
|
62480
|
-
this._previous = void 0;
|
|
62481
|
-
}
|
|
62482
|
-
StackFormater.prototype.replace = function(formater) {
|
|
62483
|
-
if (formater) {
|
|
62484
|
-
this._formater = formater;
|
|
62485
|
-
} else {
|
|
62486
|
-
this.restore();
|
|
62487
|
-
}
|
|
62488
|
-
};
|
|
62489
|
-
StackFormater.prototype.restore = function() {
|
|
62490
|
-
this._formater = defaultFormater;
|
|
62491
|
-
this._previous = void 0;
|
|
62492
|
-
};
|
|
62493
|
-
StackFormater.prototype._backup = function() {
|
|
62494
|
-
this._previous = this._formater;
|
|
62495
|
-
};
|
|
62496
|
-
StackFormater.prototype._roolback = function() {
|
|
62497
|
-
if (this._previous === defaultFormater) {
|
|
62498
|
-
this.replace(void 0);
|
|
62499
|
-
} else {
|
|
62500
|
-
this.replace(this._previous);
|
|
62501
|
-
}
|
|
62502
|
-
this._previous = void 0;
|
|
62503
|
-
};
|
|
62504
|
-
if (Error.prepareStackTrace) {
|
|
62505
|
-
chain.format.replace(Error.prepareStackTrace);
|
|
62506
|
-
}
|
|
62507
|
-
var SHORTCIRCUIT_FORMATER = false;
|
|
62508
|
-
function prepareStackTrace(error3, originalFrames) {
|
|
62509
|
-
if (SHORTCIRCUIT_CALLSITE)
|
|
62510
|
-
return originalFrames;
|
|
62511
|
-
if (SHORTCIRCUIT_FORMATER)
|
|
62512
|
-
return defaultFormater(error3, originalFrames);
|
|
62513
|
-
var frames = originalFrames.concat();
|
|
62514
|
-
frames = chain.extend._modify(error3, frames);
|
|
62515
|
-
frames = chain.filter._modify(error3, frames);
|
|
62516
|
-
frames = frames.slice(0, Error.stackTraceLimit);
|
|
62517
|
-
if (Object.isExtensible(error3)) {
|
|
62518
|
-
error3[originalCallSiteSymbol] = originalFrames;
|
|
62519
|
-
error3[mutatedCallSiteSymbol] = frames;
|
|
62520
|
-
}
|
|
62521
|
-
SHORTCIRCUIT_FORMATER = true;
|
|
62522
|
-
var format3 = chain.format._formater(error3, frames);
|
|
62523
|
-
SHORTCIRCUIT_FORMATER = false;
|
|
62524
|
-
return format3;
|
|
62525
|
-
}
|
|
62526
|
-
Object.defineProperty(Error, "prepareStackTrace", {
|
|
62527
|
-
"get": function() {
|
|
62528
|
-
return prepareStackTrace;
|
|
62529
|
-
},
|
|
62530
|
-
"set": function(formater) {
|
|
62531
|
-
if (formater === prepareStackTrace) {
|
|
62532
|
-
chain.format._roolback();
|
|
62533
|
-
} else {
|
|
62534
|
-
chain.format._backup();
|
|
62535
|
-
chain.format.replace(formater);
|
|
62536
|
-
}
|
|
62537
|
-
}
|
|
62538
|
-
});
|
|
62539
|
-
module2.exports = chain;
|
|
62540
|
-
}
|
|
62541
|
-
});
|
|
62542
|
-
|
|
62543
|
-
// ../../node_modules/stack-chain/index.js
|
|
62544
|
-
var require_stack_chain4 = __commonJS({
|
|
62545
|
-
"../../node_modules/stack-chain/index.js"(exports2, module2) {
|
|
62546
|
-
if (global._stackChain) {
|
|
62547
|
-
if (global._stackChain.version === require_package5().version) {
|
|
62548
|
-
module2.exports = global._stackChain;
|
|
62549
|
-
} else {
|
|
62550
|
-
throw new Error("Conflicting version of stack-chain found");
|
|
62551
|
-
}
|
|
62552
|
-
} else {
|
|
62553
|
-
module2.exports = global._stackChain = require_stack_chain3();
|
|
62554
|
-
}
|
|
62555
|
-
}
|
|
62556
|
-
});
|
|
62557
|
-
|
|
62558
62354
|
// ../../node_modules/cls-hooked/context-legacy.js
|
|
62559
62355
|
var require_context_legacy = __commonJS({
|
|
62560
62356
|
"../../node_modules/cls-hooked/context-legacy.js"(exports2, module2) {
|
|
@@ -62858,7 +62654,7 @@ var require_context_legacy = __commonJS({
|
|
|
62858
62654
|
}
|
|
62859
62655
|
}
|
|
62860
62656
|
if (DEBUG_CLS_HOOKED) {
|
|
62861
|
-
stackChain =
|
|
62657
|
+
stackChain = require_stack_chain2();
|
|
62862
62658
|
for (modifier in stackChain.filter._modifiers) {
|
|
62863
62659
|
stackChain.filter.deattach(modifier);
|
|
62864
62660
|
}
|
|
@@ -69648,11 +69444,11 @@ var require_applicationinsights = __commonJS({
|
|
|
69648
69444
|
});
|
|
69649
69445
|
|
|
69650
69446
|
// ../lib/telemetry/dist/package.json
|
|
69651
|
-
var
|
|
69447
|
+
var require_package5 = __commonJS({
|
|
69652
69448
|
"../lib/telemetry/dist/package.json"(exports2, module2) {
|
|
69653
69449
|
module2.exports = {
|
|
69654
69450
|
name: "@sap/ux-telemetry",
|
|
69655
|
-
version: "1.9.
|
|
69451
|
+
version: "1.9.7",
|
|
69656
69452
|
description: "SAP Fiori tools telemetry library",
|
|
69657
69453
|
main: "dist/src/index.js",
|
|
69658
69454
|
author: "SAP SE",
|
|
@@ -69677,10 +69473,10 @@ var require_package6 = __commonJS({
|
|
|
69677
69473
|
},
|
|
69678
69474
|
dependencies: {
|
|
69679
69475
|
"@sap-ux/store": "0.3.8",
|
|
69680
|
-
"@sap/ux-cds": "1.9.
|
|
69681
|
-
"@sap/ux-common-utils": "1.9.
|
|
69682
|
-
"@sap/ux-feature-toggle": "1.9.
|
|
69683
|
-
"@sap/ux-project-access": "1.9.
|
|
69476
|
+
"@sap/ux-cds": "1.9.7",
|
|
69477
|
+
"@sap/ux-common-utils": "1.9.7",
|
|
69478
|
+
"@sap/ux-feature-toggle": "1.9.7",
|
|
69479
|
+
"@sap/ux-project-access": "1.9.7",
|
|
69684
69480
|
applicationinsights: "1.4.1",
|
|
69685
69481
|
axios: "0.26.0",
|
|
69686
69482
|
"performance-now": "2.1.0",
|
|
@@ -69782,7 +69578,7 @@ var require_reporting = __commonJS({
|
|
|
69782
69578
|
exports2.reportEnableTelemetryOnOff = exports2.reportRuntimeError = void 0;
|
|
69783
69579
|
var EventName_1 = require_EventName();
|
|
69784
69580
|
var appInsights = __importStar(require_applicationinsights());
|
|
69785
|
-
var telemetryPackageJSON = __importStar(
|
|
69581
|
+
var telemetryPackageJSON = __importStar(require_package5());
|
|
69786
69582
|
var telemetryClientConfig_1 = require_telemetryClientConfig();
|
|
69787
69583
|
var parseErrorStack = (errorStack) => {
|
|
69788
69584
|
const regexps = [/sap-ux.+/gi, /[a-zA-Z-]+\/ide-extension\/.+/gi, /(\/telemetry\/.+)/gi];
|
|
@@ -76930,7 +76726,7 @@ var require_info2 = __commonJS({
|
|
|
76930
76726
|
});
|
|
76931
76727
|
|
|
76932
76728
|
// ../../node_modules/@sap-ux/project-access/dist/types/package/index.js
|
|
76933
|
-
var
|
|
76729
|
+
var require_package6 = __commonJS({
|
|
76934
76730
|
"../../node_modules/@sap-ux/project-access/dist/types/package/index.js"(exports2) {
|
|
76935
76731
|
"use strict";
|
|
76936
76732
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -76981,7 +76777,7 @@ var require_types8 = __commonJS({
|
|
|
76981
76777
|
__exportStar(require_cap2(), exports2);
|
|
76982
76778
|
__exportStar(require_find(), exports2);
|
|
76983
76779
|
__exportStar(require_info2(), exports2);
|
|
76984
|
-
__exportStar(
|
|
76780
|
+
__exportStar(require_package6(), exports2);
|
|
76985
76781
|
__exportStar(require_vscode(), exports2);
|
|
76986
76782
|
__exportStar(require_webapp3(), exports2);
|
|
76987
76783
|
}
|
|
@@ -85673,7 +85469,7 @@ var require_transports = __commonJS({
|
|
|
85673
85469
|
});
|
|
85674
85470
|
|
|
85675
85471
|
// ../../node_modules/logform/format.js
|
|
85676
|
-
var
|
|
85472
|
+
var require_format2 = __commonJS({
|
|
85677
85473
|
"../../node_modules/logform/format.js"(exports2, module2) {
|
|
85678
85474
|
"use strict";
|
|
85679
85475
|
var InvalidFormatError = class extends Error {
|
|
@@ -86434,7 +86230,7 @@ var require_levels = __commonJS({
|
|
|
86434
86230
|
var require_align = __commonJS({
|
|
86435
86231
|
"../../node_modules/logform/align.js"(exports2, module2) {
|
|
86436
86232
|
"use strict";
|
|
86437
|
-
var format3 =
|
|
86233
|
+
var format3 = require_format2();
|
|
86438
86234
|
module2.exports = format3((info) => {
|
|
86439
86235
|
info.message = ` ${info.message}`;
|
|
86440
86236
|
return info;
|
|
@@ -86446,7 +86242,7 @@ var require_align = __commonJS({
|
|
|
86446
86242
|
var require_errors5 = __commonJS({
|
|
86447
86243
|
"../../node_modules/logform/errors.js"(exports2, module2) {
|
|
86448
86244
|
"use strict";
|
|
86449
|
-
var format3 =
|
|
86245
|
+
var format3 = require_format2();
|
|
86450
86246
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
|
86451
86247
|
module2.exports = format3((einfo, { stack }) => {
|
|
86452
86248
|
if (einfo instanceof Error) {
|
|
@@ -86544,7 +86340,7 @@ var require_cli3 = __commonJS({
|
|
|
86544
86340
|
var require_combine = __commonJS({
|
|
86545
86341
|
"../../node_modules/logform/combine.js"(exports2, module2) {
|
|
86546
86342
|
"use strict";
|
|
86547
|
-
var format3 =
|
|
86343
|
+
var format3 = require_format2();
|
|
86548
86344
|
function cascade(formats) {
|
|
86549
86345
|
if (!formats.every(isValidFormat)) {
|
|
86550
86346
|
return;
|
|
@@ -87243,7 +87039,7 @@ ${originalIndentation}`;
|
|
|
87243
87039
|
var require_json = __commonJS({
|
|
87244
87040
|
"../../node_modules/logform/json.js"(exports2, module2) {
|
|
87245
87041
|
"use strict";
|
|
87246
|
-
var format3 =
|
|
87042
|
+
var format3 = require_format2();
|
|
87247
87043
|
var { MESSAGE } = require_triple_beam();
|
|
87248
87044
|
var stringify2 = require_safe_stable_stringify();
|
|
87249
87045
|
function replacer(key, value) {
|
|
@@ -87263,7 +87059,7 @@ var require_json = __commonJS({
|
|
|
87263
87059
|
var require_label = __commonJS({
|
|
87264
87060
|
"../../node_modules/logform/label.js"(exports2, module2) {
|
|
87265
87061
|
"use strict";
|
|
87266
|
-
var format3 =
|
|
87062
|
+
var format3 = require_format2();
|
|
87267
87063
|
module2.exports = format3((info, opts) => {
|
|
87268
87064
|
if (opts.message) {
|
|
87269
87065
|
info.message = `[${opts.label}] ${info.message}`;
|
|
@@ -87279,7 +87075,7 @@ var require_label = __commonJS({
|
|
|
87279
87075
|
var require_logstash = __commonJS({
|
|
87280
87076
|
"../../node_modules/logform/logstash.js"(exports2, module2) {
|
|
87281
87077
|
"use strict";
|
|
87282
|
-
var format3 =
|
|
87078
|
+
var format3 = require_format2();
|
|
87283
87079
|
var { MESSAGE } = require_triple_beam();
|
|
87284
87080
|
var jsonStringify = require_safe_stable_stringify();
|
|
87285
87081
|
module2.exports = format3((info) => {
|
|
@@ -87303,7 +87099,7 @@ var require_logstash = __commonJS({
|
|
|
87303
87099
|
var require_metadata2 = __commonJS({
|
|
87304
87100
|
"../../node_modules/logform/metadata.js"(exports2, module2) {
|
|
87305
87101
|
"use strict";
|
|
87306
|
-
var format3 =
|
|
87102
|
+
var format3 = require_format2();
|
|
87307
87103
|
function fillExcept(info, fillExceptKeys, metadataKey) {
|
|
87308
87104
|
const savedKeys = fillExceptKeys.reduce((acc, key) => {
|
|
87309
87105
|
acc[key] = info[key];
|
|
@@ -87356,7 +87152,7 @@ var require_metadata2 = __commonJS({
|
|
|
87356
87152
|
var require_ms2 = __commonJS({
|
|
87357
87153
|
"../../node_modules/logform/ms.js"(exports2, module2) {
|
|
87358
87154
|
"use strict";
|
|
87359
|
-
var format3 =
|
|
87155
|
+
var format3 = require_format2();
|
|
87360
87156
|
var ms = require_ms();
|
|
87361
87157
|
module2.exports = format3((info) => {
|
|
87362
87158
|
const curr = +new Date();
|
|
@@ -87373,7 +87169,7 @@ var require_pretty_print = __commonJS({
|
|
|
87373
87169
|
"../../node_modules/logform/pretty-print.js"(exports2, module2) {
|
|
87374
87170
|
"use strict";
|
|
87375
87171
|
var inspect = require("util").inspect;
|
|
87376
|
-
var format3 =
|
|
87172
|
+
var format3 = require_format2();
|
|
87377
87173
|
var { LEVEL, MESSAGE, SPLAT } = require_triple_beam();
|
|
87378
87174
|
module2.exports = format3((info, opts = {}) => {
|
|
87379
87175
|
const stripped = Object.assign({}, info);
|
|
@@ -87409,7 +87205,7 @@ var require_printf = __commonJS({
|
|
|
87409
87205
|
var require_simple = __commonJS({
|
|
87410
87206
|
"../../node_modules/logform/simple.js"(exports2, module2) {
|
|
87411
87207
|
"use strict";
|
|
87412
|
-
var format3 =
|
|
87208
|
+
var format3 = require_format2();
|
|
87413
87209
|
var { MESSAGE } = require_triple_beam();
|
|
87414
87210
|
var jsonStringify = require_safe_stable_stringify();
|
|
87415
87211
|
module2.exports = format3((info) => {
|
|
@@ -87898,7 +87694,7 @@ var require_timestamp2 = __commonJS({
|
|
|
87898
87694
|
"../../node_modules/logform/timestamp.js"(exports2, module2) {
|
|
87899
87695
|
"use strict";
|
|
87900
87696
|
var fecha2 = (init_fecha(), __toCommonJS(fecha_exports));
|
|
87901
|
-
var format3 =
|
|
87697
|
+
var format3 = require_format2();
|
|
87902
87698
|
module2.exports = format3((info, opts = {}) => {
|
|
87903
87699
|
if (opts.format) {
|
|
87904
87700
|
info.timestamp = typeof opts.format === "function" ? opts.format() : fecha2.format(new Date(), opts.format);
|
|
@@ -87919,7 +87715,7 @@ var require_uncolorize = __commonJS({
|
|
|
87919
87715
|
"../../node_modules/logform/uncolorize.js"(exports2, module2) {
|
|
87920
87716
|
"use strict";
|
|
87921
87717
|
var colors = require_safe();
|
|
87922
|
-
var format3 =
|
|
87718
|
+
var format3 = require_format2();
|
|
87923
87719
|
var { MESSAGE } = require_triple_beam();
|
|
87924
87720
|
module2.exports = format3((info, opts) => {
|
|
87925
87721
|
if (opts.level !== false) {
|
|
@@ -87940,7 +87736,7 @@ var require_uncolorize = __commonJS({
|
|
|
87940
87736
|
var require_logform = __commonJS({
|
|
87941
87737
|
"../../node_modules/logform/index.js"(exports2) {
|
|
87942
87738
|
"use strict";
|
|
87943
|
-
var format3 = exports2.format =
|
|
87739
|
+
var format3 = exports2.format = require_format2();
|
|
87944
87740
|
exports2.levels = require_levels();
|
|
87945
87741
|
function exposeFormat(name, requireFormat) {
|
|
87946
87742
|
Object.defineProperty(format3, name, {
|
|
@@ -88056,7 +87852,7 @@ var require_common9 = __commonJS({
|
|
|
88056
87852
|
});
|
|
88057
87853
|
|
|
88058
87854
|
// ../../node_modules/winston/package.json
|
|
88059
|
-
var
|
|
87855
|
+
var require_package7 = __commonJS({
|
|
88060
87856
|
"../../node_modules/winston/package.json"(exports2, module2) {
|
|
88061
87857
|
module2.exports = {
|
|
88062
87858
|
name: "winston",
|
|
@@ -95236,7 +95032,7 @@ var require_winston = __commonJS({
|
|
|
95236
95032
|
"use strict";
|
|
95237
95033
|
var logform = require_logform();
|
|
95238
95034
|
var { warn: warn3 } = require_common9();
|
|
95239
|
-
exports2.version =
|
|
95035
|
+
exports2.version = require_package7().version;
|
|
95240
95036
|
exports2.transports = require_transports2();
|
|
95241
95037
|
exports2.config = require_config3();
|
|
95242
95038
|
exports2.addColors = logform.levels;
|
|
@@ -96202,12 +95998,16 @@ var require_toolsSuiteTelemetrySettings = __commonJS({
|
|
|
96202
95998
|
return path_1.default.join(homedir3, settingsPath);
|
|
96203
95999
|
};
|
|
96204
96000
|
var setEnableTelemetry = async (enableTelemetry) => {
|
|
96205
|
-
|
|
96206
|
-
|
|
96207
|
-
|
|
96208
|
-
|
|
96209
|
-
|
|
96210
|
-
|
|
96001
|
+
try {
|
|
96002
|
+
const storeService = await (0, store_1.getService)({
|
|
96003
|
+
entityName: "telemetrySetting"
|
|
96004
|
+
});
|
|
96005
|
+
const setting = new store_1.TelemetrySetting({ enableTelemetry });
|
|
96006
|
+
await storeService.write(setting);
|
|
96007
|
+
system_1.TelemetrySystem.telemetryEnabled = enableTelemetry;
|
|
96008
|
+
} catch (e) {
|
|
96009
|
+
console.error(`Telemetry settings could not be written. Error : ${e.message}`);
|
|
96010
|
+
}
|
|
96211
96011
|
const commonProperties = await (0, toolsSuiteTelemetryDataProcessor_1.getCommonProperties)();
|
|
96212
96012
|
(0, reporting_1.reportEnableTelemetryOnOff)(enableTelemetry, commonProperties);
|
|
96213
96013
|
};
|
|
@@ -96363,7 +96163,7 @@ var require_client3 = __commonJS({
|
|
|
96363
96163
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
96364
96164
|
exports2.ClientFactory = void 0;
|
|
96365
96165
|
var system_1 = require_system3();
|
|
96366
|
-
var telemetryPackageJSON = __importStar(
|
|
96166
|
+
var telemetryPackageJSON = __importStar(require_package5());
|
|
96367
96167
|
var toolsSuiteTelemetry_1 = require_toolsSuiteTelemetry();
|
|
96368
96168
|
var ClientFactory3 = class {
|
|
96369
96169
|
static getTelemetryClient() {
|
|
@@ -141334,7 +141134,7 @@ var require_enum = __commonJS({
|
|
|
141334
141134
|
});
|
|
141335
141135
|
|
|
141336
141136
|
// ../../node_modules/ajv/lib/dotjs/format.js
|
|
141337
|
-
var
|
|
141137
|
+
var require_format3 = __commonJS({
|
|
141338
141138
|
"../../node_modules/ajv/lib/dotjs/format.js"(exports2, module2) {
|
|
141339
141139
|
"use strict";
|
|
141340
141140
|
module2.exports = function generate_format(it, $keyword, $ruleType) {
|
|
@@ -143227,7 +143027,7 @@ var require_dotjs = __commonJS({
|
|
|
143227
143027
|
contains: require_contains(),
|
|
143228
143028
|
dependencies: require_dependencies2(),
|
|
143229
143029
|
"enum": require_enum(),
|
|
143230
|
-
format:
|
|
143030
|
+
format: require_format3(),
|
|
143231
143031
|
"if": require_if(),
|
|
143232
143032
|
items: require_items(),
|
|
143233
143033
|
maximum: require_limit(),
|
|
@@ -166999,6 +166799,140 @@ async function deployWithRetry(archive, config2, log7) {
|
|
|
166999
166799
|
await requestWithRetry(deploy2, [401, 412], config2, log7);
|
|
167000
166800
|
}
|
|
167001
166801
|
|
|
166802
|
+
// package.json
|
|
166803
|
+
var package_default = {
|
|
166804
|
+
name: "@sap/ux-ui5-tooling",
|
|
166805
|
+
displayName: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
166806
|
+
version: "1.9.7",
|
|
166807
|
+
description: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
166808
|
+
publisher: "SAPSE",
|
|
166809
|
+
license: "SEE LICENSE IN LICENSE",
|
|
166810
|
+
bin: {
|
|
166811
|
+
fiori: "bin/fiori"
|
|
166812
|
+
},
|
|
166813
|
+
private: false,
|
|
166814
|
+
scripts: {
|
|
166815
|
+
"clean:dist": "rimraf ./dist ./generators *.tsbuildinfo",
|
|
166816
|
+
clean: "rimraf ./.webpack_cache",
|
|
166817
|
+
"build:compile": "tsc --build ./ --pretty --dry",
|
|
166818
|
+
"build:bundle": "node esbuild.js",
|
|
166819
|
+
"build:copyTemplates1": "copyfiles --error --flat -V ../lib/app-templates/templates/variants-management/** ./dist/templates/variants-management",
|
|
166820
|
+
"build:copyTemplates2": "copyfiles --error --flat -V ../lib/app-templates/templates/control-property-editor/** ./dist/templates/control-property-editor",
|
|
166821
|
+
"build:copyTemplates3": "copyfiles --error --flat -V ../control-property-editor/dist/** ./dist/templates/control-property-editor",
|
|
166822
|
+
"build:copyTemplates4": "copyfiles --error --flat -V views/** ./dist/views",
|
|
166823
|
+
"build:copyTemplates5": "copyfiles --error -V src/markdowns/**/*.* ./dist/ -u 1",
|
|
166824
|
+
watch: "yarn clean && node esbuild --watch --minify=false",
|
|
166825
|
+
build: "npm-run-all -l -s clean -p build:compile build:bundle build:copyTemplates1 build:copyTemplates2 build:copyTemplates3 build:copyTemplates4 build:copyTemplates5",
|
|
166826
|
+
"build:deps": "yarn lerna run --concurrency 1 --no-bail --stream --scope @sap/ux-telemetry --scope @sap/ux-odata-client --scope @sap/ux-common-utils --scope @sap/ux-store --scope @sap/ux-app-templates build",
|
|
166827
|
+
bundle: "yarn build:deps && yarn build && npm pack",
|
|
166828
|
+
test: "cross-env SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY=true jest --maxWorkers=1 --ci --forceExit --detectOpenHandles",
|
|
166829
|
+
"test:sequence": "node -r ts-node/register test/sample-project/app/request-sequence.ts",
|
|
166830
|
+
lint: "eslint . --ext .ts,.tsx",
|
|
166831
|
+
"lint:summary": "eslint . --ext .ts,.tsx -f summary",
|
|
166832
|
+
"lint:fix": "eslint --fix",
|
|
166833
|
+
"lint:fix:all": "eslint . --ext .ts,.tsx --fix",
|
|
166834
|
+
"lint:report": "eslint . --ext .ts,.tsx -f multiple ",
|
|
166835
|
+
"format:fix": "prettier --write --loglevel silent --ignore-path ../../../.prettierignore",
|
|
166836
|
+
"format:fix:all": "prettier --write '**/*.{css,scss,html,js,json,ts,tsx,yaml,yml}' '!**/{out,dist,typings,node_modules}/**' '!**/*.{svg,png,xml}' --ignore-path ../../../.prettierignore",
|
|
166837
|
+
"tgz:package": "npm pack",
|
|
166838
|
+
madge: "madge --warning --circular --extensions ts ./"
|
|
166839
|
+
},
|
|
166840
|
+
dependencies: {
|
|
166841
|
+
"@ui5/fs": "^2.0.6",
|
|
166842
|
+
debug: "4.3.4",
|
|
166843
|
+
express: "4.17.3",
|
|
166844
|
+
livereload: "0.9.1",
|
|
166845
|
+
semver: "7.3.5",
|
|
166846
|
+
"update-notifier-cjs": "5.1.5"
|
|
166847
|
+
},
|
|
166848
|
+
optionalDependencies: {
|
|
166849
|
+
keytar: "7.9.0"
|
|
166850
|
+
},
|
|
166851
|
+
devDependencies: {
|
|
166852
|
+
"@sap-ux/backend-proxy-middleware": "0.6.45",
|
|
166853
|
+
"@sap-ux/logger": "0.3.5",
|
|
166854
|
+
"@sap-ux/store": "0.3.8",
|
|
166855
|
+
"@sap-ux/ui5-config": "0.16.6",
|
|
166856
|
+
"@sap-ux/ui5-proxy-middleware": "1.1.25",
|
|
166857
|
+
"@sap/ux-app-templates": "1.9.7",
|
|
166858
|
+
"@sap/ux-cds": "1.9.7",
|
|
166859
|
+
"@sap/ux-common-utils": "1.9.7",
|
|
166860
|
+
"@sap/ux-control-property-editor": "1.9.7",
|
|
166861
|
+
"@sap/ux-odata-client": "1.9.7",
|
|
166862
|
+
"@sap/ux-telemetry": "1.9.7",
|
|
166863
|
+
"@sap/ux-ui5-info": "1.9.7",
|
|
166864
|
+
"@sapux/project-spec": "1.9.7",
|
|
166865
|
+
"@types/marked": "4.0.1",
|
|
166866
|
+
"@types/prompts": "2.0.14",
|
|
166867
|
+
"@types/supertest": "2.0.12",
|
|
166868
|
+
"@types/yazl": "2.4.2",
|
|
166869
|
+
"@ui5/logger": "2.0.1",
|
|
166870
|
+
"async-retry": "1.3.1",
|
|
166871
|
+
axios: "0.26.0",
|
|
166872
|
+
chalk: "4.1.2",
|
|
166873
|
+
"connect-livereload": "0.6.1",
|
|
166874
|
+
"cross-env": "6.0.3",
|
|
166875
|
+
dotenv: "8.2.0",
|
|
166876
|
+
ejs: "3.1.8",
|
|
166877
|
+
hasbin: "1.2.3",
|
|
166878
|
+
"http-proxy-middleware": "2.0.1",
|
|
166879
|
+
i18next: "19.0.2",
|
|
166880
|
+
lodash: "4.17.21",
|
|
166881
|
+
marked: "4.0.10",
|
|
166882
|
+
"marked-terminal": "4.2.0",
|
|
166883
|
+
"mock-http-server": "1.4.5",
|
|
166884
|
+
nock: "13.2.4",
|
|
166885
|
+
portfinder: "1.0.28",
|
|
166886
|
+
prompts: "2.4.2",
|
|
166887
|
+
"request-promise": "4.2.5",
|
|
166888
|
+
"serve-static": "1.14.1",
|
|
166889
|
+
supertest: "6.3.3",
|
|
166890
|
+
typescript: "4.9.5",
|
|
166891
|
+
"wait-for-expect": "3.0.2",
|
|
166892
|
+
yaml: "2.2.2",
|
|
166893
|
+
"yargs-parser": "20.2.6",
|
|
166894
|
+
yazl: "2.5.1"
|
|
166895
|
+
},
|
|
166896
|
+
ui5: {
|
|
166897
|
+
dependencies: []
|
|
166898
|
+
},
|
|
166899
|
+
files: [
|
|
166900
|
+
"bin",
|
|
166901
|
+
"dist",
|
|
166902
|
+
"doc",
|
|
166903
|
+
"README.md",
|
|
166904
|
+
"CHANGELOG.md",
|
|
166905
|
+
"package.json",
|
|
166906
|
+
"ui5.yaml",
|
|
166907
|
+
"!*.tsbuildinfo",
|
|
166908
|
+
"!**/*.tsbuildinfo",
|
|
166909
|
+
"!*.map",
|
|
166910
|
+
"!**/*.map"
|
|
166911
|
+
],
|
|
166912
|
+
jestSonar: {
|
|
166913
|
+
reportPath: "reports/test/unit",
|
|
166914
|
+
reportFile: "test-report.xml"
|
|
166915
|
+
},
|
|
166916
|
+
"eslint-formatter-multiple": {
|
|
166917
|
+
formatters: [
|
|
166918
|
+
{
|
|
166919
|
+
name: "stylish",
|
|
166920
|
+
output: "console"
|
|
166921
|
+
},
|
|
166922
|
+
{
|
|
166923
|
+
name: "json",
|
|
166924
|
+
output: "file",
|
|
166925
|
+
path: "reports/lint/eslint.json"
|
|
166926
|
+
},
|
|
166927
|
+
{
|
|
166928
|
+
name: "checkstyle",
|
|
166929
|
+
output: "file",
|
|
166930
|
+
path: "reports/lint/eslint.checkstyle.xml"
|
|
166931
|
+
}
|
|
166932
|
+
]
|
|
166933
|
+
}
|
|
166934
|
+
};
|
|
166935
|
+
|
|
167002
166936
|
// src/tasks/deploy/index.ts
|
|
167003
166937
|
var chalk = require_source7();
|
|
167004
166938
|
async function task({ workspace, options: options3 }) {
|
|
@@ -167014,7 +166948,7 @@ async function task({ workspace, options: options3 }) {
|
|
|
167014
166948
|
log7.info(i18next_default.t("DEPLOY_CANCELED"));
|
|
167015
166949
|
return;
|
|
167016
166950
|
}
|
|
167017
|
-
await (0, import_ux_telemetry2.initTelemetrySettings)();
|
|
166951
|
+
await (0, import_ux_telemetry2.initTelemetrySettings)({ modulePackageJson: package_default });
|
|
167018
166952
|
const markName = import_ux_telemetry2.PerformanceMeasurementAPI.startMark("LOADING_TIME");
|
|
167019
166953
|
try {
|
|
167020
166954
|
let finalWorkspace = workspace;
|
|
@@ -167368,7 +167302,7 @@ init_i18next();
|
|
|
167368
167302
|
var import_yaml7 = __toESM(require_dist3());
|
|
167369
167303
|
var log6 = (0, import_logger5.getLogger)("cf spaces");
|
|
167370
167304
|
async function task3(args = []) {
|
|
167371
|
-
await (0, import_ux_telemetry3.initTelemetrySettings)();
|
|
167305
|
+
await (0, import_ux_telemetry3.initTelemetrySettings)({ modulePackageJson: package_default });
|
|
167372
167306
|
const markName = import_ux_telemetry3.PerformanceMeasurementAPI.startMark("LOADING_TIME");
|
|
167373
167307
|
let cfAuthenticated = true;
|
|
167374
167308
|
try {
|