@uipath/integrationservice-sdk 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.
Files changed (2) hide show
  1. package/dist/index.js +21 -13
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -59281,16 +59281,21 @@ function requireLoader() {
59281
59281
  state.result += _result;
59282
59282
  }
59283
59283
  }
59284
+ function chargeMergeWork(state) {
59285
+ state.totalMergeKeys++;
59286
+ if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
59287
+ throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
59288
+ }
59289
+ }
59284
59290
  function mergeMappings(state, destination, source, overridableKeys) {
59285
59291
  if (!common2.isObject(source)) {
59286
59292
  throwError(state, "cannot merge mappings; the provided source object is unacceptable");
59287
59293
  }
59294
+ chargeMergeWork(state);
59288
59295
  const sourceKeys = Object.keys(source);
59289
59296
  for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
59290
59297
  const key = sourceKeys[index];
59291
- if (state.maxTotalMergeKeys !== -1 && ++state.totalMergeKeys > state.maxTotalMergeKeys) {
59292
- throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
59293
- }
59298
+ chargeMergeWork(state);
59294
59299
  if (!_hasOwnProperty.call(destination, key)) {
59295
59300
  setProperty(destination, key, source[key]);
59296
59301
  overridableKeys[key] = true;
@@ -59318,6 +59323,9 @@ function requireLoader() {
59318
59323
  }
59319
59324
  if (keyTag === "tag:yaml.org,2002:merge") {
59320
59325
  if (Array.isArray(valueNode)) {
59326
+ if (valueNode.length > 100) {
59327
+ throwError(state, "abnormal merge sequence size");
59328
+ }
59321
59329
  for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
59322
59330
  mergeMappings(state, _result, valueNode[index], overridableKeys);
59323
59331
  }
@@ -65851,7 +65859,7 @@ class TextApiResponse2 {
65851
65859
  var package_default = {
65852
65860
  name: "@uipath/integrationservice-sdk",
65853
65861
  license: "MIT",
65854
- version: "1.202.0-preview.134",
65862
+ version: "1.202.0-preview.137",
65855
65863
  repository: {
65856
65864
  type: "git",
65857
65865
  url: "https://github.com/UiPath/cli.git",
@@ -88950,6 +88958,14 @@ var RETRY_HINTS = [
88950
88958
  "RetryAfter30Seconds",
88951
88959
  "RetryAfter60Seconds"
88952
88960
  ];
88961
+ var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
88962
+ var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
88963
+ function isCliErrorCode(value) {
88964
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
88965
+ }
88966
+ function isRetryHint(value) {
88967
+ return typeof value === "string" && RETRY_HINT_VALUES.has(value);
88968
+ }
88953
88969
  var RESULTS = {
88954
88970
  Success: "Success",
88955
88971
  Failure: "Failure",
@@ -89753,8 +89769,6 @@ function emitInvocationRequest(name, success2, properties) {
89753
89769
 
89754
89770
  // ../common/src/trackedAction.ts
89755
89771
  var pollSignalSlot = singleton("PollSignal");
89756
- var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
89757
- var retryHintValues = new Set(RETRY_HINTS);
89758
89772
  var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
89759
89773
  var TELEMETRY_ARG_VALUE_WITHHELD = "<provided>";
89760
89774
  var TELEMETRY_ARG_VALUE_DEFAULTED = "<default>";
@@ -89833,12 +89847,6 @@ function deriveCommandPath(cmd) {
89833
89847
  }
89834
89848
  return commandTelemetryName(parts);
89835
89849
  }
89836
- function isCliErrorCode(value) {
89837
- return typeof value === "string" && cliErrorCodeValues.has(value);
89838
- }
89839
- function isRetryHint(value) {
89840
- return typeof value === "string" && retryHintValues.has(value);
89841
- }
89842
89850
  function isErrorContext(value) {
89843
89851
  return value !== null && typeof value === "object";
89844
89852
  }
@@ -91933,4 +91941,4 @@ export {
91933
91941
  validateRequiredParameters
91934
91942
  };
91935
91943
 
91936
- //# debugId=9C96F2741683E18764756E2164756E21
91944
+ //# debugId=5E4DBAB4830ED6C664756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/integrationservice-sdk",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.134",
4
+ "version": "1.202.0-preview.137",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/UiPath/cli.git",
@@ -30,5 +30,5 @@
30
30
  "dependencies": {
31
31
  "@uipath/integration-service-design-time": "0.25.2"
32
32
  },
33
- "gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
33
+ "gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
34
34
  }