@uipath/codedapp-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.
@@ -8,7 +8,7 @@ import {
8
8
  isGuid,
9
9
  logger,
10
10
  normalizeProjectType
11
- } from "./packager-tool-vcw2ht7n.js";
11
+ } from "./packager-tool-m2s480fb.js";
12
12
  import {
13
13
  getAuthContext,
14
14
  getLoginStatusAsync
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./packager-tool-s019q130.js";
5
+ } from "./packager-tool-1vgs817s.js";
6
6
  import {
7
7
  Command
8
- } from "./packager-tool-vcw2ht7n.js";
8
+ } from "./packager-tool-m2s480fb.js";
9
9
  import"./packager-tool-8hncwr6a.js";
10
10
  import"./packager-tool-qyctya2j.js";
11
11
  import"./packager-tool-14ha5twz.js";
@@ -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
@@ -19,7 +19,7 @@ import {
19
19
  registerPackageMetadataOptions,
20
20
  trackShipSucceeded,
21
21
  tryRegisterProjectInParentSolution
22
- } from "./packager-tool-vcw2ht7n.js";
22
+ } from "./packager-tool-m2s480fb.js";
23
23
  import {
24
24
  getLoginStatusAsync
25
25
  } from "./packager-tool-8hncwr6a.js";
@@ -30726,7 +30726,7 @@ var require_ignore = __commonJS(function(exports, module) {
30726
30726
  var package_default = {
30727
30727
  name: "@uipath/codedapp-tool",
30728
30728
  license: "MIT",
30729
- version: "1.202.0-preview.134",
30729
+ version: "1.202.0-preview.136",
30730
30730
  description: "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
30731
30731
  keywords: [
30732
30732
  "cli-tool",
@@ -54878,7 +54878,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
54878
54878
  var package_default2 = {
54879
54879
  name: "@uipath/solution-sdk",
54880
54880
  license: "MIT",
54881
- version: "1.202.0-preview.134",
54881
+ version: "1.202.0-preview.136",
54882
54882
  repository: {
54883
54883
  type: "git",
54884
54884
  url: "https://github.com/UiPath/cli.git",
@@ -55177,7 +55177,7 @@ var SUCCEEDED = "creationsucceeded";
55177
55177
  var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
55178
55178
  // src/services/project-artifacts.ts
55179
55179
  async function ensureProjectArtifacts(args) {
55180
- const { addProjectArtifactsToSolutionAsync } = await import("./index-h630x08t.js");
55180
+ const { addProjectArtifactsToSolutionAsync } = await import("./index-gd2fv6s7.js");
55181
55181
  return addProjectArtifactsToSolutionAsync(args);
55182
55182
  }
55183
55183
 
@@ -59403,4 +59403,4 @@ var registerCommands = async (program) => {
59403
59403
 
59404
59404
  export { metadata, registerCommands };
59405
59405
 
59406
- //# debugId=9952A90A302A276164756E2164756E21
59406
+ //# debugId=752432A245B7692964756E2164756E21
@@ -3257,7 +3257,7 @@ var jmespathSlot = singleton("JmespathCodec");
3257
3257
  async function loadOutputCodecsAsync(needed) {
3258
3258
  const loads = [];
3259
3259
  if (needed.yaml && yamlSlot.get() === undefined) {
3260
- loads.push(import("./js-yaml-87tvr6f6.js").then((mod) => {
3260
+ loads.push(import("./js-yaml-87cdx6bm.js").then((mod) => {
3261
3261
  yamlSlot.set(mod);
3262
3262
  }));
3263
3263
  }
package/dist/tool.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-s019q130.js";
5
- import"./packager-tool-vcw2ht7n.js";
4
+ } from "./packager-tool-1vgs817s.js";
5
+ import"./packager-tool-m2s480fb.js";
6
6
  import"./packager-tool-8hncwr6a.js";
7
7
  import"./packager-tool-qyctya2j.js";
8
8
  import"./packager-tool-14ha5twz.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/codedapp-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.134",
4
+ "version": "1.202.0-preview.136",
5
5
  "description": "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
6
6
  "keywords": [
7
7
  "cli-tool",
@@ -28,5 +28,5 @@
28
28
  "publishConfig": {
29
29
  "registry": "https://registry.npmjs.org/"
30
30
  },
31
- "gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
31
+ "gitHead": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
32
32
  }