@uipath/integrationservice-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
@@ -3,7 +3,7 @@ import {
3
3
  Command,
4
4
  metadata,
5
5
  registerCommands
6
- } from "./tool-vrrpfss5.js";
6
+ } from "./tool-45ggw0d9.js";
7
7
  import"./tool-1de529jm.js";
8
8
 
9
9
  // src/index.ts
@@ -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
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS(function(exports) {
2100
2100
  var package_default = {
2101
2101
  name: "@uipath/integrationservice-tool",
2102
2102
  license: "MIT",
2103
- version: "1.202.0-preview.134",
2103
+ version: "1.202.0-preview.137",
2104
2104
  description: "Manage Integration Service connectors, connections, and triggers.",
2105
2105
  private: false,
2106
2106
  repository: {
@@ -3516,7 +3516,7 @@ var jmespathSlot = singleton("JmespathCodec");
3516
3516
  async function loadOutputCodecsAsync(needed) {
3517
3517
  const loads = [];
3518
3518
  if (needed.yaml && yamlSlot.get() === undefined) {
3519
- loads.push(import("./js-yaml-b2jq67kn.js").then((mod) => {
3519
+ loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
3520
3520
  yamlSlot.set(mod);
3521
3521
  }));
3522
3522
  }
@@ -4421,6 +4421,14 @@ var RETRY_HINTS = [
4421
4421
  "RetryAfter30Seconds",
4422
4422
  "RetryAfter60Seconds"
4423
4423
  ];
4424
+ var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
4425
+ var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
4426
+ function isCliErrorCode(value) {
4427
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
4428
+ }
4429
+ function isRetryHint(value) {
4430
+ return typeof value === "string" && RETRY_HINT_VALUES.has(value);
4431
+ }
4424
4432
  var RESULTS = {
4425
4433
  Success: "Success",
4426
4434
  Failure: "Failure",
@@ -5224,8 +5232,6 @@ function emitInvocationRequest(name, success, properties) {
5224
5232
 
5225
5233
  // ../common/src/trackedAction.ts
5226
5234
  var pollSignalSlot = singleton("PollSignal");
5227
- var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
5228
- var retryHintValues = new Set(RETRY_HINTS);
5229
5235
  var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
5230
5236
  var processContext = {
5231
5237
  exit: (code) => {
@@ -5313,12 +5319,6 @@ function deriveCommandPath(cmd) {
5313
5319
  }
5314
5320
  return commandTelemetryName(parts);
5315
5321
  }
5316
- function isCliErrorCode(value) {
5317
- return typeof value === "string" && cliErrorCodeValues.has(value);
5318
- }
5319
- function isRetryHint(value) {
5320
- return typeof value === "string" && retryHintValues.has(value);
5321
- }
5322
5322
  function isErrorContext(value) {
5323
5323
  return value !== null && typeof value === "object";
5324
5324
  }
@@ -6775,7 +6775,7 @@ class TextApiResponse {
6775
6775
  var package_default2 = {
6776
6776
  name: "@uipath/integrationservice-sdk",
6777
6777
  license: "MIT",
6778
- version: "1.202.0-preview.134",
6778
+ version: "1.202.0-preview.137",
6779
6779
  repository: {
6780
6780
  type: "git",
6781
6781
  url: "https://github.com/UiPath/cli.git",
@@ -30642,4 +30642,4 @@ var registerCommands = async (program2) => {
30642
30642
 
30643
30643
  export { Command, metadata, registerCommands };
30644
30644
 
30645
- //# debugId=695A13280D12A9CF64756E2164756E21
30645
+ //# debugId=97382913EF3793CC64756E2164756E21
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./tool-vrrpfss5.js";
4
+ } from "./tool-45ggw0d9.js";
5
5
  import"./tool-1de529jm.js";
6
6
  export {
7
7
  metadata,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/integrationservice-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.134",
4
+ "version": "1.202.0-preview.137",
5
5
  "description": "Manage Integration Service connectors, connections, and triggers.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
29
+ "gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
30
30
  }