@uipath/tasks-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/{folder-picker-interactive-3azd89s7.js → folder-picker-interactive-cemwakjy.js} +2 -2
- package/dist/{folder-resolver-dw5hfekc.js → folder-resolver-49ay4zqg.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{js-yaml-b2jq67kn.js → js-yaml-88tdqrtd.js} +12 -4
- package/dist/{tool-hw4xam46.js → tool-0p2s3vs0.js} +10 -10
- package/dist/{tool-a08zj7gp.js → tool-8s70m7tv.js} +6 -6
- package/dist/{tool-qn7k71xr.js → tool-jb6g20y7.js} +1 -1
- package/dist/tool.js +2 -2
- package/package.json +2 -2
package/dist/{folder-picker-interactive-3azd89s7.js → folder-picker-interactive-cemwakjy.js}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FoldersApi,
|
|
3
3
|
createApiClient
|
|
4
|
-
} from "./tool-
|
|
4
|
+
} from "./tool-jb6g20y7.js";
|
|
5
5
|
import {
|
|
6
6
|
OutputFormatter,
|
|
7
7
|
RESULTS,
|
|
8
8
|
catchError,
|
|
9
9
|
extractErrorMessage,
|
|
10
10
|
processContext
|
|
11
|
-
} from "./tool-
|
|
11
|
+
} from "./tool-0p2s3vs0.js";
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveFolder
|
|
3
|
-
} from "./tool-
|
|
3
|
+
} from "./tool-jb6g20y7.js";
|
|
4
4
|
import {
|
|
5
5
|
OutputFormatter,
|
|
6
6
|
RESULTS,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
extractErrorMessage,
|
|
9
9
|
isGuid,
|
|
10
10
|
processContext
|
|
11
|
-
} from "./tool-
|
|
11
|
+
} from "./tool-0p2s3vs0.js";
|
|
12
12
|
import"./tool-1de529jm.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/_shared/folder-resolver.ts
|
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
|
|
@@ -3482,7 +3482,7 @@ var jmespathSlot = singleton("JmespathCodec");
|
|
|
3482
3482
|
async function loadOutputCodecsAsync(needed) {
|
|
3483
3483
|
const loads = [];
|
|
3484
3484
|
if (needed.yaml && yamlSlot.get() === undefined) {
|
|
3485
|
-
loads.push(import("./js-yaml-
|
|
3485
|
+
loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
|
|
3486
3486
|
yamlSlot.set(mod);
|
|
3487
3487
|
}));
|
|
3488
3488
|
}
|
|
@@ -4387,6 +4387,14 @@ var RETRY_HINTS = [
|
|
|
4387
4387
|
"RetryAfter30Seconds",
|
|
4388
4388
|
"RetryAfter60Seconds"
|
|
4389
4389
|
];
|
|
4390
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
4391
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
4392
|
+
function isCliErrorCode(value) {
|
|
4393
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
4394
|
+
}
|
|
4395
|
+
function isRetryHint(value) {
|
|
4396
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
4397
|
+
}
|
|
4390
4398
|
var RESULTS = {
|
|
4391
4399
|
Success: "Success",
|
|
4392
4400
|
Failure: "Failure",
|
|
@@ -5173,8 +5181,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
5173
5181
|
|
|
5174
5182
|
// ../common/src/trackedAction.ts
|
|
5175
5183
|
var pollSignalSlot = singleton("PollSignal");
|
|
5176
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
5177
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
5178
5184
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
5179
5185
|
var processContext = {
|
|
5180
5186
|
exit: (code) => {
|
|
@@ -5262,12 +5268,6 @@ function deriveCommandPath(cmd) {
|
|
|
5262
5268
|
}
|
|
5263
5269
|
return commandTelemetryName(parts);
|
|
5264
5270
|
}
|
|
5265
|
-
function isCliErrorCode(value) {
|
|
5266
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
5267
|
-
}
|
|
5268
|
-
function isRetryHint(value) {
|
|
5269
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
5270
|
-
}
|
|
5271
5271
|
function isErrorContext(value) {
|
|
5272
5272
|
return value !== null && typeof value === "object";
|
|
5273
5273
|
}
|
|
@@ -7119,4 +7119,4 @@ var TENANT_SELECTION_CODES = new Set([
|
|
|
7119
7119
|
]);
|
|
7120
7120
|
export { catchError, extractErrorMessage, extractErrorMessageSync, RESULTS, OutputFormatter, classifiedFailure, Command, Option, processContext, isGuid, createHiddenDeprecatedTenantOption, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, getLoginStatusAsync, getAuthContext };
|
|
7121
7121
|
|
|
7122
|
-
//# debugId=
|
|
7122
|
+
//# debugId=37A22F4EA96982F164756E2164756E21
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
extractErrorMessageSync,
|
|
10
10
|
getLoginStatusAsync,
|
|
11
11
|
processContext
|
|
12
|
-
} from "./tool-
|
|
12
|
+
} from "./tool-0p2s3vs0.js";
|
|
13
13
|
import {
|
|
14
14
|
require_src
|
|
15
15
|
} from "./tool-bndhpxxj.js";
|
|
@@ -4502,7 +4502,7 @@ var require_src6 = __commonJS(function(exports) {
|
|
|
4502
4502
|
var package_default = {
|
|
4503
4503
|
name: "@uipath/tasks-tool",
|
|
4504
4504
|
license: "MIT",
|
|
4505
|
-
version: "1.202.0-preview.
|
|
4505
|
+
version: "1.202.0-preview.137",
|
|
4506
4506
|
description: "Manage Action Center tasks.",
|
|
4507
4507
|
publishConfig: {
|
|
4508
4508
|
registry: "https://npm.pkg.github.com/"
|
|
@@ -17397,11 +17397,11 @@ async function resolveFolderScope(options) {
|
|
|
17397
17397
|
return parseIntArg(options.folderId, "--folder-id");
|
|
17398
17398
|
}
|
|
17399
17399
|
if (options.folderKey !== undefined) {
|
|
17400
|
-
const { resolveFolderIdByKey } = await import("./folder-resolver-
|
|
17400
|
+
const { resolveFolderIdByKey } = await import("./folder-resolver-49ay4zqg.js");
|
|
17401
17401
|
return resolveFolderIdByKey(options.folderKey, options.tenant);
|
|
17402
17402
|
}
|
|
17403
17403
|
if (options.folderPath !== undefined) {
|
|
17404
|
-
const { resolveFolderIdByPath } = await import("./folder-resolver-
|
|
17404
|
+
const { resolveFolderIdByPath } = await import("./folder-resolver-49ay4zqg.js");
|
|
17405
17405
|
return resolveFolderIdByPath(options.folderPath, options.tenant);
|
|
17406
17406
|
}
|
|
17407
17407
|
return;
|
|
@@ -17421,7 +17421,7 @@ async function resolveFolderId(options, missingFolderInstructions = DEFAULT_FOLD
|
|
|
17421
17421
|
processContext.exit(1);
|
|
17422
17422
|
return null;
|
|
17423
17423
|
}
|
|
17424
|
-
const { pickFolderInteractively } = await import("./folder-picker-interactive-
|
|
17424
|
+
const { pickFolderInteractively } = await import("./folder-picker-interactive-cemwakjy.js");
|
|
17425
17425
|
return pickFolderInteractively(options.tenant);
|
|
17426
17426
|
}
|
|
17427
17427
|
|
|
@@ -18243,4 +18243,4 @@ var registerCommands = async (program) => {
|
|
|
18243
18243
|
|
|
18244
18244
|
export { metadata, registerCommands };
|
|
18245
18245
|
|
|
18246
|
-
//# debugId=
|
|
18246
|
+
//# debugId=EA9AF3CF16DFF1E464756E2164756E21
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getAuthContext,
|
|
4
4
|
getSdkUserAgentToken,
|
|
5
5
|
installSdkUserAgentHeader
|
|
6
|
-
} from "./tool-
|
|
6
|
+
} from "./tool-0p2s3vs0.js";
|
|
7
7
|
|
|
8
8
|
// ../orchestrator-sdk/generated/src/runtime.ts
|
|
9
9
|
var BASE_PATH = "https://alpha.uipath.com/uipattycyrhx/abizon_1/orchestrator_".replace(/\/+$/, "");
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/tasks-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.137",
|
|
5
5
|
"description": "Manage Action Center tasks.",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"bin": {
|
|
15
15
|
"tasks-tool": "./dist/index.js"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
|
|
18
18
|
}
|