@sap/ux-ui5-tooling 1.9.5 → 1.9.6
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 +258 -66
- package/dist/middlewares/fiori-tools-preview.js +256 -64
- package/dist/middlewares/fiori-tools-proxy.js +266 -74
- package/dist/tasks/cf-deploy/index.js +258 -66
- package/dist/tasks/deploy/index.js +256 -64
- package/package.json +10 -10
|
@@ -32278,7 +32278,7 @@ var require_ui5AbapRepository = __commonJS({
|
|
|
32278
32278
|
}
|
|
32279
32279
|
return isExisting ? await httpClient.put(`/Repositories('${encodeURIComponent(appName)}')`, payload, config2) : await httpClient.post("/Repositories", payload, config2);
|
|
32280
32280
|
} catch (error5) {
|
|
32281
|
-
if (((_a2 = error5 == null ? void 0 : error5.response) == null ? void 0 : _a2.status)
|
|
32281
|
+
if ([504, 408].includes((_a2 = error5 == null ? void 0 : error5.response) == null ? void 0 : _a2.status)) {
|
|
32282
32282
|
if (tryCount >= 3) {
|
|
32283
32283
|
throw error5;
|
|
32284
32284
|
}
|
|
@@ -45674,9 +45674,9 @@ var require_async_hook = __commonJS({
|
|
|
45674
45674
|
}
|
|
45675
45675
|
});
|
|
45676
45676
|
|
|
45677
|
-
// ../../node_modules/stack-chain/package.json
|
|
45677
|
+
// ../../node_modules/async-hook-jl/node_modules/stack-chain/package.json
|
|
45678
45678
|
var require_package4 = __commonJS({
|
|
45679
|
-
"../../node_modules/stack-chain/package.json"(exports2, module2) {
|
|
45679
|
+
"../../node_modules/async-hook-jl/node_modules/stack-chain/package.json"(exports2, module2) {
|
|
45680
45680
|
module2.exports = {
|
|
45681
45681
|
name: "stack-chain",
|
|
45682
45682
|
description: "API for combining call site modifiers",
|
|
@@ -45706,9 +45706,9 @@ var require_package4 = __commonJS({
|
|
|
45706
45706
|
}
|
|
45707
45707
|
});
|
|
45708
45708
|
|
|
45709
|
-
// ../../node_modules/stack-chain/format.js
|
|
45709
|
+
// ../../node_modules/async-hook-jl/node_modules/stack-chain/format.js
|
|
45710
45710
|
var require_format = __commonJS({
|
|
45711
|
-
"../../node_modules/stack-chain/format.js"(exports2, module2) {
|
|
45711
|
+
"../../node_modules/async-hook-jl/node_modules/stack-chain/format.js"(exports2, module2) {
|
|
45712
45712
|
function FormatErrorString(error5) {
|
|
45713
45713
|
try {
|
|
45714
45714
|
return Error.prototype.toString.call(error5);
|
|
@@ -45742,9 +45742,9 @@ var require_format = __commonJS({
|
|
|
45742
45742
|
}
|
|
45743
45743
|
});
|
|
45744
45744
|
|
|
45745
|
-
// ../../node_modules/stack-chain/stack-chain.js
|
|
45745
|
+
// ../../node_modules/async-hook-jl/node_modules/stack-chain/stack-chain.js
|
|
45746
45746
|
var require_stack_chain = __commonJS({
|
|
45747
|
-
"../../node_modules/stack-chain/stack-chain.js"(exports2, module2) {
|
|
45747
|
+
"../../node_modules/async-hook-jl/node_modules/stack-chain/stack-chain.js"(exports2, module2) {
|
|
45748
45748
|
var defaultFormater = require_format();
|
|
45749
45749
|
function stackChain() {
|
|
45750
45750
|
this.extend = new TraceModifier();
|
|
@@ -45870,9 +45870,9 @@ var require_stack_chain = __commonJS({
|
|
|
45870
45870
|
}
|
|
45871
45871
|
});
|
|
45872
45872
|
|
|
45873
|
-
// ../../node_modules/stack-chain/index.js
|
|
45873
|
+
// ../../node_modules/async-hook-jl/node_modules/stack-chain/index.js
|
|
45874
45874
|
var require_stack_chain2 = __commonJS({
|
|
45875
|
-
"../../node_modules/stack-chain/index.js"(exports2, module2) {
|
|
45875
|
+
"../../node_modules/async-hook-jl/node_modules/stack-chain/index.js"(exports2, module2) {
|
|
45876
45876
|
if (global._stackChain) {
|
|
45877
45877
|
if (global._stackChain.version === require_package4().version) {
|
|
45878
45878
|
module2.exports = global._stackChain;
|
|
@@ -45909,6 +45909,210 @@ var require_async_hook_jl = __commonJS({
|
|
|
45909
45909
|
}
|
|
45910
45910
|
});
|
|
45911
45911
|
|
|
45912
|
+
// ../../node_modules/stack-chain/package.json
|
|
45913
|
+
var require_package5 = __commonJS({
|
|
45914
|
+
"../../node_modules/stack-chain/package.json"(exports2, module2) {
|
|
45915
|
+
module2.exports = {
|
|
45916
|
+
name: "stack-chain",
|
|
45917
|
+
description: "API for combining call site modifiers",
|
|
45918
|
+
version: "2.0.0",
|
|
45919
|
+
author: "Andreas Madsen <amwebdk@gmail.com>",
|
|
45920
|
+
scripts: {
|
|
45921
|
+
test: "tap ./test/simple/*"
|
|
45922
|
+
},
|
|
45923
|
+
repository: {
|
|
45924
|
+
type: "git",
|
|
45925
|
+
url: "git://github.com/AndreasMadsen/stack-chain.git"
|
|
45926
|
+
},
|
|
45927
|
+
keywords: [
|
|
45928
|
+
"stack",
|
|
45929
|
+
"chain",
|
|
45930
|
+
"trace",
|
|
45931
|
+
"call site",
|
|
45932
|
+
"concat",
|
|
45933
|
+
"format"
|
|
45934
|
+
],
|
|
45935
|
+
devDependencies: {
|
|
45936
|
+
tap: "2.x.x",
|
|
45937
|
+
"uglify-js": "2.5.x"
|
|
45938
|
+
},
|
|
45939
|
+
license: "MIT"
|
|
45940
|
+
};
|
|
45941
|
+
}
|
|
45942
|
+
});
|
|
45943
|
+
|
|
45944
|
+
// ../../node_modules/stack-chain/format.js
|
|
45945
|
+
var require_format2 = __commonJS({
|
|
45946
|
+
"../../node_modules/stack-chain/format.js"(exports2, module2) {
|
|
45947
|
+
function FormatErrorString(error5) {
|
|
45948
|
+
try {
|
|
45949
|
+
return Error.prototype.toString.call(error5);
|
|
45950
|
+
} catch (e) {
|
|
45951
|
+
try {
|
|
45952
|
+
return "<error: " + e + ">";
|
|
45953
|
+
} catch (ee) {
|
|
45954
|
+
return "<error>";
|
|
45955
|
+
}
|
|
45956
|
+
}
|
|
45957
|
+
}
|
|
45958
|
+
module2.exports = function FormatStackTrace(error5, frames) {
|
|
45959
|
+
var lines = [];
|
|
45960
|
+
lines.push(FormatErrorString(error5));
|
|
45961
|
+
for (var i = 0; i < frames.length; i++) {
|
|
45962
|
+
var frame = frames[i];
|
|
45963
|
+
var line;
|
|
45964
|
+
try {
|
|
45965
|
+
line = frame.toString();
|
|
45966
|
+
} catch (e) {
|
|
45967
|
+
try {
|
|
45968
|
+
line = "<error: " + e + ">";
|
|
45969
|
+
} catch (ee) {
|
|
45970
|
+
line = "<error>";
|
|
45971
|
+
}
|
|
45972
|
+
}
|
|
45973
|
+
lines.push(" at " + line);
|
|
45974
|
+
}
|
|
45975
|
+
return lines.join("\n");
|
|
45976
|
+
};
|
|
45977
|
+
}
|
|
45978
|
+
});
|
|
45979
|
+
|
|
45980
|
+
// ../../node_modules/stack-chain/stack-chain.js
|
|
45981
|
+
var require_stack_chain3 = __commonJS({
|
|
45982
|
+
"../../node_modules/stack-chain/stack-chain.js"(exports2, module2) {
|
|
45983
|
+
var defaultFormater = require_format2();
|
|
45984
|
+
var originalCallSiteSymbol = Symbol("originalCallSite");
|
|
45985
|
+
var mutatedCallSiteSymbol = Symbol("mutatedCallSite");
|
|
45986
|
+
function stackChain() {
|
|
45987
|
+
this.extend = new TraceModifier();
|
|
45988
|
+
this.filter = new TraceModifier();
|
|
45989
|
+
this.format = new StackFormater();
|
|
45990
|
+
this.version = require_package5().version;
|
|
45991
|
+
}
|
|
45992
|
+
var SHORTCIRCUIT_CALLSITE = false;
|
|
45993
|
+
stackChain.prototype.callSite = function collectCallSites(options2) {
|
|
45994
|
+
if (!options2)
|
|
45995
|
+
options2 = {};
|
|
45996
|
+
SHORTCIRCUIT_CALLSITE = true;
|
|
45997
|
+
var obj = {};
|
|
45998
|
+
Error.captureStackTrace(obj, collectCallSites);
|
|
45999
|
+
var callSites = obj.stack;
|
|
46000
|
+
SHORTCIRCUIT_CALLSITE = false;
|
|
46001
|
+
callSites = callSites.slice(options2.slice || 0);
|
|
46002
|
+
if (options2.extend)
|
|
46003
|
+
callSites = this.extend._modify(obj, callSites);
|
|
46004
|
+
if (options2.filter)
|
|
46005
|
+
callSites = this.filter._modify(obj, callSites);
|
|
46006
|
+
return callSites;
|
|
46007
|
+
};
|
|
46008
|
+
stackChain.prototype.originalCallSite = function(error5) {
|
|
46009
|
+
error5.stack;
|
|
46010
|
+
return error5[originalCallSiteSymbol];
|
|
46011
|
+
};
|
|
46012
|
+
stackChain.prototype.mutatedCallSite = function(error5) {
|
|
46013
|
+
error5.stack;
|
|
46014
|
+
return error5[mutatedCallSiteSymbol];
|
|
46015
|
+
};
|
|
46016
|
+
var chain = new stackChain();
|
|
46017
|
+
function TraceModifier() {
|
|
46018
|
+
this._modifiers = [];
|
|
46019
|
+
}
|
|
46020
|
+
TraceModifier.prototype._modify = function(error5, frames) {
|
|
46021
|
+
for (var i = 0, l = this._modifiers.length; i < l; i++) {
|
|
46022
|
+
frames = this._modifiers[i](error5, frames);
|
|
46023
|
+
}
|
|
46024
|
+
return frames;
|
|
46025
|
+
};
|
|
46026
|
+
TraceModifier.prototype.attach = function(modifier) {
|
|
46027
|
+
this._modifiers.push(modifier);
|
|
46028
|
+
};
|
|
46029
|
+
TraceModifier.prototype.deattach = function(modifier) {
|
|
46030
|
+
var index = this._modifiers.indexOf(modifier);
|
|
46031
|
+
if (index === -1)
|
|
46032
|
+
return false;
|
|
46033
|
+
this._modifiers.splice(index, 1);
|
|
46034
|
+
return true;
|
|
46035
|
+
};
|
|
46036
|
+
function StackFormater() {
|
|
46037
|
+
this._formater = defaultFormater;
|
|
46038
|
+
this._previous = void 0;
|
|
46039
|
+
}
|
|
46040
|
+
StackFormater.prototype.replace = function(formater) {
|
|
46041
|
+
if (formater) {
|
|
46042
|
+
this._formater = formater;
|
|
46043
|
+
} else {
|
|
46044
|
+
this.restore();
|
|
46045
|
+
}
|
|
46046
|
+
};
|
|
46047
|
+
StackFormater.prototype.restore = function() {
|
|
46048
|
+
this._formater = defaultFormater;
|
|
46049
|
+
this._previous = void 0;
|
|
46050
|
+
};
|
|
46051
|
+
StackFormater.prototype._backup = function() {
|
|
46052
|
+
this._previous = this._formater;
|
|
46053
|
+
};
|
|
46054
|
+
StackFormater.prototype._roolback = function() {
|
|
46055
|
+
if (this._previous === defaultFormater) {
|
|
46056
|
+
this.replace(void 0);
|
|
46057
|
+
} else {
|
|
46058
|
+
this.replace(this._previous);
|
|
46059
|
+
}
|
|
46060
|
+
this._previous = void 0;
|
|
46061
|
+
};
|
|
46062
|
+
if (Error.prepareStackTrace) {
|
|
46063
|
+
chain.format.replace(Error.prepareStackTrace);
|
|
46064
|
+
}
|
|
46065
|
+
var SHORTCIRCUIT_FORMATER = false;
|
|
46066
|
+
function prepareStackTrace(error5, originalFrames) {
|
|
46067
|
+
if (SHORTCIRCUIT_CALLSITE)
|
|
46068
|
+
return originalFrames;
|
|
46069
|
+
if (SHORTCIRCUIT_FORMATER)
|
|
46070
|
+
return defaultFormater(error5, originalFrames);
|
|
46071
|
+
var frames = originalFrames.concat();
|
|
46072
|
+
frames = chain.extend._modify(error5, frames);
|
|
46073
|
+
frames = chain.filter._modify(error5, frames);
|
|
46074
|
+
frames = frames.slice(0, Error.stackTraceLimit);
|
|
46075
|
+
if (Object.isExtensible(error5)) {
|
|
46076
|
+
error5[originalCallSiteSymbol] = originalFrames;
|
|
46077
|
+
error5[mutatedCallSiteSymbol] = frames;
|
|
46078
|
+
}
|
|
46079
|
+
SHORTCIRCUIT_FORMATER = true;
|
|
46080
|
+
var format2 = chain.format._formater(error5, frames);
|
|
46081
|
+
SHORTCIRCUIT_FORMATER = false;
|
|
46082
|
+
return format2;
|
|
46083
|
+
}
|
|
46084
|
+
Object.defineProperty(Error, "prepareStackTrace", {
|
|
46085
|
+
"get": function() {
|
|
46086
|
+
return prepareStackTrace;
|
|
46087
|
+
},
|
|
46088
|
+
"set": function(formater) {
|
|
46089
|
+
if (formater === prepareStackTrace) {
|
|
46090
|
+
chain.format._roolback();
|
|
46091
|
+
} else {
|
|
46092
|
+
chain.format._backup();
|
|
46093
|
+
chain.format.replace(formater);
|
|
46094
|
+
}
|
|
46095
|
+
}
|
|
46096
|
+
});
|
|
46097
|
+
module2.exports = chain;
|
|
46098
|
+
}
|
|
46099
|
+
});
|
|
46100
|
+
|
|
46101
|
+
// ../../node_modules/stack-chain/index.js
|
|
46102
|
+
var require_stack_chain4 = __commonJS({
|
|
46103
|
+
"../../node_modules/stack-chain/index.js"(exports2, module2) {
|
|
46104
|
+
if (global._stackChain) {
|
|
46105
|
+
if (global._stackChain.version === require_package5().version) {
|
|
46106
|
+
module2.exports = global._stackChain;
|
|
46107
|
+
} else {
|
|
46108
|
+
throw new Error("Conflicting version of stack-chain found");
|
|
46109
|
+
}
|
|
46110
|
+
} else {
|
|
46111
|
+
module2.exports = global._stackChain = require_stack_chain3();
|
|
46112
|
+
}
|
|
46113
|
+
}
|
|
46114
|
+
});
|
|
46115
|
+
|
|
45912
46116
|
// ../../node_modules/cls-hooked/context-legacy.js
|
|
45913
46117
|
var require_context_legacy = __commonJS({
|
|
45914
46118
|
"../../node_modules/cls-hooked/context-legacy.js"(exports2, module2) {
|
|
@@ -46212,7 +46416,7 @@ var require_context_legacy = __commonJS({
|
|
|
46212
46416
|
}
|
|
46213
46417
|
}
|
|
46214
46418
|
if (DEBUG_CLS_HOOKED) {
|
|
46215
|
-
stackChain =
|
|
46419
|
+
stackChain = require_stack_chain4();
|
|
46216
46420
|
for (modifier in stackChain.filter._modifiers) {
|
|
46217
46421
|
stackChain.filter.deattach(modifier);
|
|
46218
46422
|
}
|
|
@@ -53002,11 +53206,11 @@ var require_applicationinsights = __commonJS({
|
|
|
53002
53206
|
});
|
|
53003
53207
|
|
|
53004
53208
|
// ../lib/telemetry/dist/package.json
|
|
53005
|
-
var
|
|
53209
|
+
var require_package6 = __commonJS({
|
|
53006
53210
|
"../lib/telemetry/dist/package.json"(exports2, module2) {
|
|
53007
53211
|
module2.exports = {
|
|
53008
53212
|
name: "@sap/ux-telemetry",
|
|
53009
|
-
version: "1.9.
|
|
53213
|
+
version: "1.9.6",
|
|
53010
53214
|
description: "SAP Fiori tools telemetry library",
|
|
53011
53215
|
main: "dist/src/index.js",
|
|
53012
53216
|
author: "SAP SE",
|
|
@@ -53031,10 +53235,10 @@ var require_package5 = __commonJS({
|
|
|
53031
53235
|
},
|
|
53032
53236
|
dependencies: {
|
|
53033
53237
|
"@sap-ux/store": "0.3.8",
|
|
53034
|
-
"@sap/ux-cds": "1.9.
|
|
53035
|
-
"@sap/ux-common-utils": "1.9.
|
|
53036
|
-
"@sap/ux-feature-toggle": "1.9.
|
|
53037
|
-
"@sap/ux-project-access": "1.9.
|
|
53238
|
+
"@sap/ux-cds": "1.9.6",
|
|
53239
|
+
"@sap/ux-common-utils": "1.9.6",
|
|
53240
|
+
"@sap/ux-feature-toggle": "1.9.6",
|
|
53241
|
+
"@sap/ux-project-access": "1.9.6",
|
|
53038
53242
|
applicationinsights: "1.4.1",
|
|
53039
53243
|
axios: "0.26.0",
|
|
53040
53244
|
"performance-now": "2.1.0",
|
|
@@ -53044,7 +53248,7 @@ var require_package5 = __commonJS({
|
|
|
53044
53248
|
memfs: "3.4.13",
|
|
53045
53249
|
"ts-jest": "29.0.5",
|
|
53046
53250
|
"ts-node": "8.5.2",
|
|
53047
|
-
typescript: "4.9.
|
|
53251
|
+
typescript: "4.9.5",
|
|
53048
53252
|
unionfs: "4.4.0"
|
|
53049
53253
|
},
|
|
53050
53254
|
files: [
|
|
@@ -53136,7 +53340,7 @@ var require_reporting = __commonJS({
|
|
|
53136
53340
|
exports2.reportEnableTelemetryOnOff = exports2.reportRuntimeError = void 0;
|
|
53137
53341
|
var EventName_1 = require_EventName();
|
|
53138
53342
|
var appInsights = __importStar(require_applicationinsights());
|
|
53139
|
-
var telemetryPackageJSON = __importStar(
|
|
53343
|
+
var telemetryPackageJSON = __importStar(require_package6());
|
|
53140
53344
|
var telemetryClientConfig_1 = require_telemetryClientConfig();
|
|
53141
53345
|
var parseErrorStack = (errorStack) => {
|
|
53142
53346
|
const regexps = [/sap-ux.+/gi, /[a-zA-Z-]+\/ide-extension\/.+/gi, /(\/telemetry\/.+)/gi];
|
|
@@ -63287,7 +63491,7 @@ var require_info2 = __commonJS({
|
|
|
63287
63491
|
});
|
|
63288
63492
|
|
|
63289
63493
|
// ../../node_modules/@sap-ux/project-access/dist/types/package/index.js
|
|
63290
|
-
var
|
|
63494
|
+
var require_package7 = __commonJS({
|
|
63291
63495
|
"../../node_modules/@sap-ux/project-access/dist/types/package/index.js"(exports2) {
|
|
63292
63496
|
"use strict";
|
|
63293
63497
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
@@ -63338,7 +63542,7 @@ var require_types5 = __commonJS({
|
|
|
63338
63542
|
__exportStar(require_cap2(), exports2);
|
|
63339
63543
|
__exportStar(require_find(), exports2);
|
|
63340
63544
|
__exportStar(require_info2(), exports2);
|
|
63341
|
-
__exportStar(
|
|
63545
|
+
__exportStar(require_package7(), exports2);
|
|
63342
63546
|
__exportStar(require_vscode(), exports2);
|
|
63343
63547
|
__exportStar(require_webapp3(), exports2);
|
|
63344
63548
|
}
|
|
@@ -63639,37 +63843,32 @@ var require_utils9 = __commonJS({
|
|
|
63639
63843
|
try {
|
|
63640
63844
|
await findProject(root, projects);
|
|
63641
63845
|
} catch (error5) {
|
|
63642
|
-
|
|
63643
|
-
root,
|
|
63644
|
-
error: error5.message
|
|
63645
|
-
});
|
|
63646
|
-
if (logger) {
|
|
63647
|
-
logger.error(errorMessage);
|
|
63648
|
-
} else {
|
|
63649
|
-
console.error(errorMessage);
|
|
63650
|
-
}
|
|
63846
|
+
logError(error5, "ERROR_PROJECT_ROOT_WORKSPACE", logger);
|
|
63651
63847
|
}
|
|
63652
63848
|
}
|
|
63653
63849
|
return projects;
|
|
63654
63850
|
}
|
|
63655
|
-
|
|
63851
|
+
function logError(error5, i18nText, logger) {
|
|
63852
|
+
const errorMessage = i18n_1.i18n.t(i18nText, {
|
|
63853
|
+
error: error5.message
|
|
63854
|
+
});
|
|
63855
|
+
if (logger) {
|
|
63856
|
+
logger.error(errorMessage);
|
|
63857
|
+
} else {
|
|
63858
|
+
console.error(errorMessage);
|
|
63859
|
+
}
|
|
63860
|
+
}
|
|
63861
|
+
async function findAllProjectRoots(wsFolders, sapuxRequired = true, logger, includeAdaptationProjects) {
|
|
63656
63862
|
const projects = await findAllPackageJsonFolders(wsFolders, logger);
|
|
63657
63863
|
if (sapuxRequired) {
|
|
63658
63864
|
const sapuxProjects = [];
|
|
63659
63865
|
for (const root of projects) {
|
|
63660
63866
|
try {
|
|
63661
|
-
if ((await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package))).sapux) {
|
|
63867
|
+
if ((await (0, file_1.readJSON)((0, path_1.join)(root, project_spec_1.FileName.Package))).sapux || includeAdaptationProjects && await isAdaptationProject(root)) {
|
|
63662
63868
|
sapuxProjects.push(root);
|
|
63663
63869
|
}
|
|
63664
63870
|
} catch (error5) {
|
|
63665
|
-
|
|
63666
|
-
error: error5.message
|
|
63667
|
-
});
|
|
63668
|
-
if (logger) {
|
|
63669
|
-
logger.error(errorMessage);
|
|
63670
|
-
} else {
|
|
63671
|
-
console.error(errorMessage);
|
|
63672
|
-
}
|
|
63871
|
+
logError(error5, "ERROR_INVALID_PACKAGE_JSON", logger);
|
|
63673
63872
|
}
|
|
63674
63873
|
}
|
|
63675
63874
|
return sapuxProjects;
|
|
@@ -63814,14 +64013,7 @@ var require_utils9 = __commonJS({
|
|
|
63814
64013
|
result2.push(root);
|
|
63815
64014
|
}
|
|
63816
64015
|
} catch (error5) {
|
|
63817
|
-
|
|
63818
|
-
root
|
|
63819
|
-
});
|
|
63820
|
-
if (logger) {
|
|
63821
|
-
logger.error(errorMessage);
|
|
63822
|
-
} else {
|
|
63823
|
-
console.error(errorMessage);
|
|
63824
|
-
}
|
|
64016
|
+
logError(error5, "ERROR_INVALIND_PACKAGE_JSON_FOR_APP", logger);
|
|
63825
64017
|
}
|
|
63826
64018
|
}
|
|
63827
64019
|
return result2;
|
|
@@ -72042,7 +72234,7 @@ var require_transports = __commonJS({
|
|
|
72042
72234
|
});
|
|
72043
72235
|
|
|
72044
72236
|
// ../../node_modules/logform/format.js
|
|
72045
|
-
var
|
|
72237
|
+
var require_format3 = __commonJS({
|
|
72046
72238
|
"../../node_modules/logform/format.js"(exports2, module2) {
|
|
72047
72239
|
"use strict";
|
|
72048
72240
|
var InvalidFormatError = class extends Error {
|
|
@@ -72803,7 +72995,7 @@ var require_levels = __commonJS({
|
|
|
72803
72995
|
var require_align = __commonJS({
|
|
72804
72996
|
"../../node_modules/logform/align.js"(exports2, module2) {
|
|
72805
72997
|
"use strict";
|
|
72806
|
-
var format2 =
|
|
72998
|
+
var format2 = require_format3();
|
|
72807
72999
|
module2.exports = format2((info) => {
|
|
72808
73000
|
info.message = ` ${info.message}`;
|
|
72809
73001
|
return info;
|
|
@@ -72815,7 +73007,7 @@ var require_align = __commonJS({
|
|
|
72815
73007
|
var require_errors4 = __commonJS({
|
|
72816
73008
|
"../../node_modules/logform/errors.js"(exports2, module2) {
|
|
72817
73009
|
"use strict";
|
|
72818
|
-
var format2 =
|
|
73010
|
+
var format2 = require_format3();
|
|
72819
73011
|
var { LEVEL, MESSAGE } = require_triple_beam();
|
|
72820
73012
|
module2.exports = format2((einfo, { stack }) => {
|
|
72821
73013
|
if (einfo instanceof Error) {
|
|
@@ -72913,7 +73105,7 @@ var require_cli3 = __commonJS({
|
|
|
72913
73105
|
var require_combine = __commonJS({
|
|
72914
73106
|
"../../node_modules/logform/combine.js"(exports2, module2) {
|
|
72915
73107
|
"use strict";
|
|
72916
|
-
var format2 =
|
|
73108
|
+
var format2 = require_format3();
|
|
72917
73109
|
function cascade(formats) {
|
|
72918
73110
|
if (!formats.every(isValidFormat)) {
|
|
72919
73111
|
return;
|
|
@@ -73612,7 +73804,7 @@ ${originalIndentation}`;
|
|
|
73612
73804
|
var require_json = __commonJS({
|
|
73613
73805
|
"../../node_modules/logform/json.js"(exports2, module2) {
|
|
73614
73806
|
"use strict";
|
|
73615
|
-
var format2 =
|
|
73807
|
+
var format2 = require_format3();
|
|
73616
73808
|
var { MESSAGE } = require_triple_beam();
|
|
73617
73809
|
var stringify = require_safe_stable_stringify();
|
|
73618
73810
|
function replacer(key, value) {
|
|
@@ -73632,7 +73824,7 @@ var require_json = __commonJS({
|
|
|
73632
73824
|
var require_label = __commonJS({
|
|
73633
73825
|
"../../node_modules/logform/label.js"(exports2, module2) {
|
|
73634
73826
|
"use strict";
|
|
73635
|
-
var format2 =
|
|
73827
|
+
var format2 = require_format3();
|
|
73636
73828
|
module2.exports = format2((info, opts) => {
|
|
73637
73829
|
if (opts.message) {
|
|
73638
73830
|
info.message = `[${opts.label}] ${info.message}`;
|
|
@@ -73648,7 +73840,7 @@ var require_label = __commonJS({
|
|
|
73648
73840
|
var require_logstash = __commonJS({
|
|
73649
73841
|
"../../node_modules/logform/logstash.js"(exports2, module2) {
|
|
73650
73842
|
"use strict";
|
|
73651
|
-
var format2 =
|
|
73843
|
+
var format2 = require_format3();
|
|
73652
73844
|
var { MESSAGE } = require_triple_beam();
|
|
73653
73845
|
var jsonStringify = require_safe_stable_stringify();
|
|
73654
73846
|
module2.exports = format2((info) => {
|
|
@@ -73672,7 +73864,7 @@ var require_logstash = __commonJS({
|
|
|
73672
73864
|
var require_metadata2 = __commonJS({
|
|
73673
73865
|
"../../node_modules/logform/metadata.js"(exports2, module2) {
|
|
73674
73866
|
"use strict";
|
|
73675
|
-
var format2 =
|
|
73867
|
+
var format2 = require_format3();
|
|
73676
73868
|
function fillExcept(info, fillExceptKeys, metadataKey) {
|
|
73677
73869
|
const savedKeys = fillExceptKeys.reduce((acc, key) => {
|
|
73678
73870
|
acc[key] = info[key];
|
|
@@ -73725,7 +73917,7 @@ var require_metadata2 = __commonJS({
|
|
|
73725
73917
|
var require_ms2 = __commonJS({
|
|
73726
73918
|
"../../node_modules/logform/ms.js"(exports2, module2) {
|
|
73727
73919
|
"use strict";
|
|
73728
|
-
var format2 =
|
|
73920
|
+
var format2 = require_format3();
|
|
73729
73921
|
var ms = require_ms();
|
|
73730
73922
|
module2.exports = format2((info) => {
|
|
73731
73923
|
const curr = +new Date();
|
|
@@ -73742,7 +73934,7 @@ var require_pretty_print = __commonJS({
|
|
|
73742
73934
|
"../../node_modules/logform/pretty-print.js"(exports2, module2) {
|
|
73743
73935
|
"use strict";
|
|
73744
73936
|
var inspect = require("util").inspect;
|
|
73745
|
-
var format2 =
|
|
73937
|
+
var format2 = require_format3();
|
|
73746
73938
|
var { LEVEL, MESSAGE, SPLAT } = require_triple_beam();
|
|
73747
73939
|
module2.exports = format2((info, opts = {}) => {
|
|
73748
73940
|
const stripped = Object.assign({}, info);
|
|
@@ -73778,7 +73970,7 @@ var require_printf = __commonJS({
|
|
|
73778
73970
|
var require_simple = __commonJS({
|
|
73779
73971
|
"../../node_modules/logform/simple.js"(exports2, module2) {
|
|
73780
73972
|
"use strict";
|
|
73781
|
-
var format2 =
|
|
73973
|
+
var format2 = require_format3();
|
|
73782
73974
|
var { MESSAGE } = require_triple_beam();
|
|
73783
73975
|
var jsonStringify = require_safe_stable_stringify();
|
|
73784
73976
|
module2.exports = format2((info) => {
|
|
@@ -74267,7 +74459,7 @@ var require_timestamp2 = __commonJS({
|
|
|
74267
74459
|
"../../node_modules/logform/timestamp.js"(exports2, module2) {
|
|
74268
74460
|
"use strict";
|
|
74269
74461
|
var fecha2 = (init_fecha(), __toCommonJS(fecha_exports));
|
|
74270
|
-
var format2 =
|
|
74462
|
+
var format2 = require_format3();
|
|
74271
74463
|
module2.exports = format2((info, opts = {}) => {
|
|
74272
74464
|
if (opts.format) {
|
|
74273
74465
|
info.timestamp = typeof opts.format === "function" ? opts.format() : fecha2.format(new Date(), opts.format);
|
|
@@ -74288,7 +74480,7 @@ var require_uncolorize = __commonJS({
|
|
|
74288
74480
|
"../../node_modules/logform/uncolorize.js"(exports2, module2) {
|
|
74289
74481
|
"use strict";
|
|
74290
74482
|
var colors = require_safe();
|
|
74291
|
-
var format2 =
|
|
74483
|
+
var format2 = require_format3();
|
|
74292
74484
|
var { MESSAGE } = require_triple_beam();
|
|
74293
74485
|
module2.exports = format2((info, opts) => {
|
|
74294
74486
|
if (opts.level !== false) {
|
|
@@ -74309,7 +74501,7 @@ var require_uncolorize = __commonJS({
|
|
|
74309
74501
|
var require_logform = __commonJS({
|
|
74310
74502
|
"../../node_modules/logform/index.js"(exports2) {
|
|
74311
74503
|
"use strict";
|
|
74312
|
-
var format2 = exports2.format =
|
|
74504
|
+
var format2 = exports2.format = require_format3();
|
|
74313
74505
|
exports2.levels = require_levels();
|
|
74314
74506
|
function exposeFormat(name2, requireFormat) {
|
|
74315
74507
|
Object.defineProperty(format2, name2, {
|
|
@@ -74425,7 +74617,7 @@ var require_common8 = __commonJS({
|
|
|
74425
74617
|
});
|
|
74426
74618
|
|
|
74427
74619
|
// ../../node_modules/winston/package.json
|
|
74428
|
-
var
|
|
74620
|
+
var require_package8 = __commonJS({
|
|
74429
74621
|
"../../node_modules/winston/package.json"(exports2, module2) {
|
|
74430
74622
|
module2.exports = {
|
|
74431
74623
|
name: "winston",
|
|
@@ -81605,7 +81797,7 @@ var require_winston = __commonJS({
|
|
|
81605
81797
|
"use strict";
|
|
81606
81798
|
var logform = require_logform();
|
|
81607
81799
|
var { warn: warn5 } = require_common8();
|
|
81608
|
-
exports2.version =
|
|
81800
|
+
exports2.version = require_package8().version;
|
|
81609
81801
|
exports2.transports = require_transports2();
|
|
81610
81802
|
exports2.config = require_config3();
|
|
81611
81803
|
exports2.addColors = logform.levels;
|
|
@@ -82732,7 +82924,7 @@ var require_client3 = __commonJS({
|
|
|
82732
82924
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
82733
82925
|
exports2.ClientFactory = void 0;
|
|
82734
82926
|
var system_1 = require_system3();
|
|
82735
|
-
var telemetryPackageJSON = __importStar(
|
|
82927
|
+
var telemetryPackageJSON = __importStar(require_package6());
|
|
82736
82928
|
var toolsSuiteTelemetry_1 = require_toolsSuiteTelemetry();
|
|
82737
82929
|
var ClientFactory2 = class {
|
|
82738
82930
|
static getTelemetryClient() {
|
|
@@ -104062,9 +104254,9 @@ var require_abap = __commonJS({
|
|
|
104062
104254
|
}
|
|
104063
104255
|
});
|
|
104064
104256
|
|
|
104065
|
-
// ../../node_modules/@sap-ux/
|
|
104257
|
+
// ../../node_modules/@sap-ux/btp-utils/dist/app-studio.env.js
|
|
104066
104258
|
var require_app_studio_env = __commonJS({
|
|
104067
|
-
"../../node_modules/@sap-ux/
|
|
104259
|
+
"../../node_modules/@sap-ux/btp-utils/dist/app-studio.env.js"(exports2) {
|
|
104068
104260
|
"use strict";
|
|
104069
104261
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104070
104262
|
exports2.ENV = void 0;
|
|
@@ -104076,9 +104268,9 @@ var require_app_studio_env = __commonJS({
|
|
|
104076
104268
|
}
|
|
104077
104269
|
});
|
|
104078
104270
|
|
|
104079
|
-
// ../../node_modules/@sap-ux/
|
|
104271
|
+
// ../../node_modules/@sap-ux/btp-utils/dist/app-studio.js
|
|
104080
104272
|
var require_app_studio2 = __commonJS({
|
|
104081
|
-
"../../node_modules/@sap-ux/
|
|
104273
|
+
"../../node_modules/@sap-ux/btp-utils/dist/app-studio.js"(exports2) {
|
|
104082
104274
|
"use strict";
|
|
104083
104275
|
var __awaiter = exports2 && exports2.__awaiter || function(thisArg, _arguments, P, generator) {
|
|
104084
104276
|
function adopt(value) {
|
|
@@ -104168,9 +104360,9 @@ var require_app_studio2 = __commonJS({
|
|
|
104168
104360
|
}
|
|
104169
104361
|
});
|
|
104170
104362
|
|
|
104171
|
-
// ../../node_modules/@sap-ux/
|
|
104363
|
+
// ../../node_modules/@sap-ux/btp-utils/dist/destination.js
|
|
104172
104364
|
var require_destination2 = __commonJS({
|
|
104173
|
-
"../../node_modules/@sap-ux/
|
|
104365
|
+
"../../node_modules/@sap-ux/btp-utils/dist/destination.js"(exports2) {
|
|
104174
104366
|
"use strict";
|
|
104175
104367
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104176
104368
|
exports2.isFullUrlDestination = exports2.isPartialUrlDestination = exports2.isGenericODataDestination = exports2.isAbapEnvironmentOnBtp = exports2.isAbapSystem = exports2.WebIDEAdditionalData = exports2.WebIDEUsage = void 0;
|
|
@@ -104214,17 +104406,17 @@ var require_destination2 = __commonJS({
|
|
|
104214
104406
|
}
|
|
104215
104407
|
});
|
|
104216
104408
|
|
|
104217
|
-
// ../../node_modules/@sap-ux/
|
|
104409
|
+
// ../../node_modules/@sap-ux/btp-utils/dist/service-info.js
|
|
104218
104410
|
var require_service_info = __commonJS({
|
|
104219
|
-
"../../node_modules/@sap-ux/
|
|
104411
|
+
"../../node_modules/@sap-ux/btp-utils/dist/service-info.js"(exports2) {
|
|
104220
104412
|
"use strict";
|
|
104221
104413
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
104222
104414
|
}
|
|
104223
104415
|
});
|
|
104224
104416
|
|
|
104225
|
-
// ../../node_modules/@sap-ux/
|
|
104417
|
+
// ../../node_modules/@sap-ux/btp-utils/dist/index.js
|
|
104226
104418
|
var require_dist18 = __commonJS({
|
|
104227
|
-
"../../node_modules/@sap-ux/
|
|
104419
|
+
"../../node_modules/@sap-ux/btp-utils/dist/index.js"(exports2) {
|
|
104228
104420
|
"use strict";
|
|
104229
104421
|
var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
|
|
104230
104422
|
if (k2 === void 0)
|