@sap/ux-ui5-tooling 1.17.5 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +1 -1
- package/dist/cli/index.js +490 -400
- package/dist/middlewares/fiori-tools-appreload.js +68 -49
- package/dist/middlewares/fiori-tools-preview.js +445 -367
- package/dist/middlewares/fiori-tools-proxy.js +487 -409
- package/dist/middlewares/fiori-tools-servestatic.js +68 -49
- package/dist/tasks/cf-deploy/index.js +254 -177
- package/dist/tasks/deploy/index.js +526 -436
- package/package.json +19 -20
|
@@ -40155,7 +40155,7 @@ var require_package5 = __commonJS({
|
|
|
40155
40155
|
"../../node_modules/@sap-ux/telemetry/package.json"(exports2, module2) {
|
|
40156
40156
|
module2.exports = {
|
|
40157
40157
|
name: "@sap-ux/telemetry",
|
|
40158
|
-
version: "0.
|
|
40158
|
+
version: "0.6.2",
|
|
40159
40159
|
description: "Library for sending usage telemetry data",
|
|
40160
40160
|
repository: {
|
|
40161
40161
|
type: "git",
|
|
@@ -40173,11 +40173,11 @@ var require_package5 = __commonJS({
|
|
|
40173
40173
|
axios: "1.8.2",
|
|
40174
40174
|
"performance-now": "2.1.0",
|
|
40175
40175
|
yaml: "2.3.3",
|
|
40176
|
-
"@sap-ux/store": "1.
|
|
40177
|
-
"@sap-ux/project-access": "1.
|
|
40178
|
-
"@sap-ux/
|
|
40179
|
-
"@sap-ux/
|
|
40180
|
-
"@sap-ux/
|
|
40176
|
+
"@sap-ux/store": "1.1.0",
|
|
40177
|
+
"@sap-ux/project-access": "1.30.1",
|
|
40178
|
+
"@sap-ux/ui5-config": "0.28.1",
|
|
40179
|
+
"@sap-ux/logger": "0.7.0",
|
|
40180
|
+
"@sap-ux/btp-utils": "1.1.0"
|
|
40181
40181
|
},
|
|
40182
40182
|
devDependencies: {
|
|
40183
40183
|
"jest-extended": "4.0.2",
|
|
@@ -40194,7 +40194,7 @@ var require_package5 = __commonJS({
|
|
|
40194
40194
|
"!dist/**/*.map"
|
|
40195
40195
|
],
|
|
40196
40196
|
engines: {
|
|
40197
|
-
node: ">=
|
|
40197
|
+
node: ">=20.x"
|
|
40198
40198
|
},
|
|
40199
40199
|
scripts: {
|
|
40200
40200
|
build: "tsc --build",
|
|
@@ -75024,7 +75024,7 @@ var require_texts = __commonJS({
|
|
|
75024
75024
|
"../../node_modules/@sap-ux/yaml/dist/texts/index.js"(exports2) {
|
|
75025
75025
|
"use strict";
|
|
75026
75026
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
75027
|
-
exports2.interpolate =
|
|
75027
|
+
exports2.interpolate = interpolate;
|
|
75028
75028
|
function interpolate(template, replacements) {
|
|
75029
75029
|
try {
|
|
75030
75030
|
return !replacements ? template : template == null ? void 0 : template.replace(/{{-?([^{}]*)}}/g, (match, captureGroup1) => {
|
|
@@ -75036,7 +75036,6 @@ var require_texts = __commonJS({
|
|
|
75036
75036
|
return "";
|
|
75037
75037
|
}
|
|
75038
75038
|
}
|
|
75039
|
-
exports2.interpolate = interpolate;
|
|
75040
75039
|
}
|
|
75041
75040
|
});
|
|
75042
75041
|
|
|
@@ -75062,20 +75061,31 @@ var require_yaml_document = __commonJS({
|
|
|
75062
75061
|
} : function(o, v) {
|
|
75063
75062
|
o["default"] = v;
|
|
75064
75063
|
});
|
|
75065
|
-
var __importStar = exports2 && exports2.__importStar || function(
|
|
75066
|
-
|
|
75067
|
-
|
|
75068
|
-
|
|
75069
|
-
|
|
75070
|
-
|
|
75071
|
-
|
|
75072
|
-
|
|
75073
|
-
|
|
75064
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
75065
|
+
var ownKeys = function(o) {
|
|
75066
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
75067
|
+
var ar = [];
|
|
75068
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
75069
|
+
return ar;
|
|
75070
|
+
};
|
|
75071
|
+
return ownKeys(o);
|
|
75072
|
+
};
|
|
75073
|
+
return function(mod) {
|
|
75074
|
+
if (mod && mod.__esModule) return mod;
|
|
75075
|
+
var result2 = {};
|
|
75076
|
+
if (mod != null) {
|
|
75077
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result2, mod, k[i]);
|
|
75078
|
+
}
|
|
75079
|
+
__setModuleDefault(result2, mod);
|
|
75080
|
+
return result2;
|
|
75081
|
+
};
|
|
75082
|
+
}();
|
|
75074
75083
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
75075
75084
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
75076
75085
|
};
|
|
75077
75086
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
75078
|
-
exports2.YamlDocument =
|
|
75087
|
+
exports2.YamlDocument = void 0;
|
|
75088
|
+
exports2.yamlDocumentToYamlString = yamlDocumentToYamlString;
|
|
75079
75089
|
var yaml_1 = __importStar(require_dist5());
|
|
75080
75090
|
var merge_1 = __importDefault(require_merge());
|
|
75081
75091
|
var errors_1 = require_errors2();
|
|
@@ -75083,7 +75093,6 @@ var require_yaml_document = __commonJS({
|
|
|
75083
75093
|
function yamlDocumentToYamlString(yamlDocument) {
|
|
75084
75094
|
return yaml_1.default.stringify(yamlDocument);
|
|
75085
75095
|
}
|
|
75086
|
-
exports2.yamlDocumentToYamlString = yamlDocumentToYamlString;
|
|
75087
75096
|
var YamlDocument = class _YamlDocument {
|
|
75088
75097
|
documents;
|
|
75089
75098
|
/**
|
|
@@ -85004,26 +85013,34 @@ var require_ui5config = __commonJS({
|
|
|
85004
85013
|
return this;
|
|
85005
85014
|
}
|
|
85006
85015
|
/**
|
|
85007
|
-
*
|
|
85016
|
+
* Returns a fiori-tools-proxy middleware YAML configuration.
|
|
85008
85017
|
*
|
|
85009
|
-
* @
|
|
85010
|
-
* @param ignoreCertError if true some certificate errors are ignored
|
|
85011
|
-
* @returns {UI5Config} the UI5Config instance
|
|
85018
|
+
* @returns {unknown} The fiori-tools-proxy middleware configuration
|
|
85012
85019
|
* @memberof UI5Config
|
|
85013
85020
|
*/
|
|
85014
|
-
|
|
85021
|
+
getFioriToolsProxyMiddlewareConfiguration() {
|
|
85015
85022
|
const middlewareList = this.document.getSequence({ path: "server.customMiddleware" });
|
|
85016
85023
|
const proxyMiddleware = this.document.findItem(middlewareList, (item) => item.name === constants_1.fioriToolsProxy);
|
|
85017
85024
|
if (!proxyMiddleware) {
|
|
85018
85025
|
throw new Error("Could not find fiori-tools-proxy");
|
|
85019
85026
|
}
|
|
85020
|
-
|
|
85021
|
-
const proxyMiddlewareYamlContent = this.findCustomMiddleware(constants_1.fioriToolsProxy);
|
|
85022
|
-
const proxyMiddlewareConfig = proxyMiddlewareYamlContent == null ? void 0 : proxyMiddlewareYamlContent.configuration;
|
|
85023
|
-
const configuration = this.document.getMap({
|
|
85027
|
+
return this.document.getMap({
|
|
85024
85028
|
start: proxyMiddleware,
|
|
85025
85029
|
path: "configuration"
|
|
85026
85030
|
});
|
|
85031
|
+
}
|
|
85032
|
+
/**
|
|
85033
|
+
* Adds a backend configuration to an existing fiori-tools-proxy middleware keeping any existing 'fiori-tools-proxy' backend configurations. If the config does not contain a fiori-tools-proxy middleware, an error is thrown.
|
|
85034
|
+
*
|
|
85035
|
+
* @param backend config of backend that is to be proxied
|
|
85036
|
+
* @param ignoreCertError if true some certificate errors are ignored
|
|
85037
|
+
* @returns {UI5Config} the UI5Config instance
|
|
85038
|
+
* @memberof UI5Config
|
|
85039
|
+
*/
|
|
85040
|
+
addBackendToFioriToolsProxydMiddleware(backend, ignoreCertError = false) {
|
|
85041
|
+
const configuration = this.getFioriToolsProxyMiddlewareConfiguration();
|
|
85042
|
+
const proxyMiddlewareConfig = configuration.toJSON();
|
|
85043
|
+
const comments = (0, middlewares_1.getBackendComments)(backend);
|
|
85027
85044
|
const backendNode = this.document.createNode({
|
|
85028
85045
|
value: backend,
|
|
85029
85046
|
comments
|
|
@@ -85045,6 +85062,30 @@ var require_ui5config = __commonJS({
|
|
|
85045
85062
|
}
|
|
85046
85063
|
return this;
|
|
85047
85064
|
}
|
|
85065
|
+
/**
|
|
85066
|
+
* Updates backend configuration to an existing fiori-tools-proxy middleware that matches path. If the config does not contain a fiori-tools-proxy middleware, an error is thrown.
|
|
85067
|
+
*
|
|
85068
|
+
* @param backend config of backend that is to be proxied
|
|
85069
|
+
* @returns {UI5Config} the UI5Config instance
|
|
85070
|
+
* @memberof UI5Config
|
|
85071
|
+
*/
|
|
85072
|
+
updateBackendToFioriToolsProxydMiddleware(backend) {
|
|
85073
|
+
const configuration = this.getFioriToolsProxyMiddlewareConfiguration();
|
|
85074
|
+
const proxyMiddlewareConfig = configuration.toJSON();
|
|
85075
|
+
const comments = (0, middlewares_1.getBackendComments)(backend);
|
|
85076
|
+
const backendNode = this.document.createNode({
|
|
85077
|
+
value: backend,
|
|
85078
|
+
comments
|
|
85079
|
+
});
|
|
85080
|
+
if (proxyMiddlewareConfig == null ? void 0 : proxyMiddlewareConfig.backend) {
|
|
85081
|
+
const matchingBackendIndex = proxyMiddlewareConfig == null ? void 0 : proxyMiddlewareConfig.backend.findIndex((existingBackend) => existingBackend.path && existingBackend.path === backend.path);
|
|
85082
|
+
if (matchingBackendIndex !== -1) {
|
|
85083
|
+
const backendConfigs = this.document.getSequence({ start: configuration, path: "backend" });
|
|
85084
|
+
backendConfigs.set(matchingBackendIndex, backendNode);
|
|
85085
|
+
}
|
|
85086
|
+
}
|
|
85087
|
+
return this;
|
|
85088
|
+
}
|
|
85048
85089
|
/**
|
|
85049
85090
|
* Removes a backend configuration from an existing fiori-tools-proxy middleware backend configurations. If the config does not contain a fiori-tools-proxy middleware, an error is thrown.
|
|
85050
85091
|
*
|
|
@@ -98163,9 +98204,9 @@ var require_merge22 = __commonJS({
|
|
|
98163
98204
|
}
|
|
98164
98205
|
});
|
|
98165
98206
|
|
|
98166
|
-
// ../../node_modules/
|
|
98207
|
+
// ../../node_modules/fast-glob/out/utils/array.js
|
|
98167
98208
|
var require_array2 = __commonJS({
|
|
98168
|
-
"../../node_modules/
|
|
98209
|
+
"../../node_modules/fast-glob/out/utils/array.js"(exports2) {
|
|
98169
98210
|
"use strict";
|
|
98170
98211
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
98171
98212
|
exports2.splitWhen = exports2.flatten = void 0;
|
|
@@ -98190,9 +98231,9 @@ var require_array2 = __commonJS({
|
|
|
98190
98231
|
}
|
|
98191
98232
|
});
|
|
98192
98233
|
|
|
98193
|
-
// ../../node_modules/
|
|
98234
|
+
// ../../node_modules/fast-glob/out/utils/errno.js
|
|
98194
98235
|
var require_errno = __commonJS({
|
|
98195
|
-
"../../node_modules/
|
|
98236
|
+
"../../node_modules/fast-glob/out/utils/errno.js"(exports2) {
|
|
98196
98237
|
"use strict";
|
|
98197
98238
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
98198
98239
|
exports2.isEnoentCodeError = void 0;
|
|
@@ -98203,9 +98244,9 @@ var require_errno = __commonJS({
|
|
|
98203
98244
|
}
|
|
98204
98245
|
});
|
|
98205
98246
|
|
|
98206
|
-
// ../../node_modules/
|
|
98247
|
+
// ../../node_modules/fast-glob/out/utils/fs.js
|
|
98207
98248
|
var require_fs2 = __commonJS({
|
|
98208
|
-
"../../node_modules/
|
|
98249
|
+
"../../node_modules/fast-glob/out/utils/fs.js"(exports2) {
|
|
98209
98250
|
"use strict";
|
|
98210
98251
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
98211
98252
|
exports2.createDirentFromStats = void 0;
|
|
@@ -98228,9 +98269,9 @@ var require_fs2 = __commonJS({
|
|
|
98228
98269
|
}
|
|
98229
98270
|
});
|
|
98230
98271
|
|
|
98231
|
-
// ../../node_modules/
|
|
98272
|
+
// ../../node_modules/fast-glob/out/utils/path.js
|
|
98232
98273
|
var require_path = __commonJS({
|
|
98233
|
-
"../../node_modules/
|
|
98274
|
+
"../../node_modules/fast-glob/out/utils/path.js"(exports2) {
|
|
98234
98275
|
"use strict";
|
|
98235
98276
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
98236
98277
|
exports2.convertPosixPathToPattern = exports2.convertWindowsPathToPattern = exports2.convertPathToPattern = exports2.escapePosixPath = exports2.escapeWindowsPath = exports2.escape = exports2.removeLeadingDotSegment = exports2.makeAbsolute = exports2.unixify = void 0;
|
|
@@ -101240,9 +101281,9 @@ var require_micromatch = __commonJS({
|
|
|
101240
101281
|
}
|
|
101241
101282
|
});
|
|
101242
101283
|
|
|
101243
|
-
// ../../node_modules/
|
|
101284
|
+
// ../../node_modules/fast-glob/out/utils/pattern.js
|
|
101244
101285
|
var require_pattern2 = __commonJS({
|
|
101245
|
-
"../../node_modules/
|
|
101286
|
+
"../../node_modules/fast-glob/out/utils/pattern.js"(exports2) {
|
|
101246
101287
|
"use strict";
|
|
101247
101288
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
101248
101289
|
exports2.isAbsolute = exports2.partitionAbsoluteAndRelative = exports2.removeDuplicateSlashes = exports2.matchAny = exports2.convertPatternsToRe = exports2.makeRe = exports2.getPatternParts = exports2.expandBraceExpansion = exports2.expandPatternsWithBraceExpansion = exports2.isAffectDepthOfReadingPattern = exports2.endsWithSlashGlobStar = exports2.hasGlobStar = exports2.getBaseDirectory = exports2.isPatternRelatedToParentDirectory = exports2.getPatternsOutsideCurrentDirectory = exports2.getPatternsInsideCurrentDirectory = exports2.getPositivePatterns = exports2.getNegativePatterns = exports2.isPositivePattern = exports2.isNegativePattern = exports2.convertToNegativePattern = exports2.convertToPositivePattern = exports2.isDynamicPattern = exports2.isStaticPattern = void 0;
|
|
@@ -101405,9 +101446,9 @@ var require_pattern2 = __commonJS({
|
|
|
101405
101446
|
}
|
|
101406
101447
|
});
|
|
101407
101448
|
|
|
101408
|
-
// ../../node_modules/
|
|
101449
|
+
// ../../node_modules/fast-glob/out/utils/stream.js
|
|
101409
101450
|
var require_stream3 = __commonJS({
|
|
101410
|
-
"../../node_modules/
|
|
101451
|
+
"../../node_modules/fast-glob/out/utils/stream.js"(exports2) {
|
|
101411
101452
|
"use strict";
|
|
101412
101453
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
101413
101454
|
exports2.merge = void 0;
|
|
@@ -101428,9 +101469,9 @@ var require_stream3 = __commonJS({
|
|
|
101428
101469
|
}
|
|
101429
101470
|
});
|
|
101430
101471
|
|
|
101431
|
-
// ../../node_modules/
|
|
101472
|
+
// ../../node_modules/fast-glob/out/utils/string.js
|
|
101432
101473
|
var require_string3 = __commonJS({
|
|
101433
|
-
"../../node_modules/
|
|
101474
|
+
"../../node_modules/fast-glob/out/utils/string.js"(exports2) {
|
|
101434
101475
|
"use strict";
|
|
101435
101476
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
101436
101477
|
exports2.isEmpty = exports2.isString = void 0;
|
|
@@ -101445,9 +101486,9 @@ var require_string3 = __commonJS({
|
|
|
101445
101486
|
}
|
|
101446
101487
|
});
|
|
101447
101488
|
|
|
101448
|
-
// ../../node_modules/
|
|
101489
|
+
// ../../node_modules/fast-glob/out/utils/index.js
|
|
101449
101490
|
var require_utils9 = __commonJS({
|
|
101450
|
-
"../../node_modules/
|
|
101491
|
+
"../../node_modules/fast-glob/out/utils/index.js"(exports2) {
|
|
101451
101492
|
"use strict";
|
|
101452
101493
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
101453
101494
|
exports2.string = exports2.stream = exports2.pattern = exports2.path = exports2.fs = exports2.errno = exports2.array = void 0;
|
|
@@ -101468,9 +101509,9 @@ var require_utils9 = __commonJS({
|
|
|
101468
101509
|
}
|
|
101469
101510
|
});
|
|
101470
101511
|
|
|
101471
|
-
// ../../node_modules/
|
|
101512
|
+
// ../../node_modules/fast-glob/out/managers/tasks.js
|
|
101472
101513
|
var require_tasks = __commonJS({
|
|
101473
|
-
"../../node_modules/
|
|
101514
|
+
"../../node_modules/fast-glob/out/managers/tasks.js"(exports2) {
|
|
101474
101515
|
"use strict";
|
|
101475
101516
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
101476
101517
|
exports2.convertPatternGroupToTask = exports2.convertPatternGroupsToTasks = exports2.groupPatternsByBaseDirectory = exports2.getNegativePatternsAsPositive = exports2.getPositivePatterns = exports2.convertPatternsToTasks = exports2.generate = void 0;
|
|
@@ -102618,9 +102659,9 @@ var require_out3 = __commonJS({
|
|
|
102618
102659
|
}
|
|
102619
102660
|
});
|
|
102620
102661
|
|
|
102621
|
-
// ../../node_modules/
|
|
102662
|
+
// ../../node_modules/fast-glob/out/readers/reader.js
|
|
102622
102663
|
var require_reader2 = __commonJS({
|
|
102623
|
-
"../../node_modules/
|
|
102664
|
+
"../../node_modules/fast-glob/out/readers/reader.js"(exports2) {
|
|
102624
102665
|
"use strict";
|
|
102625
102666
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102626
102667
|
var path4 = require("path");
|
|
@@ -102657,9 +102698,9 @@ var require_reader2 = __commonJS({
|
|
|
102657
102698
|
}
|
|
102658
102699
|
});
|
|
102659
102700
|
|
|
102660
|
-
// ../../node_modules/
|
|
102701
|
+
// ../../node_modules/fast-glob/out/readers/stream.js
|
|
102661
102702
|
var require_stream5 = __commonJS({
|
|
102662
|
-
"../../node_modules/
|
|
102703
|
+
"../../node_modules/fast-glob/out/readers/stream.js"(exports2) {
|
|
102663
102704
|
"use strict";
|
|
102664
102705
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102665
102706
|
var stream_1 = require("stream");
|
|
@@ -102714,9 +102755,9 @@ var require_stream5 = __commonJS({
|
|
|
102714
102755
|
}
|
|
102715
102756
|
});
|
|
102716
102757
|
|
|
102717
|
-
// ../../node_modules/
|
|
102758
|
+
// ../../node_modules/fast-glob/out/readers/async.js
|
|
102718
102759
|
var require_async7 = __commonJS({
|
|
102719
|
-
"../../node_modules/
|
|
102760
|
+
"../../node_modules/fast-glob/out/readers/async.js"(exports2) {
|
|
102720
102761
|
"use strict";
|
|
102721
102762
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102722
102763
|
var fsWalk = require_out3();
|
|
@@ -102753,9 +102794,9 @@ var require_async7 = __commonJS({
|
|
|
102753
102794
|
}
|
|
102754
102795
|
});
|
|
102755
102796
|
|
|
102756
|
-
// ../../node_modules/
|
|
102797
|
+
// ../../node_modules/fast-glob/out/providers/matchers/matcher.js
|
|
102757
102798
|
var require_matcher = __commonJS({
|
|
102758
|
-
"../../node_modules/
|
|
102799
|
+
"../../node_modules/fast-glob/out/providers/matchers/matcher.js"(exports2) {
|
|
102759
102800
|
"use strict";
|
|
102760
102801
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102761
102802
|
var utils = require_utils9();
|
|
@@ -102804,9 +102845,9 @@ var require_matcher = __commonJS({
|
|
|
102804
102845
|
}
|
|
102805
102846
|
});
|
|
102806
102847
|
|
|
102807
|
-
// ../../node_modules/
|
|
102848
|
+
// ../../node_modules/fast-glob/out/providers/matchers/partial.js
|
|
102808
102849
|
var require_partial = __commonJS({
|
|
102809
|
-
"../../node_modules/
|
|
102850
|
+
"../../node_modules/fast-glob/out/providers/matchers/partial.js"(exports2) {
|
|
102810
102851
|
"use strict";
|
|
102811
102852
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102812
102853
|
var matcher_1 = require_matcher();
|
|
@@ -102841,9 +102882,9 @@ var require_partial = __commonJS({
|
|
|
102841
102882
|
}
|
|
102842
102883
|
});
|
|
102843
102884
|
|
|
102844
|
-
// ../../node_modules/
|
|
102885
|
+
// ../../node_modules/fast-glob/out/providers/filters/deep.js
|
|
102845
102886
|
var require_deep = __commonJS({
|
|
102846
|
-
"../../node_modules/
|
|
102887
|
+
"../../node_modules/fast-glob/out/providers/filters/deep.js"(exports2) {
|
|
102847
102888
|
"use strict";
|
|
102848
102889
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102849
102890
|
var utils = require_utils9();
|
|
@@ -102906,9 +102947,9 @@ var require_deep = __commonJS({
|
|
|
102906
102947
|
}
|
|
102907
102948
|
});
|
|
102908
102949
|
|
|
102909
|
-
// ../../node_modules/
|
|
102950
|
+
// ../../node_modules/fast-glob/out/providers/filters/entry.js
|
|
102910
102951
|
var require_entry = __commonJS({
|
|
102911
|
-
"../../node_modules/
|
|
102952
|
+
"../../node_modules/fast-glob/out/providers/filters/entry.js"(exports2) {
|
|
102912
102953
|
"use strict";
|
|
102913
102954
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
102914
102955
|
var utils = require_utils9();
|
|
@@ -102994,9 +103035,9 @@ var require_entry = __commonJS({
|
|
|
102994
103035
|
}
|
|
102995
103036
|
});
|
|
102996
103037
|
|
|
102997
|
-
// ../../node_modules/
|
|
103038
|
+
// ../../node_modules/fast-glob/out/providers/filters/error.js
|
|
102998
103039
|
var require_error = __commonJS({
|
|
102999
|
-
"../../node_modules/
|
|
103040
|
+
"../../node_modules/fast-glob/out/providers/filters/error.js"(exports2) {
|
|
103000
103041
|
"use strict";
|
|
103001
103042
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103002
103043
|
var utils = require_utils9();
|
|
@@ -103015,9 +103056,9 @@ var require_error = __commonJS({
|
|
|
103015
103056
|
}
|
|
103016
103057
|
});
|
|
103017
103058
|
|
|
103018
|
-
// ../../node_modules/
|
|
103059
|
+
// ../../node_modules/fast-glob/out/providers/transformers/entry.js
|
|
103019
103060
|
var require_entry2 = __commonJS({
|
|
103020
|
-
"../../node_modules/
|
|
103061
|
+
"../../node_modules/fast-glob/out/providers/transformers/entry.js"(exports2) {
|
|
103021
103062
|
"use strict";
|
|
103022
103063
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103023
103064
|
var utils = require_utils9();
|
|
@@ -103047,9 +103088,9 @@ var require_entry2 = __commonJS({
|
|
|
103047
103088
|
}
|
|
103048
103089
|
});
|
|
103049
103090
|
|
|
103050
|
-
// ../../node_modules/
|
|
103091
|
+
// ../../node_modules/fast-glob/out/providers/provider.js
|
|
103051
103092
|
var require_provider = __commonJS({
|
|
103052
|
-
"../../node_modules/
|
|
103093
|
+
"../../node_modules/fast-glob/out/providers/provider.js"(exports2) {
|
|
103053
103094
|
"use strict";
|
|
103054
103095
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103055
103096
|
var path4 = require("path");
|
|
@@ -103101,9 +103142,9 @@ var require_provider = __commonJS({
|
|
|
103101
103142
|
}
|
|
103102
103143
|
});
|
|
103103
103144
|
|
|
103104
|
-
// ../../node_modules/
|
|
103145
|
+
// ../../node_modules/fast-glob/out/providers/async.js
|
|
103105
103146
|
var require_async8 = __commonJS({
|
|
103106
|
-
"../../node_modules/
|
|
103147
|
+
"../../node_modules/fast-glob/out/providers/async.js"(exports2) {
|
|
103107
103148
|
"use strict";
|
|
103108
103149
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103109
103150
|
var async_1 = require_async7();
|
|
@@ -103130,9 +103171,9 @@ var require_async8 = __commonJS({
|
|
|
103130
103171
|
}
|
|
103131
103172
|
});
|
|
103132
103173
|
|
|
103133
|
-
// ../../node_modules/
|
|
103174
|
+
// ../../node_modules/fast-glob/out/providers/stream.js
|
|
103134
103175
|
var require_stream6 = __commonJS({
|
|
103135
|
-
"../../node_modules/
|
|
103176
|
+
"../../node_modules/fast-glob/out/providers/stream.js"(exports2) {
|
|
103136
103177
|
"use strict";
|
|
103137
103178
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103138
103179
|
var stream_1 = require("stream");
|
|
@@ -103164,9 +103205,9 @@ var require_stream6 = __commonJS({
|
|
|
103164
103205
|
}
|
|
103165
103206
|
});
|
|
103166
103207
|
|
|
103167
|
-
// ../../node_modules/
|
|
103208
|
+
// ../../node_modules/fast-glob/out/readers/sync.js
|
|
103168
103209
|
var require_sync6 = __commonJS({
|
|
103169
|
-
"../../node_modules/
|
|
103210
|
+
"../../node_modules/fast-glob/out/readers/sync.js"(exports2) {
|
|
103170
103211
|
"use strict";
|
|
103171
103212
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103172
103213
|
var fsStat = require_out();
|
|
@@ -103212,9 +103253,9 @@ var require_sync6 = __commonJS({
|
|
|
103212
103253
|
}
|
|
103213
103254
|
});
|
|
103214
103255
|
|
|
103215
|
-
// ../../node_modules/
|
|
103256
|
+
// ../../node_modules/fast-glob/out/providers/sync.js
|
|
103216
103257
|
var require_sync7 = __commonJS({
|
|
103217
|
-
"../../node_modules/
|
|
103258
|
+
"../../node_modules/fast-glob/out/providers/sync.js"(exports2) {
|
|
103218
103259
|
"use strict";
|
|
103219
103260
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103220
103261
|
var sync_1 = require_sync6();
|
|
@@ -103241,9 +103282,9 @@ var require_sync7 = __commonJS({
|
|
|
103241
103282
|
}
|
|
103242
103283
|
});
|
|
103243
103284
|
|
|
103244
|
-
// ../../node_modules/
|
|
103285
|
+
// ../../node_modules/fast-glob/out/settings.js
|
|
103245
103286
|
var require_settings4 = __commonJS({
|
|
103246
|
-
"../../node_modules/
|
|
103287
|
+
"../../node_modules/fast-glob/out/settings.js"(exports2) {
|
|
103247
103288
|
"use strict";
|
|
103248
103289
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
103249
103290
|
exports2.DEFAULT_FILE_SYSTEM_ADAPTER = void 0;
|
|
@@ -103301,9 +103342,9 @@ var require_settings4 = __commonJS({
|
|
|
103301
103342
|
}
|
|
103302
103343
|
});
|
|
103303
103344
|
|
|
103304
|
-
// ../../node_modules/
|
|
103345
|
+
// ../../node_modules/fast-glob/out/index.js
|
|
103305
103346
|
var require_out4 = __commonJS({
|
|
103306
|
-
"../../node_modules/
|
|
103347
|
+
"../../node_modules/fast-glob/out/index.js"(exports2, module2) {
|
|
103307
103348
|
"use strict";
|
|
103308
103349
|
var taskManager = require_tasks();
|
|
103309
103350
|
var async_1 = require_async8();
|
|
@@ -110531,7 +110572,7 @@ var require_line_offsets = __commonJS({
|
|
|
110531
110572
|
"../../node_modules/@sap-ux/text-document-utils/dist/line-offsets.js"(exports2) {
|
|
110532
110573
|
"use strict";
|
|
110533
110574
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110534
|
-
exports2.getLineOffsets =
|
|
110575
|
+
exports2.getLineOffsets = getLineOffsets;
|
|
110535
110576
|
function getLineOffsets(text) {
|
|
110536
110577
|
const lineOffsets = [0];
|
|
110537
110578
|
let index = 0;
|
|
@@ -110549,7 +110590,6 @@ var require_line_offsets = __commonJS({
|
|
|
110549
110590
|
}
|
|
110550
110591
|
return lineOffsets;
|
|
110551
110592
|
}
|
|
110552
|
-
exports2.getLineOffsets = getLineOffsets;
|
|
110553
110593
|
}
|
|
110554
110594
|
});
|
|
110555
110595
|
|
|
@@ -110558,7 +110598,13 @@ var require_position = __commonJS({
|
|
|
110558
110598
|
"../../node_modules/@sap-ux/text-document-utils/dist/position.js"(exports2) {
|
|
110559
110599
|
"use strict";
|
|
110560
110600
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110561
|
-
exports2.
|
|
110601
|
+
exports2.positionAt = positionAt;
|
|
110602
|
+
exports2.isBefore = isBefore;
|
|
110603
|
+
exports2.positionContained = positionContained;
|
|
110604
|
+
exports2.positionContainedStrict = positionContainedStrict;
|
|
110605
|
+
exports2.rangeContained = rangeContained;
|
|
110606
|
+
exports2.getIndentLevel = getIndentLevel;
|
|
110607
|
+
exports2.indent = indent;
|
|
110562
110608
|
var vscode_languageserver_types_1 = (init_main2(), __toCommonJS(main_exports2));
|
|
110563
110609
|
function positionAt(lineOffsets, offset, textLength) {
|
|
110564
110610
|
const target = Math.max(Math.min(offset, textLength), 0);
|
|
@@ -110578,7 +110624,6 @@ var require_position = __commonJS({
|
|
|
110578
110624
|
const line = low - 1;
|
|
110579
110625
|
return vscode_languageserver_types_1.Position.create(line, target - lineOffsets[line]);
|
|
110580
110626
|
}
|
|
110581
|
-
exports2.positionAt = positionAt;
|
|
110582
110627
|
function isBefore(pos1, pos2, includeEqual = false) {
|
|
110583
110628
|
if (pos1.line < pos2.line) {
|
|
110584
110629
|
return true;
|
|
@@ -110591,19 +110636,15 @@ var require_position = __commonJS({
|
|
|
110591
110636
|
}
|
|
110592
110637
|
return pos1.character < pos2.character;
|
|
110593
110638
|
}
|
|
110594
|
-
exports2.isBefore = isBefore;
|
|
110595
110639
|
function positionContained(range, position) {
|
|
110596
110640
|
return range !== void 0 && !isBefore(position, range.start, false) && isBefore(position, range.end, true);
|
|
110597
110641
|
}
|
|
110598
|
-
exports2.positionContained = positionContained;
|
|
110599
110642
|
function positionContainedStrict(range, position) {
|
|
110600
110643
|
return !isBefore(position, range.start, false) && isBefore(position, range.end, true);
|
|
110601
110644
|
}
|
|
110602
|
-
exports2.positionContainedStrict = positionContainedStrict;
|
|
110603
110645
|
function rangeContained(a, b) {
|
|
110604
110646
|
return isBefore(a.start, b.start, true) && isBefore(b.end, a.end, true);
|
|
110605
110647
|
}
|
|
110606
|
-
exports2.rangeContained = rangeContained;
|
|
110607
110648
|
function getIndentLevel(startPosition, tabWidth) {
|
|
110608
110649
|
let level;
|
|
110609
110650
|
if (startPosition < 0) {
|
|
@@ -110613,7 +110654,6 @@ var require_position = __commonJS({
|
|
|
110613
110654
|
}
|
|
110614
110655
|
return level;
|
|
110615
110656
|
}
|
|
110616
|
-
exports2.getIndentLevel = getIndentLevel;
|
|
110617
110657
|
function indent(tabWidth, useTabs, level) {
|
|
110618
110658
|
if (useTabs) {
|
|
110619
110659
|
return " ".repeat(level);
|
|
@@ -110621,7 +110661,6 @@ var require_position = __commonJS({
|
|
|
110621
110661
|
return " ".repeat(tabWidth * level);
|
|
110622
110662
|
}
|
|
110623
110663
|
}
|
|
110624
|
-
exports2.indent = indent;
|
|
110625
110664
|
}
|
|
110626
110665
|
});
|
|
110627
110666
|
|
|
@@ -110630,21 +110669,22 @@ var require_range2 = __commonJS({
|
|
|
110630
110669
|
"../../node_modules/@sap-ux/text-document-utils/dist/range.js"(exports2) {
|
|
110631
110670
|
"use strict";
|
|
110632
110671
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
110633
|
-
exports2.createRangeWithPosition = exports2.
|
|
110672
|
+
exports2.createRangeWithPosition = exports2.copyRange = exports2.copyPosition = void 0;
|
|
110673
|
+
exports2.rangeAt = rangeAt;
|
|
110674
|
+
exports2.arePositionsEqual = arePositionsEqual;
|
|
110675
|
+
exports2.areRangesEqual = areRangesEqual;
|
|
110676
|
+
exports2.createRange = createRange;
|
|
110634
110677
|
var position_1 = require_position();
|
|
110635
110678
|
var vscode_languageserver_types_1 = (init_main2(), __toCommonJS(main_exports2));
|
|
110636
110679
|
function rangeAt(lineOffsets, start, end, textLength) {
|
|
110637
110680
|
return vscode_languageserver_types_1.Range.create((0, position_1.positionAt)(lineOffsets, start, textLength), (0, position_1.positionAt)(lineOffsets, end, textLength));
|
|
110638
110681
|
}
|
|
110639
|
-
exports2.rangeAt = rangeAt;
|
|
110640
110682
|
function arePositionsEqual(a, b) {
|
|
110641
110683
|
return a.line === b.line && a.character === b.character;
|
|
110642
110684
|
}
|
|
110643
|
-
exports2.arePositionsEqual = arePositionsEqual;
|
|
110644
110685
|
function areRangesEqual(a, b) {
|
|
110645
110686
|
return arePositionsEqual(a.start, b.start) && arePositionsEqual(a.end, b.end);
|
|
110646
110687
|
}
|
|
110647
|
-
exports2.areRangesEqual = areRangesEqual;
|
|
110648
110688
|
var copyPosition = (position) => vscode_languageserver_types_1.Position.create(position.line, position.character);
|
|
110649
110689
|
exports2.copyPosition = copyPosition;
|
|
110650
110690
|
var copyRange = (range) => vscode_languageserver_types_1.Range.create((0, exports2.copyPosition)(range.start), (0, exports2.copyPosition)(range.end));
|
|
@@ -110652,7 +110692,6 @@ var require_range2 = __commonJS({
|
|
|
110652
110692
|
function createRange(line1, character1, line2, character2) {
|
|
110653
110693
|
return vscode_languageserver_types_1.Range.create(vscode_languageserver_types_1.Position.create(line1, character1), vscode_languageserver_types_1.Position.create(line2, character2));
|
|
110654
110694
|
}
|
|
110655
|
-
exports2.createRange = createRange;
|
|
110656
110695
|
var createRangeWithPosition = (start, end) => start && end ? vscode_languageserver_types_1.Range.create((0, exports2.copyPosition)(start), (0, exports2.copyPosition)(end)) : void 0;
|
|
110657
110696
|
exports2.createRangeWithPosition = createRangeWithPosition;
|
|
110658
110697
|
}
|
|
@@ -113139,7 +113178,8 @@ var require_access = __commonJS({
|
|
|
113139
113178
|
* @param memFs - optional mem-fs-editor instance
|
|
113140
113179
|
*/
|
|
113141
113180
|
async updatePackageJSON(packageJson, memFs) {
|
|
113142
|
-
|
|
113181
|
+
var _a3;
|
|
113182
|
+
await (0, file_1.updatePackageJSON)((0, path_1.join)(this.app.appRoot, constants_1.FileName.Package), packageJson, memFs ?? ((_a3 = this.options) == null ? void 0 : _a3.fs));
|
|
113143
113183
|
}
|
|
113144
113184
|
/**
|
|
113145
113185
|
* Updates manifest.json file asynchronously by keeping the previous indentation.
|
|
@@ -113148,7 +113188,8 @@ var require_access = __commonJS({
|
|
|
113148
113188
|
* @param memFs - optional mem-fs-editor instance
|
|
113149
113189
|
*/
|
|
113150
113190
|
async updateManifestJSON(manifest, memFs) {
|
|
113151
|
-
|
|
113191
|
+
var _a3;
|
|
113192
|
+
await (0, file_1.updateManifestJSON)(this.app.manifest, manifest, memFs ?? ((_a3 = this.options) == null ? void 0 : _a3.fs));
|
|
113152
113193
|
}
|
|
113153
113194
|
/**
|
|
113154
113195
|
* Project structure.
|
|
@@ -115764,7 +115805,16 @@ var require_data_processor = __commonJS({
|
|
|
115764
115805
|
return output3;
|
|
115765
115806
|
}
|
|
115766
115807
|
async function getTemplateType(appPath) {
|
|
115808
|
+
var _a3;
|
|
115767
115809
|
const readmeFilePath = path_1.default.join(appPath, "README.md");
|
|
115810
|
+
const appGenInfoPath = path_1.default.join(appPath, ".appGenInfo.json");
|
|
115811
|
+
if (fs_1.default.existsSync(appGenInfoPath)) {
|
|
115812
|
+
const appGenInfo = await fs_1.default.promises.readFile(appGenInfoPath, "utf-8");
|
|
115813
|
+
const appGenInfoParsed = JSON.parse(appGenInfo);
|
|
115814
|
+
if ((_a3 = appGenInfoParsed == null ? void 0 : appGenInfoParsed.generationParameters) == null ? void 0 : _a3.template) {
|
|
115815
|
+
return appGenInfoParsed.generationParameters.template.trim();
|
|
115816
|
+
}
|
|
115817
|
+
}
|
|
115768
115818
|
if (fs_1.default.existsSync(readmeFilePath)) {
|
|
115769
115819
|
const readmeContent = await fs_1.default.promises.readFile(readmeFilePath, "utf-8");
|
|
115770
115820
|
if (readmeContent) {
|
|
@@ -123296,15 +123346,25 @@ var require_filesystem = __commonJS({
|
|
|
123296
123346
|
} : function(o, v) {
|
|
123297
123347
|
o["default"] = v;
|
|
123298
123348
|
});
|
|
123299
|
-
var __importStar = exports2 && exports2.__importStar || function(
|
|
123300
|
-
|
|
123301
|
-
|
|
123302
|
-
|
|
123303
|
-
|
|
123304
|
-
|
|
123305
|
-
|
|
123306
|
-
|
|
123307
|
-
|
|
123349
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
123350
|
+
var ownKeys = function(o) {
|
|
123351
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
123352
|
+
var ar = [];
|
|
123353
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
123354
|
+
return ar;
|
|
123355
|
+
};
|
|
123356
|
+
return ownKeys(o);
|
|
123357
|
+
};
|
|
123358
|
+
return function(mod) {
|
|
123359
|
+
if (mod && mod.__esModule) return mod;
|
|
123360
|
+
var result2 = {};
|
|
123361
|
+
if (mod != null) {
|
|
123362
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result2, mod, k[i]);
|
|
123363
|
+
}
|
|
123364
|
+
__setModuleDefault(result2, mod);
|
|
123365
|
+
return result2;
|
|
123366
|
+
};
|
|
123367
|
+
}();
|
|
123308
123368
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
123309
123369
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
123310
123370
|
};
|
|
@@ -125887,16 +125947,16 @@ var require_types9 = __commonJS({
|
|
|
125887
125947
|
}
|
|
125888
125948
|
});
|
|
125889
125949
|
|
|
125890
|
-
// ../../node_modules
|
|
125950
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/stream.js
|
|
125891
125951
|
var require_stream7 = __commonJS({
|
|
125892
|
-
"../../node_modules
|
|
125952
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/stream.js"(exports2, module2) {
|
|
125893
125953
|
module2.exports = require("stream");
|
|
125894
125954
|
}
|
|
125895
125955
|
});
|
|
125896
125956
|
|
|
125897
|
-
// ../../node_modules
|
|
125957
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/destroy.js
|
|
125898
125958
|
var require_destroy2 = __commonJS({
|
|
125899
|
-
"../../node_modules
|
|
125959
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/destroy.js"(exports2, module2) {
|
|
125900
125960
|
"use strict";
|
|
125901
125961
|
function destroy2(err, cb) {
|
|
125902
125962
|
var _this = this;
|
|
@@ -125983,9 +126043,9 @@ var require_destroy2 = __commonJS({
|
|
|
125983
126043
|
}
|
|
125984
126044
|
});
|
|
125985
126045
|
|
|
125986
|
-
// ../../node_modules
|
|
126046
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/errors.js
|
|
125987
126047
|
var require_errors5 = __commonJS({
|
|
125988
|
-
"../../node_modules
|
|
126048
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/errors.js"(exports2, module2) {
|
|
125989
126049
|
"use strict";
|
|
125990
126050
|
var codes = {};
|
|
125991
126051
|
function createErrorType(code, message, Base) {
|
|
@@ -126083,9 +126143,9 @@ var require_errors5 = __commonJS({
|
|
|
126083
126143
|
}
|
|
126084
126144
|
});
|
|
126085
126145
|
|
|
126086
|
-
// ../../node_modules
|
|
126146
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/state.js
|
|
126087
126147
|
var require_state3 = __commonJS({
|
|
126088
|
-
"../../node_modules
|
|
126148
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/state.js"(exports2, module2) {
|
|
126089
126149
|
"use strict";
|
|
126090
126150
|
var ERR_INVALID_OPT_VALUE = require_errors5().codes.ERR_INVALID_OPT_VALUE;
|
|
126091
126151
|
function highWaterMarkFrom(options2, isDuplex, duplexKey) {
|
|
@@ -126108,9 +126168,9 @@ var require_state3 = __commonJS({
|
|
|
126108
126168
|
}
|
|
126109
126169
|
});
|
|
126110
126170
|
|
|
126111
|
-
// ../../node_modules
|
|
126171
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js
|
|
126112
126172
|
var require_buffer_list = __commonJS({
|
|
126113
|
-
"../../node_modules
|
|
126173
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/buffer_list.js"(exports2, module2) {
|
|
126114
126174
|
"use strict";
|
|
126115
126175
|
function ownKeys(object, enumerableOnly) {
|
|
126116
126176
|
var keys = Object.keys(object);
|
|
@@ -126639,9 +126699,9 @@ var require_string_decoder2 = __commonJS({
|
|
|
126639
126699
|
}
|
|
126640
126700
|
});
|
|
126641
126701
|
|
|
126642
|
-
// ../../node_modules
|
|
126702
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js
|
|
126643
126703
|
var require_end_of_stream = __commonJS({
|
|
126644
|
-
"../../node_modules
|
|
126704
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(exports2, module2) {
|
|
126645
126705
|
"use strict";
|
|
126646
126706
|
var ERR_STREAM_PREMATURE_CLOSE = require_errors5().codes.ERR_STREAM_PREMATURE_CLOSE;
|
|
126647
126707
|
function once(callback) {
|
|
@@ -126728,9 +126788,9 @@ var require_end_of_stream = __commonJS({
|
|
|
126728
126788
|
}
|
|
126729
126789
|
});
|
|
126730
126790
|
|
|
126731
|
-
// ../../node_modules
|
|
126791
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js
|
|
126732
126792
|
var require_async_iterator = __commonJS({
|
|
126733
|
-
"../../node_modules
|
|
126793
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/async_iterator.js"(exports2, module2) {
|
|
126734
126794
|
"use strict";
|
|
126735
126795
|
var _Object$setPrototypeO;
|
|
126736
126796
|
function _defineProperty2(obj, key, value) {
|
|
@@ -126896,9 +126956,9 @@ var require_async_iterator = __commonJS({
|
|
|
126896
126956
|
}
|
|
126897
126957
|
});
|
|
126898
126958
|
|
|
126899
|
-
// ../../node_modules
|
|
126959
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/from.js
|
|
126900
126960
|
var require_from = __commonJS({
|
|
126901
|
-
"../../node_modules
|
|
126961
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/internal/streams/from.js"(exports2, module2) {
|
|
126902
126962
|
"use strict";
|
|
126903
126963
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
126904
126964
|
try {
|
|
@@ -127009,9 +127069,9 @@ var require_from = __commonJS({
|
|
|
127009
127069
|
}
|
|
127010
127070
|
});
|
|
127011
127071
|
|
|
127012
|
-
// ../../node_modules
|
|
127072
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_readable.js
|
|
127013
127073
|
var require_stream_readable2 = __commonJS({
|
|
127014
|
-
"../../node_modules
|
|
127074
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_readable.js"(exports2, module2) {
|
|
127015
127075
|
"use strict";
|
|
127016
127076
|
module2.exports = Readable;
|
|
127017
127077
|
var Duplex;
|
|
@@ -127746,9 +127806,9 @@ var require_stream_readable2 = __commonJS({
|
|
|
127746
127806
|
}
|
|
127747
127807
|
});
|
|
127748
127808
|
|
|
127749
|
-
// ../../node_modules
|
|
127809
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_duplex.js
|
|
127750
127810
|
var require_stream_duplex2 = __commonJS({
|
|
127751
|
-
"../../node_modules
|
|
127811
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_duplex.js"(exports2, module2) {
|
|
127752
127812
|
"use strict";
|
|
127753
127813
|
var objectKeys = Object.keys || function(obj) {
|
|
127754
127814
|
var keys2 = [];
|
|
@@ -127841,9 +127901,9 @@ var require_stream_duplex2 = __commonJS({
|
|
|
127841
127901
|
}
|
|
127842
127902
|
});
|
|
127843
127903
|
|
|
127844
|
-
// ../../node_modules
|
|
127904
|
+
// ../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js
|
|
127845
127905
|
var require_stream_writable2 = __commonJS({
|
|
127846
|
-
"../../node_modules
|
|
127906
|
+
"../../node_modules/winston-transport/node_modules/readable-stream/lib/_stream_writable.js"(exports2, module2) {
|
|
127847
127907
|
"use strict";
|
|
127848
127908
|
module2.exports = Writable;
|
|
127849
127909
|
function CorkedRequest(state) {
|
|
@@ -128430,9 +128490,9 @@ var require_triple_beam = __commonJS({
|
|
|
128430
128490
|
}
|
|
128431
128491
|
});
|
|
128432
128492
|
|
|
128433
|
-
// ../../node_modules
|
|
128493
|
+
// ../../node_modules/winston-transport/modern.js
|
|
128434
128494
|
var require_modern = __commonJS({
|
|
128435
|
-
"../../node_modules
|
|
128495
|
+
"../../node_modules/winston-transport/modern.js"(exports2, module2) {
|
|
128436
128496
|
"use strict";
|
|
128437
128497
|
var util3 = require("util");
|
|
128438
128498
|
var Writable = require_stream_writable2();
|
|
@@ -128542,9 +128602,9 @@ var require_modern = __commonJS({
|
|
|
128542
128602
|
}
|
|
128543
128603
|
});
|
|
128544
128604
|
|
|
128545
|
-
// ../../node_modules
|
|
128605
|
+
// ../../node_modules/winston-transport/legacy.js
|
|
128546
128606
|
var require_legacy = __commonJS({
|
|
128547
|
-
"../../node_modules
|
|
128607
|
+
"../../node_modules/winston-transport/legacy.js"(exports2, module2) {
|
|
128548
128608
|
"use strict";
|
|
128549
128609
|
var util3 = require("util");
|
|
128550
128610
|
var { LEVEL } = require_triple_beam();
|
|
@@ -128608,9 +128668,9 @@ var require_legacy = __commonJS({
|
|
|
128608
128668
|
}
|
|
128609
128669
|
});
|
|
128610
128670
|
|
|
128611
|
-
// ../../node_modules
|
|
128671
|
+
// ../../node_modules/winston-transport/index.js
|
|
128612
128672
|
var require_winston_transport = __commonJS({
|
|
128613
|
-
"../../node_modules
|
|
128673
|
+
"../../node_modules/winston-transport/index.js"(exports2, module2) {
|
|
128614
128674
|
"use strict";
|
|
128615
128675
|
module2.exports = require_modern();
|
|
128616
128676
|
module2.exports.LegacyTransportStream = require_legacy();
|
|
@@ -140444,20 +140504,31 @@ var require_adapter = __commonJS({
|
|
|
140444
140504
|
} : function(o, v) {
|
|
140445
140505
|
o["default"] = v;
|
|
140446
140506
|
});
|
|
140447
|
-
var __importStar = exports2 && exports2.__importStar || function(
|
|
140448
|
-
|
|
140449
|
-
|
|
140450
|
-
|
|
140451
|
-
|
|
140452
|
-
|
|
140453
|
-
|
|
140454
|
-
|
|
140455
|
-
|
|
140507
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
140508
|
+
var ownKeys = function(o) {
|
|
140509
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
140510
|
+
var ar = [];
|
|
140511
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
140512
|
+
return ar;
|
|
140513
|
+
};
|
|
140514
|
+
return ownKeys(o);
|
|
140515
|
+
};
|
|
140516
|
+
return function(mod) {
|
|
140517
|
+
if (mod && mod.__esModule) return mod;
|
|
140518
|
+
var result2 = {};
|
|
140519
|
+
if (mod != null) {
|
|
140520
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result2, mod, k[i]);
|
|
140521
|
+
}
|
|
140522
|
+
__setModuleDefault(result2, mod);
|
|
140523
|
+
return result2;
|
|
140524
|
+
};
|
|
140525
|
+
}();
|
|
140456
140526
|
var __importDefault = exports2 && exports2.__importDefault || function(mod) {
|
|
140457
140527
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
140458
140528
|
};
|
|
140459
140529
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
140460
|
-
exports2.
|
|
140530
|
+
exports2.toWinstonLogLevel = toWinstonLogLevel;
|
|
140531
|
+
exports2.toWinstonTransport = toWinstonTransport;
|
|
140461
140532
|
var types_1 = require_types9();
|
|
140462
140533
|
var winston_1 = __importStar(require_winston());
|
|
140463
140534
|
var transports_1 = require_transports();
|
|
@@ -140468,7 +140539,6 @@ var require_adapter = __commonJS({
|
|
|
140468
140539
|
function toWinstonLogLevel(logLevel) {
|
|
140469
140540
|
return logLevel === void 0 ? void 0 : types_1.LogLevel[logLevel].toLowerCase();
|
|
140470
140541
|
}
|
|
140471
|
-
exports2.toWinstonLogLevel = toWinstonLogLevel;
|
|
140472
140542
|
var toWinstonTransportOptions = (transportOptions) => {
|
|
140473
140543
|
const { logLevel, ...opts } = transportOptions;
|
|
140474
140544
|
return Object.assign({}, opts, { level: toWinstonLogLevel(logLevel) });
|
|
@@ -140543,7 +140613,6 @@ ${level} ${chalk_1.default.magenta(label)} `);
|
|
|
140543
140613
|
throw new Error("Unrecognized transport type");
|
|
140544
140614
|
}
|
|
140545
140615
|
}
|
|
140546
|
-
exports2.toWinstonTransport = toWinstonTransport;
|
|
140547
140616
|
}
|
|
140548
140617
|
});
|
|
140549
140618
|
|
|
@@ -140591,15 +140660,25 @@ var require_logger2 = __commonJS({
|
|
|
140591
140660
|
} : function(o, v) {
|
|
140592
140661
|
o["default"] = v;
|
|
140593
140662
|
});
|
|
140594
|
-
var __importStar = exports2 && exports2.__importStar || function(
|
|
140595
|
-
|
|
140596
|
-
|
|
140597
|
-
|
|
140598
|
-
|
|
140599
|
-
|
|
140600
|
-
|
|
140601
|
-
|
|
140602
|
-
|
|
140663
|
+
var __importStar = exports2 && exports2.__importStar || /* @__PURE__ */ function() {
|
|
140664
|
+
var ownKeys = function(o) {
|
|
140665
|
+
ownKeys = Object.getOwnPropertyNames || function(o2) {
|
|
140666
|
+
var ar = [];
|
|
140667
|
+
for (var k in o2) if (Object.prototype.hasOwnProperty.call(o2, k)) ar[ar.length] = k;
|
|
140668
|
+
return ar;
|
|
140669
|
+
};
|
|
140670
|
+
return ownKeys(o);
|
|
140671
|
+
};
|
|
140672
|
+
return function(mod) {
|
|
140673
|
+
if (mod && mod.__esModule) return mod;
|
|
140674
|
+
var result2 = {};
|
|
140675
|
+
if (mod != null) {
|
|
140676
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result2, mod, k[i]);
|
|
140677
|
+
}
|
|
140678
|
+
__setModuleDefault(result2, mod);
|
|
140679
|
+
return result2;
|
|
140680
|
+
};
|
|
140681
|
+
}();
|
|
140603
140682
|
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
140604
140683
|
exports2.WinstonLogger = void 0;
|
|
140605
140684
|
var transports_1 = require_transports();
|
|
@@ -141774,6 +141853,7 @@ var require_constants11 = __commonJS({
|
|
|
141774
141853
|
"sap.ux.help.testBetaFeatures.enableFioriAIJoule": "165a0e31-35ea-4bee-8d47-b8593435a82e",
|
|
141775
141854
|
"sap.ux.help.testBetaFeatures.enableFioriAIVsCode": "165a0e31-35ea-4bee-8d47-b8593435a82f",
|
|
141776
141855
|
"sap.ux.help.testBetaFeatures.enableFioriAIAppModeler": "165a0e31-35ea-4bee-8d47-b8593435a82g",
|
|
141856
|
+
"sap.ux.help.testBetaFeatures.enableFioriAIRapGeneration": "165a0e31-35ea-4bee-8d47-b8593435a82h",
|
|
141777
141857
|
"sap.ux.applicationModeler.testBetaFeatures.manifestEditor": true,
|
|
141778
141858
|
"sap.ux.appGenerator.testBetaFeatures.newAnnotationAPI": true
|
|
141779
141859
|
};
|
|
@@ -156970,7 +157050,6 @@ var require_factory = __commonJS({
|
|
|
156970
157050
|
var proxy_from_env_1 = require_proxy_from_env();
|
|
156971
157051
|
var https_proxy_agent_1 = require_dist18();
|
|
156972
157052
|
var http_proxy_agent_1 = require_dist19();
|
|
156973
|
-
var feature_toggle_1 = require_dist15();
|
|
156974
157053
|
var PatchedHttpsProxyAgent = class extends https_proxy_agent_1.HttpsProxyAgent {
|
|
156975
157054
|
extraOptions;
|
|
156976
157055
|
/**
|
|
@@ -157002,8 +157081,7 @@ var require_factory = __commonJS({
|
|
|
157002
157081
|
rejectUnauthorized: !providerConfig.ignoreCertErrors
|
|
157003
157082
|
};
|
|
157004
157083
|
const localProxy = (0, proxy_from_env_1.getProxyForUrl)(config.baseURL);
|
|
157005
|
-
|
|
157006
|
-
if (isPatchProxyEnabled && localProxy) {
|
|
157084
|
+
if (localProxy) {
|
|
157007
157085
|
providerConfig.httpsAgent = new PatchedHttpsProxyAgent(localProxy, agentOptions);
|
|
157008
157086
|
providerConfig.httpAgent = new http_proxy_agent_1.HttpProxyAgent(localProxy);
|
|
157009
157087
|
providerConfig.proxy = false;
|
|
@@ -160330,7 +160408,7 @@ var import_yaml2 = __toESM(require_dist5());
|
|
|
160330
160408
|
var package_default = {
|
|
160331
160409
|
name: "@sap/ux-ui5-tooling",
|
|
160332
160410
|
displayName: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
160333
|
-
version: "1.
|
|
160411
|
+
version: "1.18.0",
|
|
160334
160412
|
description: "SAP Fiori Tools \u2013 UI5 Tooling",
|
|
160335
160413
|
publisher: "SAPSE",
|
|
160336
160414
|
license: "SEE LICENSE IN LICENSE",
|
|
@@ -160365,13 +160443,12 @@ var package_default = {
|
|
|
160365
160443
|
madge: "madge --warning --circular --extensions ts ./"
|
|
160366
160444
|
},
|
|
160367
160445
|
dependencies: {
|
|
160368
|
-
"@sap-ux/preview-middleware": "0.
|
|
160446
|
+
"@sap-ux/preview-middleware": "0.20.14",
|
|
160369
160447
|
"@ui5/fs": "3.0.4",
|
|
160370
160448
|
"connect-livereload": "0.6.1",
|
|
160371
160449
|
debug: "4.3.7",
|
|
160372
160450
|
express: "4.21.2",
|
|
160373
160451
|
livereload: "0.9.3",
|
|
160374
|
-
"patch-package": "8.0.0",
|
|
160375
160452
|
semver: "7.6.3",
|
|
160376
160453
|
"update-notifier-cjs": "5.1.6"
|
|
160377
160454
|
},
|
|
@@ -160380,23 +160457,23 @@ var package_default = {
|
|
|
160380
160457
|
},
|
|
160381
160458
|
devDependencies: {
|
|
160382
160459
|
"@playwright/test": "1.51.1",
|
|
160383
|
-
"@sap-ux/adp-tooling": "0.
|
|
160384
|
-
"@sap-ux/axios-extension": "1.
|
|
160385
|
-
"@sap-ux/backend-proxy-middleware": "0.
|
|
160386
|
-
"@sap-ux/btp-utils": "1.0
|
|
160387
|
-
"@sap-ux/deploy-tooling": "0.
|
|
160388
|
-
"@sap-ux/feature-toggle": "0.
|
|
160389
|
-
"@sap-ux/guided-answers-helper": "0.
|
|
160390
|
-
"@sap-ux/logger": "0.
|
|
160391
|
-
"@sap-ux/project-access": "1.
|
|
160392
|
-
"@sap-ux/reload-middleware": "0.
|
|
160393
|
-
"@sap-ux/serve-static-middleware": "0.
|
|
160394
|
-
"@sap-ux/store": "1.
|
|
160395
|
-
"@sap-ux/telemetry": "0.
|
|
160396
|
-
"@sap-ux/ui5-config": "0.
|
|
160397
|
-
"@sap-ux/ui5-info": "0.
|
|
160398
|
-
"@sap-ux/ui5-proxy-middleware": "1.
|
|
160399
|
-
"@sap/ux-app-templates": "1.
|
|
160460
|
+
"@sap-ux/adp-tooling": "0.14.8",
|
|
160461
|
+
"@sap-ux/axios-extension": "1.21.1",
|
|
160462
|
+
"@sap-ux/backend-proxy-middleware": "0.9.1",
|
|
160463
|
+
"@sap-ux/btp-utils": "1.1.0",
|
|
160464
|
+
"@sap-ux/deploy-tooling": "0.16.2",
|
|
160465
|
+
"@sap-ux/feature-toggle": "0.3.0",
|
|
160466
|
+
"@sap-ux/guided-answers-helper": "0.3.0",
|
|
160467
|
+
"@sap-ux/logger": "0.7.0",
|
|
160468
|
+
"@sap-ux/project-access": "1.30.1",
|
|
160469
|
+
"@sap-ux/reload-middleware": "0.3.0",
|
|
160470
|
+
"@sap-ux/serve-static-middleware": "0.3.0",
|
|
160471
|
+
"@sap-ux/store": "1.1.0",
|
|
160472
|
+
"@sap-ux/telemetry": "0.6.2",
|
|
160473
|
+
"@sap-ux/ui5-config": "0.28.1",
|
|
160474
|
+
"@sap-ux/ui5-info": "0.11.0",
|
|
160475
|
+
"@sap-ux/ui5-proxy-middleware": "1.5.1",
|
|
160476
|
+
"@sap/ux-app-templates": "1.18.0",
|
|
160400
160477
|
"@types/fs-extra": "11.0.4",
|
|
160401
160478
|
"@types/jest-dev-server": "5.0.3",
|
|
160402
160479
|
"@types/marked": "4.0.1",
|