@uipath/tasks-tool 1.202.0-preview.134 → 1.202.0-preview.136

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.
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  FoldersApi,
3
3
  createApiClient
4
- } from "./tool-qn7k71xr.js";
4
+ } from "./tool-1b723ek8.js";
5
5
  import {
6
6
  OutputFormatter,
7
7
  RESULTS,
8
8
  catchError,
9
9
  extractErrorMessage,
10
10
  processContext
11
- } from "./tool-hw4xam46.js";
11
+ } from "./tool-wfqnt43t.js";
12
12
  import {
13
13
  __commonJS,
14
14
  __require,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveFolder
3
- } from "./tool-qn7k71xr.js";
3
+ } from "./tool-1b723ek8.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-hw4xam46.js";
11
+ } from "./tool-wfqnt43t.js";
12
12
  import"./tool-1de529jm.js";
13
13
 
14
14
  // src/commands/_shared/folder-resolver.ts
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./tool-a08zj7gp.js";
5
+ } from "./tool-p1m6mq0e.js";
6
6
  import {
7
7
  Command
8
- } from "./tool-hw4xam46.js";
8
+ } from "./tool-wfqnt43t.js";
9
9
  import"./tool-bndhpxxj.js";
10
10
  import"./tool-1de529jm.js";
11
11
 
@@ -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
- if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
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=3FF8535573D0966A64756E2164756E21
3153
+ //# debugId=9FA8E718B2F80BEA64756E2164756E21
@@ -3,7 +3,7 @@ import {
3
3
  getAuthContext,
4
4
  getSdkUserAgentToken,
5
5
  installSdkUserAgentHeader
6
- } from "./tool-hw4xam46.js";
6
+ } from "./tool-wfqnt43t.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(/\/+$/, "");
@@ -9,7 +9,7 @@ import {
9
9
  extractErrorMessageSync,
10
10
  getLoginStatusAsync,
11
11
  processContext
12
- } from "./tool-hw4xam46.js";
12
+ } from "./tool-wfqnt43t.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.134",
4505
+ version: "1.202.0-preview.136",
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-dw5hfekc.js");
17400
+ const { resolveFolderIdByKey } = await import("./folder-resolver-6pbmf1am.js");
17401
17401
  return resolveFolderIdByKey(options.folderKey, options.tenant);
17402
17402
  }
17403
17403
  if (options.folderPath !== undefined) {
17404
- const { resolveFolderIdByPath } = await import("./folder-resolver-dw5hfekc.js");
17404
+ const { resolveFolderIdByPath } = await import("./folder-resolver-6pbmf1am.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-3azd89s7.js");
17424
+ const { pickFolderInteractively } = await import("./folder-picker-interactive-1j0ncph1.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=C9F19EF32E9CEB2C64756E2164756E21
18246
+ //# debugId=2014E5AA70F189F664756E2164756E21
@@ -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-b2jq67kn.js").then((mod) => {
3485
+ loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
3486
3486
  yamlSlot.set(mod);
3487
3487
  }));
3488
3488
  }
package/dist/tool.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./tool-a08zj7gp.js";
5
- import"./tool-hw4xam46.js";
4
+ } from "./tool-p1m6mq0e.js";
5
+ import"./tool-wfqnt43t.js";
6
6
  import"./tool-bndhpxxj.js";
7
7
  import"./tool-1de529jm.js";
8
8
  export {
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.134",
4
+ "version": "1.202.0-preview.136",
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": "a335728adbdb02f28308e4f55d8936d0b150444b"
17
+ "gitHead": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
18
18
  }