@uipath/vertical-solutions-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-sg4ctd1m.js";
6
+ } from "./tool-qqccxtyv.js";
7
7
  import"./tool-mpvp5rqs.js";
8
8
  import"./tool-1yh8g550.js";
9
9
 
@@ -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
@@ -6864,7 +6864,7 @@ var require_src6 = __commonJS(function(exports) {
6864
6864
  var package_default = {
6865
6865
  name: "@uipath/vertical-solutions-tool",
6866
6866
  license: "MIT",
6867
- version: "1.202.0-preview.134",
6867
+ version: "1.202.0-preview.137",
6868
6868
  description: "Scaffold and generate Vertical Solution projects.",
6869
6869
  private: false,
6870
6870
  repository: {
@@ -7936,7 +7936,7 @@ var jmespathSlot = singleton("JmespathCodec");
7936
7936
  async function loadOutputCodecsAsync(needed) {
7937
7937
  const loads = [];
7938
7938
  if (needed.yaml && yamlSlot.get() === undefined) {
7939
- loads.push(import("./js-yaml-87tvr6f6.js").then((mod) => {
7939
+ loads.push(import("./js-yaml-87cdx6bm.js").then((mod) => {
7940
7940
  yamlSlot.set(mod);
7941
7941
  }));
7942
7942
  }
@@ -8841,6 +8841,14 @@ var RETRY_HINTS = [
8841
8841
  "RetryAfter30Seconds",
8842
8842
  "RetryAfter60Seconds"
8843
8843
  ];
8844
+ var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
8845
+ var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
8846
+ function isCliErrorCode(value) {
8847
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
8848
+ }
8849
+ function isRetryHint(value) {
8850
+ return typeof value === "string" && RETRY_HINT_VALUES.has(value);
8851
+ }
8844
8852
  var RESULTS = {
8845
8853
  Success: "Success",
8846
8854
  Failure: "Failure",
@@ -9644,8 +9652,6 @@ function emitInvocationRequest(name, success, properties) {
9644
9652
 
9645
9653
  // ../common/src/trackedAction.ts
9646
9654
  var pollSignalSlot = singleton("PollSignal");
9647
- var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
9648
- var retryHintValues = new Set(RETRY_HINTS);
9649
9655
  var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
9650
9656
  var processContext = {
9651
9657
  exit: (code) => {
@@ -9733,12 +9739,6 @@ function deriveCommandPath(cmd) {
9733
9739
  }
9734
9740
  return commandTelemetryName(parts);
9735
9741
  }
9736
- function isCliErrorCode(value) {
9737
- return typeof value === "string" && cliErrorCodeValues.has(value);
9738
- }
9739
- function isRetryHint(value) {
9740
- return typeof value === "string" && retryHintValues.has(value);
9741
- }
9742
9742
  function isErrorContext(value) {
9743
9743
  return value !== null && typeof value === "object";
9744
9744
  }
@@ -43409,4 +43409,4 @@ var registerCommands = async (program2) => {
43409
43409
 
43410
43410
  export { Command, metadata, registerCommands };
43411
43411
 
43412
- //# debugId=4AA852CDF73CCF4564756E2164756E21
43412
+ //# debugId=2CEA9EA67F21ECAD64756E2164756E21
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./tool-sg4ctd1m.js";
4
+ } from "./tool-qqccxtyv.js";
5
5
  import"./tool-mpvp5rqs.js";
6
6
  import"./tool-1yh8g550.js";
7
7
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/vertical-solutions-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.134",
4
+ "version": "1.202.0-preview.137",
5
5
  "description": "Scaffold and generate Vertical Solution projects.",
6
6
  "private": false,
7
7
  "repository": {
@@ -34,5 +34,5 @@
34
34
  "files": [
35
35
  "dist"
36
36
  ],
37
- "gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
37
+ "gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
38
38
  }