@uipath/insights-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.
package/dist/index.js
CHANGED
|
@@ -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
|
-
|
|
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=
|
|
3153
|
+
//# debugId=9FA8E718B2F80BEA64756E2164756E21
|
|
@@ -2100,7 +2100,7 @@ var require_commander = __commonJS(function(exports) {
|
|
|
2100
2100
|
var package_default = {
|
|
2101
2101
|
name: "@uipath/insights-tool",
|
|
2102
2102
|
license: "MIT",
|
|
2103
|
-
version: "1.202.0-preview.
|
|
2103
|
+
version: "1.202.0-preview.136",
|
|
2104
2104
|
description: "Query UiPath Insights data — jobs, failures, and performance metrics.",
|
|
2105
2105
|
private: false,
|
|
2106
2106
|
repository: {
|
|
@@ -3200,7 +3200,7 @@ var jmespathSlot = singleton("JmespathCodec");
|
|
|
3200
3200
|
async function loadOutputCodecsAsync(needed) {
|
|
3201
3201
|
const loads = [];
|
|
3202
3202
|
if (needed.yaml && yamlSlot.get() === undefined) {
|
|
3203
|
-
loads.push(import("./js-yaml-
|
|
3203
|
+
loads.push(import("./js-yaml-88tdqrtd.js").then((mod) => {
|
|
3204
3204
|
yamlSlot.set(mod);
|
|
3205
3205
|
}));
|
|
3206
3206
|
}
|
|
@@ -5513,7 +5513,7 @@ class InsightsProtocolError extends Error {
|
|
|
5513
5513
|
var package_default2 = {
|
|
5514
5514
|
name: "@uipath/insights-sdk",
|
|
5515
5515
|
license: "MIT",
|
|
5516
|
-
version: "1.202.0-preview.
|
|
5516
|
+
version: "1.202.0-preview.136",
|
|
5517
5517
|
description: "SDK for the UiPath Insights API — jobs, failures, and performance metrics.",
|
|
5518
5518
|
repository: {
|
|
5519
5519
|
type: "git",
|
|
@@ -8547,4 +8547,4 @@ var registerCommands = async (program2) => {
|
|
|
8547
8547
|
|
|
8548
8548
|
export { Command, metadata, registerCommands };
|
|
8549
8549
|
|
|
8550
|
-
//# debugId=
|
|
8550
|
+
//# debugId=EAF8B77C7D18E99C64756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/insights-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.136",
|
|
5
5
|
"description": "Query UiPath Insights data — jobs, failures, and performance metrics.",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
|
|
30
30
|
}
|