@uipath/platform-tool 1.202.0-preview.134 → 1.202.0-preview.137
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/index.js
CHANGED
|
@@ -1334,16 +1334,21 @@ function requireLoader() {
|
|
|
1334
1334
|
state.result += _result;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
|
+
function chargeMergeWork(state) {
|
|
1338
|
+
state.totalMergeKeys++;
|
|
1339
|
+
if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
|
|
1340
|
+
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1337
1343
|
function mergeMappings(state, destination, source, overridableKeys) {
|
|
1338
1344
|
if (!common2.isObject(source)) {
|
|
1339
1345
|
throwError(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
1340
1346
|
}
|
|
1347
|
+
chargeMergeWork(state);
|
|
1341
1348
|
const sourceKeys = Object.keys(source);
|
|
1342
1349
|
for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
|
|
1343
1350
|
const key = sourceKeys[index];
|
|
1344
|
-
|
|
1345
|
-
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
1346
|
-
}
|
|
1351
|
+
chargeMergeWork(state);
|
|
1347
1352
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
1348
1353
|
setProperty(destination, key, source[key]);
|
|
1349
1354
|
overridableKeys[key] = true;
|
|
@@ -1371,6 +1376,9 @@ function requireLoader() {
|
|
|
1371
1376
|
}
|
|
1372
1377
|
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
1373
1378
|
if (Array.isArray(valueNode)) {
|
|
1379
|
+
if (valueNode.length > 100) {
|
|
1380
|
+
throwError(state, "abnormal merge sequence size");
|
|
1381
|
+
}
|
|
1374
1382
|
for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
|
|
1375
1383
|
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
1376
1384
|
}
|
|
@@ -3142,4 +3150,4 @@ export {
|
|
|
3142
3150
|
types
|
|
3143
3151
|
};
|
|
3144
3152
|
|
|
3145
|
-
//# debugId=
|
|
3153
|
+
//# debugId=9FA8E718B2F80BEA64756E2164756E21
|
|
@@ -27336,7 +27336,7 @@ var require_dist2 = __commonJS(function(exports) {
|
|
|
27336
27336
|
var package_default = {
|
|
27337
27337
|
name: "@uipath/platform-tool",
|
|
27338
27338
|
license: "MIT",
|
|
27339
|
-
version: "1.202.0-preview.
|
|
27339
|
+
version: "1.202.0-preview.137",
|
|
27340
27340
|
description: "Manage UiPath platform-level resources such as tenant licensing.",
|
|
27341
27341
|
publishConfig: {
|
|
27342
27342
|
registry: "https://npm.pkg.github.com/"
|
|
@@ -30124,7 +30124,7 @@ var jmespathSlot = singleton("JmespathCodec");
|
|
|
30124
30124
|
async function loadOutputCodecsAsync(needed) {
|
|
30125
30125
|
const loads = [];
|
|
30126
30126
|
if (needed.yaml && yamlSlot.get() === undefined) {
|
|
30127
|
-
loads.push(import("./js-yaml-
|
|
30127
|
+
loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
|
|
30128
30128
|
yamlSlot.set(mod);
|
|
30129
30129
|
}));
|
|
30130
30130
|
}
|
|
@@ -31029,6 +31029,14 @@ var RETRY_HINTS = [
|
|
|
31029
31029
|
"RetryAfter30Seconds",
|
|
31030
31030
|
"RetryAfter60Seconds"
|
|
31031
31031
|
];
|
|
31032
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
31033
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
31034
|
+
function isCliErrorCode(value) {
|
|
31035
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
31036
|
+
}
|
|
31037
|
+
function isRetryHint(value) {
|
|
31038
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
31039
|
+
}
|
|
31032
31040
|
var RESULTS = {
|
|
31033
31041
|
Success: "Success",
|
|
31034
31042
|
Failure: "Failure",
|
|
@@ -31865,8 +31873,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
31865
31873
|
|
|
31866
31874
|
// ../common/src/trackedAction.ts
|
|
31867
31875
|
var pollSignalSlot = singleton("PollSignal");
|
|
31868
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
31869
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
31870
31876
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
31871
31877
|
var processContext = {
|
|
31872
31878
|
exit: (code) => {
|
|
@@ -31954,12 +31960,6 @@ function deriveCommandPath(cmd) {
|
|
|
31954
31960
|
}
|
|
31955
31961
|
return commandTelemetryName(parts);
|
|
31956
31962
|
}
|
|
31957
|
-
function isCliErrorCode(value) {
|
|
31958
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
31959
|
-
}
|
|
31960
|
-
function isRetryHint(value) {
|
|
31961
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
31962
|
-
}
|
|
31963
31963
|
function isErrorContext(value) {
|
|
31964
31964
|
return value !== null && typeof value === "object";
|
|
31965
31965
|
}
|
|
@@ -36404,4 +36404,4 @@ var registerCommands = async (program2) => {
|
|
|
36404
36404
|
|
|
36405
36405
|
export { Command, metadata, registerCommands };
|
|
36406
36406
|
|
|
36407
|
-
//# debugId=
|
|
36407
|
+
//# debugId=483DCD9DB948E03064756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/platform-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.137",
|
|
5
5
|
"description": "Manage UiPath platform-level resources such as tenant licensing.",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"keywords": [
|
|
21
21
|
"cli-tool"
|
|
22
22
|
],
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
|
|
24
24
|
}
|