@uipath/platform-tool 1.201.0 → 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,4 +1,4 @@
1
- import"./tool-0v6na3yp.js";
1
+ import"./tool-1de529jm.js";
2
2
 
3
3
  // ../../node_modules/@jmespath-community/jmespath/dist/index.mjs
4
4
  var isObject = (obj) => {
@@ -2027,32 +2027,32 @@ var jmespath = {
2027
2027
  TYPE_STRING
2028
2028
  };
2029
2029
  export {
2030
- unregisterFunction,
2031
- tokenize,
2032
- search,
2033
- registerFunction,
2034
- register,
2035
- jmespath,
2036
- isRegistered,
2037
- getRegisteredFunctions,
2038
- getCustomFunctions,
2039
- jmespath as default,
2040
- compile,
2041
- clearCustomFunctions,
2042
- TreeInterpreter2 as TreeInterpreter,
2043
- TYPE_STRING,
2044
- TYPE_OBJECT,
2045
- TYPE_NUMBER,
2046
- TYPE_NULL,
2047
- TYPE_EXPREF,
2048
- TYPE_BOOLEAN,
2049
- TYPE_ARRAY_STRING,
2050
- TYPE_ARRAY_OBJECT,
2051
- TYPE_ARRAY_NUMBER,
2052
- TYPE_ARRAY_ARRAY,
2053
- TYPE_ARRAY,
2030
+ Scope,
2054
2031
  TYPE_ANY,
2055
- Scope
2032
+ TYPE_ARRAY,
2033
+ TYPE_ARRAY_ARRAY,
2034
+ TYPE_ARRAY_NUMBER,
2035
+ TYPE_ARRAY_OBJECT,
2036
+ TYPE_ARRAY_STRING,
2037
+ TYPE_BOOLEAN,
2038
+ TYPE_EXPREF,
2039
+ TYPE_NULL,
2040
+ TYPE_NUMBER,
2041
+ TYPE_OBJECT,
2042
+ TYPE_STRING,
2043
+ TreeInterpreter2 as TreeInterpreter,
2044
+ clearCustomFunctions,
2045
+ compile,
2046
+ jmespath as default,
2047
+ getCustomFunctions,
2048
+ getRegisteredFunctions,
2049
+ isRegistered,
2050
+ jmespath,
2051
+ register,
2052
+ registerFunction,
2053
+ search,
2054
+ tokenize,
2055
+ unregisterFunction
2056
2056
  };
2057
2057
 
2058
- //# debugId=FA9FB28BF9A093C864756E2164756E21
2058
+ //# debugId=046020B702C7051664756E2164756E21
@@ -1,4 +1,4 @@
1
- import"./tool-0v6na3yp.js";
1
+ import"./tool-1de529jm.js";
2
2
 
3
3
  // ../../node_modules/open/index.js
4
4
  import process7 from "node:process";
@@ -626,9 +626,9 @@ defineLazyProperty(apps, "safari", () => detectPlatformBinary({
626
626
  }));
627
627
  var open_default = open;
628
628
  export {
629
- openApp,
629
+ apps,
630
630
  open_default as default,
631
- apps
631
+ openApp
632
632
  };
633
633
 
634
- //# debugId=75EAFE8AF98B350C64756E2164756E21
634
+ //# debugId=42C9AEC59ECC644E64756E2164756E21
package/dist/index.js CHANGED
@@ -3,11 +3,8 @@ import {
3
3
  Command,
4
4
  metadata,
5
5
  registerCommands
6
- } from "./tool-s2r2atzn.js";
7
- import"./tool-9qecd4wb.js";
8
- import"./tool-nnna1hq7.js";
9
- import"./tool-5arsyj36.js";
10
- import"./tool-0v6na3yp.js";
6
+ } from "./tool-c3st79s9.js";
7
+ import"./tool-1de529jm.js";
11
8
 
12
9
  // src/index.ts
13
10
  var program = new Command;
@@ -15,4 +12,4 @@ program.name(metadata.commandPrefix).description(metadata.description).version(m
15
12
  await registerCommands(program);
16
13
  program.parse(process.argv);
17
14
 
18
- //# debugId=D4AC7E67D74917B464756E2164756E21
15
+ //# debugId=A9AF5D9DCB90B50764756E2164756E21
@@ -1,4 +1,4 @@
1
- import"./tool-0v6na3yp.js";
1
+ import"./tool-1de529jm.js";
2
2
 
3
3
  // ../../node_modules/js-yaml/dist/js-yaml.mjs
4
4
  function getDefaultExportFromCjs(x) {
@@ -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
  }
@@ -3125,21 +3133,21 @@ var {
3125
3133
  safeDump
3126
3134
  } = yaml;
3127
3135
  export {
3128
- types,
3129
- safeLoadAll,
3130
- safeLoad,
3131
- safeDump,
3132
- loadAll,
3133
- load,
3134
- dump,
3135
- yaml as default,
3136
- YAMLException,
3137
- Type,
3138
- Schema,
3139
- JSON_SCHEMA,
3140
- FAILSAFE_SCHEMA,
3136
+ CORE_SCHEMA,
3141
3137
  DEFAULT_SCHEMA,
3142
- CORE_SCHEMA
3138
+ FAILSAFE_SCHEMA,
3139
+ JSON_SCHEMA,
3140
+ Schema,
3141
+ Type,
3142
+ YAMLException,
3143
+ yaml as default,
3144
+ dump,
3145
+ load,
3146
+ loadAll,
3147
+ safeDump,
3148
+ safeLoad,
3149
+ safeLoadAll,
3150
+ types
3143
3151
  };
3144
3152
 
3145
- //# debugId=6D9E579FD7979E6964756E2164756E21
3153
+ //# debugId=9FA8E718B2F80BEA64756E2164756E21
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
27
- });
22
+ if (mod && typeof mod === "object" || typeof mod === "function") {
23
+ for (let key of __getOwnPropNames(mod))
24
+ if (!__hasOwnProp.call(to, key))
25
+ __defProp(to, key, {
26
+ get: __accessProp.bind(mod, key),
27
+ enumerable: true
28
+ });
29
+ }
28
30
  if (canCache)
29
31
  cache.set(mod, to);
30
32
  return to;
@@ -34,4 +36,4 @@ var __require = /* @__PURE__ */ createRequire(import.meta.url);
34
36
 
35
37
  export { __toESM, __commonJS, __require };
36
38
 
37
- //# debugId=C61B9583F8C9819B64756E2164756E21
39
+ //# debugId=4A15A0D6FCDB684764756E2164756E21