@uipath/data-fabric-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 "./packager-tool-rrgvhy62.js";
6
+ } from "./packager-tool-1wpxhy3w.js";
7
7
  import"./packager-tool-bndhpxxj.js";
8
8
  import"./packager-tool-1de529jm.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
@@ -6583,7 +6583,7 @@ var require_src6 = __commonJS(function(exports) {
6583
6583
  var package_default = {
6584
6584
  name: "@uipath/data-fabric-tool",
6585
6585
  license: "MIT",
6586
- version: "1.202.0-preview.134",
6586
+ version: "1.202.0-preview.137",
6587
6587
  description: "Manage Data Fabric entities and records.",
6588
6588
  publishConfig: {
6589
6589
  registry: "https://npm.pkg.github.com/"
@@ -7997,7 +7997,7 @@ var jmespathSlot = singleton("JmespathCodec");
7997
7997
  async function loadOutputCodecsAsync(needed) {
7998
7998
  const loads = [];
7999
7999
  if (needed.yaml && yamlSlot.get() === undefined) {
8000
- loads.push(import("./js-yaml-b2jq67kn.js").then((mod) => {
8000
+ loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
8001
8001
  yamlSlot.set(mod);
8002
8002
  }));
8003
8003
  }
@@ -8902,6 +8902,14 @@ var RETRY_HINTS = [
8902
8902
  "RetryAfter30Seconds",
8903
8903
  "RetryAfter60Seconds"
8904
8904
  ];
8905
+ var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
8906
+ var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
8907
+ function isCliErrorCode(value) {
8908
+ return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
8909
+ }
8910
+ function isRetryHint(value) {
8911
+ return typeof value === "string" && RETRY_HINT_VALUES.has(value);
8912
+ }
8905
8913
  var RESULTS = {
8906
8914
  Success: "Success",
8907
8915
  Failure: "Failure",
@@ -9705,8 +9713,6 @@ function emitInvocationRequest(name, success, properties) {
9705
9713
 
9706
9714
  // ../common/src/trackedAction.ts
9707
9715
  var pollSignalSlot = singleton("PollSignal");
9708
- var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
9709
- var retryHintValues = new Set(RETRY_HINTS);
9710
9716
  var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
9711
9717
  var processContext = {
9712
9718
  exit: (code) => {
@@ -9794,12 +9800,6 @@ function deriveCommandPath(cmd) {
9794
9800
  }
9795
9801
  return commandTelemetryName(parts);
9796
9802
  }
9797
- function isCliErrorCode(value) {
9798
- return typeof value === "string" && cliErrorCodeValues.has(value);
9799
- }
9800
- function isRetryHint(value) {
9801
- return typeof value === "string" && retryHintValues.has(value);
9802
- }
9803
9803
  function isErrorContext(value) {
9804
9804
  return value !== null && typeof value === "object";
9805
9805
  }
@@ -24932,4 +24932,4 @@ var registerCommands = async (program2) => {
24932
24932
 
24933
24933
  export { Command, metadata, registerCommands };
24934
24934
 
24935
- //# debugId=A8E2527768D660EC64756E2164756E21
24935
+ //# debugId=01AC58058C8B361364756E2164756E21
package/dist/tool.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  metadata,
3
3
  registerCommands
4
- } from "./packager-tool-rrgvhy62.js";
4
+ } from "./packager-tool-1wpxhy3w.js";
5
5
  import"./packager-tool-bndhpxxj.js";
6
6
  import"./packager-tool-1de529jm.js";
7
7
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/data-fabric-tool",
3
3
  "license": "MIT",
4
- "version": "1.202.0-preview.134",
4
+ "version": "1.202.0-preview.137",
5
5
  "description": "Manage Data Fabric entities and records.",
6
6
  "publishConfig": {
7
7
  "registry": "https://registry.npmjs.org/"
@@ -15,5 +15,5 @@
15
15
  "bin": {
16
16
  "data-fabric-tool": "./dist/index.js"
17
17
  },
18
- "gitHead": "a335728adbdb02f28308e4f55d8936d0b150444b"
18
+ "gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
19
19
  }