@sap/ux-ui5-tooling 1.19.6 → 1.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/cli/index.js +5744 -5287
- package/dist/middlewares/fiori-tools-appreload.js +719 -1033
- package/dist/middlewares/fiori-tools-preview.js +2319 -2123
- package/dist/middlewares/fiori-tools-proxy.js +2097 -2268
- package/dist/middlewares/fiori-tools-servestatic.js +85 -201
- package/dist/tasks/cf-deploy/index.js +2266 -2066
- package/dist/tasks/deploy/index.js +3233 -2574
- package/package.json +27 -24
|
@@ -863,7 +863,7 @@ var require_http_errors = __commonJS({
|
|
|
863
863
|
});
|
|
864
864
|
}
|
|
865
865
|
function toClassName(name) {
|
|
866
|
-
return name.
|
|
866
|
+
return name.slice(-5) === "Error" ? name : name + "Error";
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
869
|
});
|
|
@@ -984,9 +984,9 @@ var require_ms = __commonJS({
|
|
|
984
984
|
}
|
|
985
985
|
});
|
|
986
986
|
|
|
987
|
-
// ../../node_modules/
|
|
987
|
+
// ../../node_modules/debug/src/common.js
|
|
988
988
|
var require_common = __commonJS({
|
|
989
|
-
"../../node_modules/
|
|
989
|
+
"../../node_modules/debug/src/common.js"(exports2, module2) {
|
|
990
990
|
function setup(env) {
|
|
991
991
|
createDebug.debug = createDebug;
|
|
992
992
|
createDebug.default = createDebug;
|
|
@@ -1087,7 +1087,7 @@ var require_common = __commonJS({
|
|
|
1087
1087
|
createDebug.namespaces = namespaces;
|
|
1088
1088
|
createDebug.names = [];
|
|
1089
1089
|
createDebug.skips = [];
|
|
1090
|
-
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(
|
|
1090
|
+
const split = (typeof namespaces === "string" ? namespaces : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
1091
1091
|
for (const ns of split) {
|
|
1092
1092
|
if (ns[0] === "-") {
|
|
1093
1093
|
createDebug.skips.push(ns.slice(1));
|
|
@@ -1161,9 +1161,9 @@ var require_common = __commonJS({
|
|
|
1161
1161
|
}
|
|
1162
1162
|
});
|
|
1163
1163
|
|
|
1164
|
-
// ../../node_modules/
|
|
1164
|
+
// ../../node_modules/debug/src/browser.js
|
|
1165
1165
|
var require_browser = __commonJS({
|
|
1166
|
-
"../../node_modules/
|
|
1166
|
+
"../../node_modules/debug/src/browser.js"(exports2, module2) {
|
|
1167
1167
|
exports2.formatArgs = formatArgs;
|
|
1168
1168
|
exports2.save = save;
|
|
1169
1169
|
exports2.load = load;
|
|
@@ -1305,7 +1305,7 @@ var require_browser = __commonJS({
|
|
|
1305
1305
|
function load() {
|
|
1306
1306
|
let r;
|
|
1307
1307
|
try {
|
|
1308
|
-
r = exports2.storage.getItem("debug");
|
|
1308
|
+
r = exports2.storage.getItem("debug") || exports2.storage.getItem("DEBUG");
|
|
1309
1309
|
} catch (error) {
|
|
1310
1310
|
}
|
|
1311
1311
|
if (!r && typeof process !== "undefined" && "env" in process) {
|
|
@@ -1446,9 +1446,9 @@ var require_supports_color = __commonJS({
|
|
|
1446
1446
|
}
|
|
1447
1447
|
});
|
|
1448
1448
|
|
|
1449
|
-
// ../../node_modules/
|
|
1449
|
+
// ../../node_modules/debug/src/node.js
|
|
1450
1450
|
var require_node = __commonJS({
|
|
1451
|
-
"../../node_modules/
|
|
1451
|
+
"../../node_modules/debug/src/node.js"(exports2, module2) {
|
|
1452
1452
|
var tty = require("tty");
|
|
1453
1453
|
var util = require("util");
|
|
1454
1454
|
exports2.init = init2;
|
|
@@ -1620,9 +1620,9 @@ var require_node = __commonJS({
|
|
|
1620
1620
|
}
|
|
1621
1621
|
});
|
|
1622
1622
|
|
|
1623
|
-
// ../../node_modules/
|
|
1623
|
+
// ../../node_modules/debug/src/index.js
|
|
1624
1624
|
var require_src = __commonJS({
|
|
1625
|
-
"../../node_modules/
|
|
1625
|
+
"../../node_modules/debug/src/index.js"(exports2, module2) {
|
|
1626
1626
|
if (typeof process === "undefined" || process.type === "renderer" || process.browser === true || process.__nwjs) {
|
|
1627
1627
|
module2.exports = require_browser();
|
|
1628
1628
|
} else {
|
|
@@ -11488,148 +11488,6 @@ var require_range_parser = __commonJS({
|
|
|
11488
11488
|
}
|
|
11489
11489
|
});
|
|
11490
11490
|
|
|
11491
|
-
// ../../node_modules/serve-static/node_modules/statuses/codes.json
|
|
11492
|
-
var require_codes2 = __commonJS({
|
|
11493
|
-
"../../node_modules/serve-static/node_modules/statuses/codes.json"(exports2, module2) {
|
|
11494
|
-
module2.exports = {
|
|
11495
|
-
"100": "Continue",
|
|
11496
|
-
"101": "Switching Protocols",
|
|
11497
|
-
"102": "Processing",
|
|
11498
|
-
"103": "Early Hints",
|
|
11499
|
-
"200": "OK",
|
|
11500
|
-
"201": "Created",
|
|
11501
|
-
"202": "Accepted",
|
|
11502
|
-
"203": "Non-Authoritative Information",
|
|
11503
|
-
"204": "No Content",
|
|
11504
|
-
"205": "Reset Content",
|
|
11505
|
-
"206": "Partial Content",
|
|
11506
|
-
"207": "Multi-Status",
|
|
11507
|
-
"208": "Already Reported",
|
|
11508
|
-
"226": "IM Used",
|
|
11509
|
-
"300": "Multiple Choices",
|
|
11510
|
-
"301": "Moved Permanently",
|
|
11511
|
-
"302": "Found",
|
|
11512
|
-
"303": "See Other",
|
|
11513
|
-
"304": "Not Modified",
|
|
11514
|
-
"305": "Use Proxy",
|
|
11515
|
-
"307": "Temporary Redirect",
|
|
11516
|
-
"308": "Permanent Redirect",
|
|
11517
|
-
"400": "Bad Request",
|
|
11518
|
-
"401": "Unauthorized",
|
|
11519
|
-
"402": "Payment Required",
|
|
11520
|
-
"403": "Forbidden",
|
|
11521
|
-
"404": "Not Found",
|
|
11522
|
-
"405": "Method Not Allowed",
|
|
11523
|
-
"406": "Not Acceptable",
|
|
11524
|
-
"407": "Proxy Authentication Required",
|
|
11525
|
-
"408": "Request Timeout",
|
|
11526
|
-
"409": "Conflict",
|
|
11527
|
-
"410": "Gone",
|
|
11528
|
-
"411": "Length Required",
|
|
11529
|
-
"412": "Precondition Failed",
|
|
11530
|
-
"413": "Payload Too Large",
|
|
11531
|
-
"414": "URI Too Long",
|
|
11532
|
-
"415": "Unsupported Media Type",
|
|
11533
|
-
"416": "Range Not Satisfiable",
|
|
11534
|
-
"417": "Expectation Failed",
|
|
11535
|
-
"418": "I'm a Teapot",
|
|
11536
|
-
"421": "Misdirected Request",
|
|
11537
|
-
"422": "Unprocessable Entity",
|
|
11538
|
-
"423": "Locked",
|
|
11539
|
-
"424": "Failed Dependency",
|
|
11540
|
-
"425": "Too Early",
|
|
11541
|
-
"426": "Upgrade Required",
|
|
11542
|
-
"428": "Precondition Required",
|
|
11543
|
-
"429": "Too Many Requests",
|
|
11544
|
-
"431": "Request Header Fields Too Large",
|
|
11545
|
-
"451": "Unavailable For Legal Reasons",
|
|
11546
|
-
"500": "Internal Server Error",
|
|
11547
|
-
"501": "Not Implemented",
|
|
11548
|
-
"502": "Bad Gateway",
|
|
11549
|
-
"503": "Service Unavailable",
|
|
11550
|
-
"504": "Gateway Timeout",
|
|
11551
|
-
"505": "HTTP Version Not Supported",
|
|
11552
|
-
"506": "Variant Also Negotiates",
|
|
11553
|
-
"507": "Insufficient Storage",
|
|
11554
|
-
"508": "Loop Detected",
|
|
11555
|
-
"509": "Bandwidth Limit Exceeded",
|
|
11556
|
-
"510": "Not Extended",
|
|
11557
|
-
"511": "Network Authentication Required"
|
|
11558
|
-
};
|
|
11559
|
-
}
|
|
11560
|
-
});
|
|
11561
|
-
|
|
11562
|
-
// ../../node_modules/serve-static/node_modules/statuses/index.js
|
|
11563
|
-
var require_statuses2 = __commonJS({
|
|
11564
|
-
"../../node_modules/serve-static/node_modules/statuses/index.js"(exports2, module2) {
|
|
11565
|
-
"use strict";
|
|
11566
|
-
var codes = require_codes2();
|
|
11567
|
-
module2.exports = status;
|
|
11568
|
-
status.message = codes;
|
|
11569
|
-
status.code = createMessageToStatusCodeMap(codes);
|
|
11570
|
-
status.codes = createStatusCodeList(codes);
|
|
11571
|
-
status.redirect = {
|
|
11572
|
-
300: true,
|
|
11573
|
-
301: true,
|
|
11574
|
-
302: true,
|
|
11575
|
-
303: true,
|
|
11576
|
-
305: true,
|
|
11577
|
-
307: true,
|
|
11578
|
-
308: true
|
|
11579
|
-
};
|
|
11580
|
-
status.empty = {
|
|
11581
|
-
204: true,
|
|
11582
|
-
205: true,
|
|
11583
|
-
304: true
|
|
11584
|
-
};
|
|
11585
|
-
status.retry = {
|
|
11586
|
-
502: true,
|
|
11587
|
-
503: true,
|
|
11588
|
-
504: true
|
|
11589
|
-
};
|
|
11590
|
-
function createMessageToStatusCodeMap(codes2) {
|
|
11591
|
-
var map = {};
|
|
11592
|
-
Object.keys(codes2).forEach(function forEachCode(code) {
|
|
11593
|
-
var message = codes2[code];
|
|
11594
|
-
var status2 = Number(code);
|
|
11595
|
-
map[message.toLowerCase()] = status2;
|
|
11596
|
-
});
|
|
11597
|
-
return map;
|
|
11598
|
-
}
|
|
11599
|
-
function createStatusCodeList(codes2) {
|
|
11600
|
-
return Object.keys(codes2).map(function mapCode(code) {
|
|
11601
|
-
return Number(code);
|
|
11602
|
-
});
|
|
11603
|
-
}
|
|
11604
|
-
function getStatusCode(message) {
|
|
11605
|
-
var msg = message.toLowerCase();
|
|
11606
|
-
if (!Object.prototype.hasOwnProperty.call(status.code, msg)) {
|
|
11607
|
-
throw new Error('invalid status message: "' + message + '"');
|
|
11608
|
-
}
|
|
11609
|
-
return status.code[msg];
|
|
11610
|
-
}
|
|
11611
|
-
function getStatusMessage(code) {
|
|
11612
|
-
if (!Object.prototype.hasOwnProperty.call(status.message, code)) {
|
|
11613
|
-
throw new Error("invalid status code: " + code);
|
|
11614
|
-
}
|
|
11615
|
-
return status.message[code];
|
|
11616
|
-
}
|
|
11617
|
-
function status(code) {
|
|
11618
|
-
if (typeof code === "number") {
|
|
11619
|
-
return getStatusMessage(code);
|
|
11620
|
-
}
|
|
11621
|
-
if (typeof code !== "string") {
|
|
11622
|
-
throw new TypeError("code must be a number or string");
|
|
11623
|
-
}
|
|
11624
|
-
var n = parseInt(code, 10);
|
|
11625
|
-
if (!isNaN(n)) {
|
|
11626
|
-
return getStatusMessage(n);
|
|
11627
|
-
}
|
|
11628
|
-
return getStatusCode(code);
|
|
11629
|
-
}
|
|
11630
|
-
}
|
|
11631
|
-
});
|
|
11632
|
-
|
|
11633
11491
|
// ../../node_modules/serve-static/node_modules/send/index.js
|
|
11634
11492
|
var require_send = __commonJS({
|
|
11635
11493
|
"../../node_modules/serve-static/node_modules/send/index.js"(exports2, module2) {
|
|
@@ -11646,7 +11504,7 @@ var require_send = __commonJS({
|
|
|
11646
11504
|
var onFinished = require_on_finished();
|
|
11647
11505
|
var parseRange = require_range_parser();
|
|
11648
11506
|
var path = require("path");
|
|
11649
|
-
var statuses =
|
|
11507
|
+
var statuses = require_statuses();
|
|
11650
11508
|
var Stream = require("stream");
|
|
11651
11509
|
var util = require("util");
|
|
11652
11510
|
var extname = path.extname;
|
|
@@ -14054,7 +13912,7 @@ var require_types = __commonJS({
|
|
|
14054
13912
|
})(LogLevel || (exports2.LogLevel = LogLevel = {}));
|
|
14055
13913
|
var Transport = class {
|
|
14056
13914
|
/**
|
|
14057
|
-
* A utility copy method to make immutable, deep copies of objects
|
|
13915
|
+
* A utility copy method to make immutable, deep copies of objects.
|
|
14058
13916
|
*
|
|
14059
13917
|
* @param obj
|
|
14060
13918
|
* @returns a frozen deep clone of `obj`
|
|
@@ -14074,16 +13932,16 @@ var require_node2 = __commonJS({
|
|
|
14074
13932
|
}
|
|
14075
13933
|
});
|
|
14076
13934
|
|
|
14077
|
-
// ../../node_modules
|
|
13935
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/stream.js
|
|
14078
13936
|
var require_stream = __commonJS({
|
|
14079
|
-
"../../node_modules
|
|
13937
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2, module2) {
|
|
14080
13938
|
module2.exports = require("stream");
|
|
14081
13939
|
}
|
|
14082
13940
|
});
|
|
14083
13941
|
|
|
14084
|
-
// ../../node_modules
|
|
13942
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/destroy.js
|
|
14085
13943
|
var require_destroy = __commonJS({
|
|
14086
|
-
"../../node_modules
|
|
13944
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2, module2) {
|
|
14087
13945
|
"use strict";
|
|
14088
13946
|
function destroy(err, cb) {
|
|
14089
13947
|
var _this = this;
|
|
@@ -14170,9 +14028,9 @@ var require_destroy = __commonJS({
|
|
|
14170
14028
|
}
|
|
14171
14029
|
});
|
|
14172
14030
|
|
|
14173
|
-
// ../../node_modules
|
|
14031
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/errors.js
|
|
14174
14032
|
var require_errors = __commonJS({
|
|
14175
|
-
"../../node_modules
|
|
14033
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/errors.js"(exports2, module2) {
|
|
14176
14034
|
"use strict";
|
|
14177
14035
|
var codes = {};
|
|
14178
14036
|
function createErrorType(code, message, Base) {
|
|
@@ -14270,9 +14128,9 @@ var require_errors = __commonJS({
|
|
|
14270
14128
|
}
|
|
14271
14129
|
});
|
|
14272
14130
|
|
|
14273
|
-
// ../../node_modules
|
|
14131
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/state.js
|
|
14274
14132
|
var require_state = __commonJS({
|
|
14275
|
-
"../../node_modules
|
|
14133
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/state.js"(exports2, module2) {
|
|
14276
14134
|
"use strict";
|
|
14277
14135
|
var ERR_INVALID_OPT_VALUE = require_errors().codes.ERR_INVALID_OPT_VALUE;
|
|
14278
14136
|
function highWaterMarkFrom(options, isDuplex, duplexKey) {
|
|
@@ -14295,9 +14153,9 @@ var require_state = __commonJS({
|
|
|
14295
14153
|
}
|
|
14296
14154
|
});
|
|
14297
14155
|
|
|
14298
|
-
// ../../node_modules
|
|
14156
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/buffer_list.js
|
|
14299
14157
|
var require_buffer_list = __commonJS({
|
|
14300
|
-
"../../node_modules
|
|
14158
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/buffer_list.js"(exports2, module2) {
|
|
14301
14159
|
"use strict";
|
|
14302
14160
|
function ownKeys(object, enumerableOnly) {
|
|
14303
14161
|
var keys = Object.keys(object);
|
|
@@ -14826,9 +14684,9 @@ var require_string_decoder = __commonJS({
|
|
|
14826
14684
|
}
|
|
14827
14685
|
});
|
|
14828
14686
|
|
|
14829
|
-
// ../../node_modules
|
|
14687
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/end-of-stream.js
|
|
14830
14688
|
var require_end_of_stream = __commonJS({
|
|
14831
|
-
"../../node_modules
|
|
14689
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports2, module2) {
|
|
14832
14690
|
"use strict";
|
|
14833
14691
|
var ERR_STREAM_PREMATURE_CLOSE = require_errors().codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
14834
14692
|
function once(callback) {
|
|
@@ -14915,9 +14773,9 @@ var require_end_of_stream = __commonJS({
|
|
|
14915
14773
|
}
|
|
14916
14774
|
});
|
|
14917
14775
|
|
|
14918
|
-
// ../../node_modules
|
|
14776
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/async_iterator.js
|
|
14919
14777
|
var require_async_iterator = __commonJS({
|
|
14920
|
-
"../../node_modules
|
|
14778
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/async_iterator.js"(exports2, module2) {
|
|
14921
14779
|
"use strict";
|
|
14922
14780
|
var _Object$setPrototypeO;
|
|
14923
14781
|
function _defineProperty(obj, key, value) {
|
|
@@ -15083,9 +14941,9 @@ var require_async_iterator = __commonJS({
|
|
|
15083
14941
|
}
|
|
15084
14942
|
});
|
|
15085
14943
|
|
|
15086
|
-
// ../../node_modules
|
|
14944
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/from.js
|
|
15087
14945
|
var require_from = __commonJS({
|
|
15088
|
-
"../../node_modules
|
|
14946
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/internal/streams/from.js"(exports2, module2) {
|
|
15089
14947
|
"use strict";
|
|
15090
14948
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
15091
14949
|
try {
|
|
@@ -15196,9 +15054,9 @@ var require_from = __commonJS({
|
|
|
15196
15054
|
}
|
|
15197
15055
|
});
|
|
15198
15056
|
|
|
15199
|
-
// ../../node_modules
|
|
15057
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/_stream_readable.js
|
|
15200
15058
|
var require_stream_readable = __commonJS({
|
|
15201
|
-
"../../node_modules
|
|
15059
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/_stream_readable.js"(exports2, module2) {
|
|
15202
15060
|
"use strict";
|
|
15203
15061
|
module2.exports = Readable;
|
|
15204
15062
|
var Duplex;
|
|
@@ -15933,9 +15791,9 @@ var require_stream_readable = __commonJS({
|
|
|
15933
15791
|
}
|
|
15934
15792
|
});
|
|
15935
15793
|
|
|
15936
|
-
// ../../node_modules
|
|
15794
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/_stream_duplex.js
|
|
15937
15795
|
var require_stream_duplex = __commonJS({
|
|
15938
|
-
"../../node_modules
|
|
15796
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/_stream_duplex.js"(exports2, module2) {
|
|
15939
15797
|
"use strict";
|
|
15940
15798
|
var objectKeys = Object.keys || function(obj) {
|
|
15941
15799
|
var keys2 = [];
|
|
@@ -16028,9 +15886,9 @@ var require_stream_duplex = __commonJS({
|
|
|
16028
15886
|
}
|
|
16029
15887
|
});
|
|
16030
15888
|
|
|
16031
|
-
// ../../node_modules
|
|
15889
|
+
// ../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/_stream_writable.js
|
|
16032
15890
|
var require_stream_writable = __commonJS({
|
|
16033
|
-
"../../node_modules
|
|
15891
|
+
"../../node_modules/@sap-ux/logger/node_modules/readable-stream/lib/_stream_writable.js"(exports2, module2) {
|
|
16034
15892
|
"use strict";
|
|
16035
15893
|
module2.exports = Writable;
|
|
16036
15894
|
function CorkedRequest(state) {
|
|
@@ -16617,9 +16475,9 @@ var require_triple_beam = __commonJS({
|
|
|
16617
16475
|
}
|
|
16618
16476
|
});
|
|
16619
16477
|
|
|
16620
|
-
// ../../node_modules/winston-transport/modern.js
|
|
16478
|
+
// ../../node_modules/@sap-ux/logger/node_modules/winston-transport/modern.js
|
|
16621
16479
|
var require_modern = __commonJS({
|
|
16622
|
-
"../../node_modules/winston-transport/modern.js"(exports2, module2) {
|
|
16480
|
+
"../../node_modules/@sap-ux/logger/node_modules/winston-transport/modern.js"(exports2, module2) {
|
|
16623
16481
|
"use strict";
|
|
16624
16482
|
var util = require("util");
|
|
16625
16483
|
var Writable = require_stream_writable();
|
|
@@ -16729,9 +16587,9 @@ var require_modern = __commonJS({
|
|
|
16729
16587
|
}
|
|
16730
16588
|
});
|
|
16731
16589
|
|
|
16732
|
-
// ../../node_modules/winston-transport/legacy.js
|
|
16590
|
+
// ../../node_modules/@sap-ux/logger/node_modules/winston-transport/legacy.js
|
|
16733
16591
|
var require_legacy = __commonJS({
|
|
16734
|
-
"../../node_modules/winston-transport/legacy.js"(exports2, module2) {
|
|
16592
|
+
"../../node_modules/@sap-ux/logger/node_modules/winston-transport/legacy.js"(exports2, module2) {
|
|
16735
16593
|
"use strict";
|
|
16736
16594
|
var util = require("util");
|
|
16737
16595
|
var { LEVEL } = require_triple_beam();
|
|
@@ -16795,9 +16653,9 @@ var require_legacy = __commonJS({
|
|
|
16795
16653
|
}
|
|
16796
16654
|
});
|
|
16797
16655
|
|
|
16798
|
-
// ../../node_modules/winston-transport/index.js
|
|
16656
|
+
// ../../node_modules/@sap-ux/logger/node_modules/winston-transport/index.js
|
|
16799
16657
|
var require_winston_transport = __commonJS({
|
|
16800
|
-
"../../node_modules/winston-transport/index.js"(exports2, module2) {
|
|
16658
|
+
"../../node_modules/@sap-ux/logger/node_modules/winston-transport/index.js"(exports2, module2) {
|
|
16801
16659
|
"use strict";
|
|
16802
16660
|
module2.exports = require_modern();
|
|
16803
16661
|
module2.exports.LegacyTransportStream = require_legacy();
|
|
@@ -16818,6 +16676,10 @@ var require_transport = __commonJS({
|
|
|
16818
16676
|
var ConsoleTransport = class _ConsoleTransport extends types_1.Transport {
|
|
16819
16677
|
static singletonInstance;
|
|
16820
16678
|
options;
|
|
16679
|
+
/**
|
|
16680
|
+
*
|
|
16681
|
+
* @param opts
|
|
16682
|
+
*/
|
|
16821
16683
|
constructor(opts = {}) {
|
|
16822
16684
|
super();
|
|
16823
16685
|
if (!_ConsoleTransport.singletonInstance) {
|
|
@@ -16831,6 +16693,10 @@ var require_transport = __commonJS({
|
|
|
16831
16693
|
var UI5ToolingTransport2 = class _UI5ToolingTransport extends types_1.Transport {
|
|
16832
16694
|
static instances = /* @__PURE__ */ new Map();
|
|
16833
16695
|
options;
|
|
16696
|
+
/**
|
|
16697
|
+
*
|
|
16698
|
+
* @param opts
|
|
16699
|
+
*/
|
|
16834
16700
|
constructor(opts) {
|
|
16835
16701
|
super();
|
|
16836
16702
|
const instance2 = _UI5ToolingTransport.instances.get(opts.moduleName);
|
|
@@ -16846,6 +16712,9 @@ var require_transport = __commonJS({
|
|
|
16846
16712
|
exports2.UI5ToolingTransport = UI5ToolingTransport2;
|
|
16847
16713
|
var NullTransport = class _NullTransport extends types_1.Transport {
|
|
16848
16714
|
static singletonInstance;
|
|
16715
|
+
/**
|
|
16716
|
+
*
|
|
16717
|
+
*/
|
|
16849
16718
|
constructor() {
|
|
16850
16719
|
super();
|
|
16851
16720
|
if (!_NullTransport.singletonInstance) {
|
|
@@ -16857,6 +16726,11 @@ var require_transport = __commonJS({
|
|
|
16857
16726
|
exports2.NullTransport = NullTransport;
|
|
16858
16727
|
var FileTransport = class extends types_1.Transport {
|
|
16859
16728
|
options;
|
|
16729
|
+
/**
|
|
16730
|
+
* Constructor for FileTransport, expects the options for the transport, file name is mandatory.
|
|
16731
|
+
*
|
|
16732
|
+
* @param opts - options for the transport
|
|
16733
|
+
*/
|
|
16860
16734
|
constructor(opts) {
|
|
16861
16735
|
super();
|
|
16862
16736
|
this.options = this.copy(opts);
|
|
@@ -16869,6 +16743,10 @@ var require_transport = __commonJS({
|
|
|
16869
16743
|
var VSCodeTransport = class _VSCodeTransport extends types_1.Transport {
|
|
16870
16744
|
static instances = /* @__PURE__ */ new Map();
|
|
16871
16745
|
options;
|
|
16746
|
+
/**
|
|
16747
|
+
*
|
|
16748
|
+
* @param opts
|
|
16749
|
+
*/
|
|
16872
16750
|
constructor(opts) {
|
|
16873
16751
|
super();
|
|
16874
16752
|
const instance2 = _VSCodeTransport.instances.get(opts.channelName);
|
|
@@ -16884,10 +16762,19 @@ var require_transport = __commonJS({
|
|
|
16884
16762
|
exports2.VSCodeTransport = VSCodeTransport;
|
|
16885
16763
|
var ArrayTransport = class extends winston_transport_1.default {
|
|
16886
16764
|
logs;
|
|
16765
|
+
/**
|
|
16766
|
+
*
|
|
16767
|
+
* @param opts
|
|
16768
|
+
*/
|
|
16887
16769
|
constructor(opts) {
|
|
16888
16770
|
super({ level: typeof (opts == null ? void 0 : opts.logLevel) === "number" ? types_1.LogLevel[opts.logLevel].toLowerCase() : "debug" });
|
|
16889
16771
|
this.logs = (opts == null ? void 0 : opts.logs) ?? [];
|
|
16890
16772
|
}
|
|
16773
|
+
/**
|
|
16774
|
+
*
|
|
16775
|
+
* @param info
|
|
16776
|
+
* @param next
|
|
16777
|
+
*/
|
|
16891
16778
|
log(info, next) {
|
|
16892
16779
|
this.logs.push(info);
|
|
16893
16780
|
next();
|
|
@@ -28661,14 +28548,14 @@ var require_adapter = __commonJS({
|
|
|
28661
28548
|
var transports_1 = require_transports();
|
|
28662
28549
|
var null_transport_1 = require_null_transport();
|
|
28663
28550
|
var vscode_output_channel_transport_1 = require_vscode_output_channel_transport();
|
|
28664
|
-
var
|
|
28551
|
+
var node_util_1 = require("node:util");
|
|
28665
28552
|
var chalk_1 = __importDefault(require_source());
|
|
28666
28553
|
function toWinstonLogLevel(logLevel) {
|
|
28667
28554
|
return logLevel === void 0 ? void 0 : types_1.LogLevel[logLevel].toLowerCase();
|
|
28668
28555
|
}
|
|
28669
28556
|
var toWinstonTransportOptions = (transportOptions) => {
|
|
28670
28557
|
const { logLevel, ...opts } = transportOptions;
|
|
28671
|
-
return
|
|
28558
|
+
return { ...opts, level: toWinstonLogLevel(logLevel) };
|
|
28672
28559
|
};
|
|
28673
28560
|
var levelColor = {
|
|
28674
28561
|
info: "green",
|
|
@@ -28687,7 +28574,7 @@ var require_adapter = __commonJS({
|
|
|
28687
28574
|
}
|
|
28688
28575
|
};
|
|
28689
28576
|
var ui5ToolingFormat = (moduleName) => winston_1.format.combine(winston_1.format.colorize(), winston_1.format.label({ label: moduleName }), winston_1.format.printf(({ level, message, label }) => {
|
|
28690
|
-
let msg = typeof message === "string" ? message : (0,
|
|
28577
|
+
let msg = typeof message === "string" ? message : (0, node_util_1.inspect)(message);
|
|
28691
28578
|
msg = msg.split(/\r?\n/).join(`
|
|
28692
28579
|
${level} ${chalk_1.default.magenta(label)} `);
|
|
28693
28580
|
return `${level} ${chalk_1.default.magenta(label)} ${msg}`;
|
|
@@ -28713,9 +28600,9 @@ ${level} ${chalk_1.default.magenta(label)} `);
|
|
|
28713
28600
|
return l;
|
|
28714
28601
|
};
|
|
28715
28602
|
var consoleFormat = winston_1.format.combine(winston_1.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }), winston_1.format.printf(({ timestamp, level, message, label, labelColor, ...meta }) => {
|
|
28716
|
-
const msg = typeof message === "string" ? message : (0,
|
|
28603
|
+
const msg = typeof message === "string" ? message : (0, node_util_1.inspect)(message);
|
|
28717
28604
|
const lvl = decorateLevel(level);
|
|
28718
|
-
return `${timestamp} ${lvl} ${decorateLabel(label, labelColor)}: ${msg} ${Object.keys(meta).length ? (0,
|
|
28605
|
+
return `${timestamp} ${lvl} ${decorateLabel(label, labelColor)}: ${msg} ${Object.keys(meta).length ? (0, node_util_1.inspect)(meta) : ""}`;
|
|
28719
28606
|
}));
|
|
28720
28607
|
function toWinstonTransport(transport) {
|
|
28721
28608
|
if (transport instanceof transports_1.NullTransport) {
|
|
@@ -28813,7 +28700,7 @@ var require_logger2 = __commonJS({
|
|
|
28813
28700
|
var winston_1 = __importStar(require_winston());
|
|
28814
28701
|
var adapter_1 = require_adapter();
|
|
28815
28702
|
var utils_1 = require_utils2();
|
|
28816
|
-
var
|
|
28703
|
+
var node_util_1 = require("node:util");
|
|
28817
28704
|
var defaultLoggerOptions = {
|
|
28818
28705
|
transports: [new transports_1.ConsoleTransport()]
|
|
28819
28706
|
};
|
|
@@ -28856,7 +28743,7 @@ var require_logger2 = __commonJS({
|
|
|
28856
28743
|
}
|
|
28857
28744
|
}
|
|
28858
28745
|
winstonLog({ level, message, metadata }) {
|
|
28859
|
-
const msg = typeof message === "string" ? message : (0,
|
|
28746
|
+
const msg = typeof message === "string" ? message : (0, node_util_1.inspect)(message);
|
|
28860
28747
|
this._logger.log(level, msg, metadata);
|
|
28861
28748
|
}
|
|
28862
28749
|
addToMap(transportMap, transport) {
|
|
@@ -28947,6 +28834,10 @@ var require_extension_logger = __commonJS({
|
|
|
28947
28834
|
var types_1 = require_types();
|
|
28948
28835
|
var adapter_1 = require_adapter();
|
|
28949
28836
|
var ExtensionLogger = class extends winston_logger_1.WinstonLogger {
|
|
28837
|
+
/**
|
|
28838
|
+
*
|
|
28839
|
+
* @param channelName
|
|
28840
|
+
*/
|
|
28950
28841
|
constructor(channelName) {
|
|
28951
28842
|
const vscodeTransport = new transports_1.VSCodeTransport({ channelName });
|
|
28952
28843
|
super({
|
|
@@ -31452,7 +31343,7 @@ var i18n_default = {
|
|
|
31452
31343
|
ERROR_READING_MANIFEST_JSON: "Error reading manifest.json from '{{manifestPath}}'. Error was : '{{message}}'.",
|
|
31453
31344
|
REMOVED_VERSION_INFO: "Version {{oldVersion}} is not available on the SAPUI5 SDK, using version {{newVersion}} instead.",
|
|
31454
31345
|
VERSION_NOT_MAINTAINED: "Version {{oldVersion}} is not listed as a maintained version on the SAPUI5 SDK.",
|
|
31455
|
-
ABAP_DEPLOYMENT_404_WARNING: "Request failed with status code 404. Guided Answers
|
|
31346
|
+
ABAP_DEPLOYMENT_404_WARNING: "Request failed with status code 404. For more information, see the Guided Answers guide: https://ga.support.sap.com/dtp/viewer/index.html#/tree/3046/actions/45995:45996:45999:46000:46002",
|
|
31456
31347
|
ABAP_UNDEPLOYMENT_404_WARNING: "The SAPUI5 ABAP repository with name {{name}} does not exist. Please check if it has already been undeployed.",
|
|
31457
31348
|
UI5_VERSION_CHECK_FAILED: "Unable to check if the {{version}} is available on the SAPUI5 SDK. Proceeding with loading the preview with this version.",
|
|
31458
31349
|
ARCHIVE_PATH_SUCCESSFULLY_GENERATED: "Archive successfully generated for deployment.",
|
|
@@ -31462,9 +31353,10 @@ var i18n_default = {
|
|
|
31462
31353
|
ERROR_NO_DEPLOY_CONFIG: "Error loading deployment configuration. Please ensure the YAML syntax and indentation is correct.",
|
|
31463
31354
|
TELEMETRY_CALL_FAILED: "Error while sending telemetry data",
|
|
31464
31355
|
ERROR_TRANSPORT_REQUEST_CREATION: "Transport request could not be created for application {{appName}}. Please create it manually and re-run deployment configuration for this project.",
|
|
31465
|
-
UPDATE_UI5_CLI: "The UI5 CLI version of the project is outdated. Please upgrade your project to UI5 CLI v4
|
|
31356
|
+
UPDATE_UI5_CLI: "The UI5 CLI version of the project is outdated. Please upgrade your project to UI5 CLI v4: https://ui5.github.io/cli/v4/updates/migrate-v4/.",
|
|
31466
31357
|
SERVE_STATIC_NO_CONFIG: "No configuration found for the fiori-tools-servestatic middleware",
|
|
31467
|
-
ABAP_DEPLOYMENT_403_WARNING: "Request failed with status code 403. Guided Answers
|
|
31358
|
+
ABAP_DEPLOYMENT_403_WARNING: "Request failed with status code 403. For more information, see the Guided Answers guide: {{helpLink}}",
|
|
31359
|
+
MISALIGNED_UI5_SAPUI5_VERSION: "The minimum SAPUI5 version in this application is not aligned with the SAPUI5 version in the manifest.json file. This may result in an invalid application being deployed. Are you sure you want to continue? (Y/n)?"
|
|
31468
31360
|
};
|
|
31469
31361
|
|
|
31470
31362
|
// src/i18n.ts
|
|
@@ -31611,14 +31503,6 @@ range-parser/index.js:
|
|
|
31611
31503
|
* MIT Licensed
|
|
31612
31504
|
*)
|
|
31613
31505
|
|
|
31614
|
-
statuses/index.js:
|
|
31615
|
-
(*!
|
|
31616
|
-
* statuses
|
|
31617
|
-
* Copyright(c) 2014 Jonathan Ong
|
|
31618
|
-
* Copyright(c) 2016 Douglas Christopher Wilson
|
|
31619
|
-
* MIT Licensed
|
|
31620
|
-
*)
|
|
31621
|
-
|
|
31622
31506
|
send/index.js:
|
|
31623
31507
|
(*!
|
|
31624
31508
|
* send
|