@uipath/orchestrator-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
|
|
@@ -2103,7 +2103,7 @@ var require_commander = __commonJS(function(exports) {
|
|
|
2103
2103
|
var package_default = {
|
|
2104
2104
|
name: "@uipath/orchestrator-tool",
|
|
2105
2105
|
license: "MIT",
|
|
2106
|
-
version: "1.202.0-preview.
|
|
2106
|
+
version: "1.202.0-preview.137",
|
|
2107
2107
|
description: "Manage Orchestrator folders, jobs, processes, and releases.",
|
|
2108
2108
|
private: false,
|
|
2109
2109
|
repository: {
|
|
@@ -3302,7 +3302,7 @@ var jmespathSlot = singleton("JmespathCodec");
|
|
|
3302
3302
|
async function loadOutputCodecsAsync(needed) {
|
|
3303
3303
|
const loads = [];
|
|
3304
3304
|
if (needed.yaml && yamlSlot.get() === undefined) {
|
|
3305
|
-
loads.push(import("./js-yaml-
|
|
3305
|
+
loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
|
|
3306
3306
|
yamlSlot.set(mod);
|
|
3307
3307
|
}));
|
|
3308
3308
|
}
|
|
@@ -4207,6 +4207,14 @@ var RETRY_HINTS = [
|
|
|
4207
4207
|
"RetryAfter30Seconds",
|
|
4208
4208
|
"RetryAfter60Seconds"
|
|
4209
4209
|
];
|
|
4210
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
4211
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
4212
|
+
function isCliErrorCode(value) {
|
|
4213
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
4214
|
+
}
|
|
4215
|
+
function isRetryHint(value) {
|
|
4216
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
4217
|
+
}
|
|
4210
4218
|
var RESULTS = {
|
|
4211
4219
|
Success: "Success",
|
|
4212
4220
|
Failure: "Failure",
|
|
@@ -5056,8 +5064,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
5056
5064
|
|
|
5057
5065
|
// ../common/src/trackedAction.ts
|
|
5058
5066
|
var pollSignalSlot = singleton("PollSignal");
|
|
5059
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
5060
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
5061
5067
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
5062
5068
|
var processContext = {
|
|
5063
5069
|
exit: (code) => {
|
|
@@ -5145,12 +5151,6 @@ function deriveCommandPath(cmd) {
|
|
|
5145
5151
|
}
|
|
5146
5152
|
return commandTelemetryName(parts);
|
|
5147
5153
|
}
|
|
5148
|
-
function isCliErrorCode(value) {
|
|
5149
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
5150
|
-
}
|
|
5151
|
-
function isRetryHint(value) {
|
|
5152
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
5153
|
-
}
|
|
5154
5154
|
function isErrorContext(value) {
|
|
5155
5155
|
return value !== null && typeof value === "object";
|
|
5156
5156
|
}
|
|
@@ -46020,4 +46020,4 @@ var registerCommands = async (program2) => {
|
|
|
46020
46020
|
|
|
46021
46021
|
export { Command, metadata, registerCommands };
|
|
46022
46022
|
|
|
46023
|
-
//# debugId=
|
|
46023
|
+
//# debugId=1BFF227AE754DC5564756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/orchestrator-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.137",
|
|
5
5
|
"description": "Manage Orchestrator folders, jobs, processes, and releases.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
|
|
30
30
|
}
|