@uipath/packager-tool-datafabric 1.201.0-preview.134 → 1.201.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/init.js +40 -24
- package/package.json +2 -13
package/dist/init.js
CHANGED
|
@@ -2011,16 +2011,21 @@ function requireLoader() {
|
|
|
2011
2011
|
state.result += _result;
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
|
+
function chargeMergeWork(state) {
|
|
2015
|
+
state.totalMergeKeys++;
|
|
2016
|
+
if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
|
|
2017
|
+
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
2018
|
+
}
|
|
2019
|
+
}
|
|
2014
2020
|
function mergeMappings(state, destination, source, overridableKeys) {
|
|
2015
2021
|
if (!common2.isObject(source)) {
|
|
2016
2022
|
throwError(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
2017
2023
|
}
|
|
2024
|
+
chargeMergeWork(state);
|
|
2018
2025
|
const sourceKeys = Object.keys(source);
|
|
2019
2026
|
for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
|
|
2020
2027
|
const key = sourceKeys[index];
|
|
2021
|
-
|
|
2022
|
-
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
2023
|
-
}
|
|
2028
|
+
chargeMergeWork(state);
|
|
2024
2029
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
2025
2030
|
setProperty(destination, key, source[key]);
|
|
2026
2031
|
overridableKeys[key] = true;
|
|
@@ -2048,6 +2053,9 @@ function requireLoader() {
|
|
|
2048
2053
|
}
|
|
2049
2054
|
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
2050
2055
|
if (Array.isArray(valueNode)) {
|
|
2056
|
+
if (valueNode.length > 100) {
|
|
2057
|
+
throwError(state, "abnormal merge sequence size");
|
|
2058
|
+
}
|
|
2051
2059
|
for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
|
|
2052
2060
|
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
2053
2061
|
}
|
|
@@ -9883,6 +9891,14 @@ var RETRY_HINTS = [
|
|
|
9883
9891
|
"RetryAfter30Seconds",
|
|
9884
9892
|
"RetryAfter60Seconds"
|
|
9885
9893
|
];
|
|
9894
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
9895
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
9896
|
+
function isCliErrorCode(value) {
|
|
9897
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
9898
|
+
}
|
|
9899
|
+
function isRetryHint(value) {
|
|
9900
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
9901
|
+
}
|
|
9886
9902
|
var RESULTS = {
|
|
9887
9903
|
Success: "Success",
|
|
9888
9904
|
Failure: "Failure",
|
|
@@ -10674,8 +10690,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
10674
10690
|
}
|
|
10675
10691
|
}
|
|
10676
10692
|
var pollSignalSlot = singleton("PollSignal");
|
|
10677
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
10678
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
10679
10693
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
10680
10694
|
var TELEMETRY_ARG_VALUE_WITHHELD = "<provided>";
|
|
10681
10695
|
var TELEMETRY_ARG_VALUE_DEFAULTED = "<default>";
|
|
@@ -10754,12 +10768,6 @@ function deriveCommandPath(cmd) {
|
|
|
10754
10768
|
}
|
|
10755
10769
|
return commandTelemetryName(parts);
|
|
10756
10770
|
}
|
|
10757
|
-
function isCliErrorCode(value) {
|
|
10758
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
10759
|
-
}
|
|
10760
|
-
function isRetryHint(value) {
|
|
10761
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
10762
|
-
}
|
|
10763
10771
|
function isErrorContext(value) {
|
|
10764
10772
|
return value !== null && typeof value === "object";
|
|
10765
10773
|
}
|
|
@@ -14301,16 +14309,21 @@ function requireLoader2() {
|
|
|
14301
14309
|
state.result += _result;
|
|
14302
14310
|
}
|
|
14303
14311
|
}
|
|
14312
|
+
function chargeMergeWork(state) {
|
|
14313
|
+
state.totalMergeKeys++;
|
|
14314
|
+
if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
|
|
14315
|
+
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
14316
|
+
}
|
|
14317
|
+
}
|
|
14304
14318
|
function mergeMappings(state, destination, source, overridableKeys) {
|
|
14305
14319
|
if (!common2.isObject(source)) {
|
|
14306
14320
|
throwError(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
14307
14321
|
}
|
|
14322
|
+
chargeMergeWork(state);
|
|
14308
14323
|
const sourceKeys = Object.keys(source);
|
|
14309
14324
|
for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
|
|
14310
14325
|
const key = sourceKeys[index];
|
|
14311
|
-
|
|
14312
|
-
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
14313
|
-
}
|
|
14326
|
+
chargeMergeWork(state);
|
|
14314
14327
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
14315
14328
|
setProperty(destination, key, source[key]);
|
|
14316
14329
|
overridableKeys[key] = true;
|
|
@@ -14338,6 +14351,9 @@ function requireLoader2() {
|
|
|
14338
14351
|
}
|
|
14339
14352
|
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
14340
14353
|
if (Array.isArray(valueNode)) {
|
|
14354
|
+
if (valueNode.length > 100) {
|
|
14355
|
+
throwError(state, "abnormal merge sequence size");
|
|
14356
|
+
}
|
|
14341
14357
|
for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
|
|
14342
14358
|
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
14343
14359
|
}
|
|
@@ -20635,7 +20651,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
20635
20651
|
var package_default = {
|
|
20636
20652
|
name: "@uipath/solution-sdk",
|
|
20637
20653
|
license: "MIT",
|
|
20638
|
-
version: "1.202.0-preview.
|
|
20654
|
+
version: "1.202.0-preview.137",
|
|
20639
20655
|
repository: {
|
|
20640
20656
|
type: "git",
|
|
20641
20657
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -22522,6 +22538,14 @@ var RETRY_HINTS2 = [
|
|
|
22522
22538
|
"RetryAfter30Seconds",
|
|
22523
22539
|
"RetryAfter60Seconds"
|
|
22524
22540
|
];
|
|
22541
|
+
var CLI_ERROR_CODE_VALUES2 = new Set(CLI_ERROR_CODES2);
|
|
22542
|
+
var RETRY_HINT_VALUES2 = new Set(RETRY_HINTS2);
|
|
22543
|
+
function isCliErrorCode2(value) {
|
|
22544
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES2.has(value);
|
|
22545
|
+
}
|
|
22546
|
+
function isRetryHint2(value) {
|
|
22547
|
+
return typeof value === "string" && RETRY_HINT_VALUES2.has(value);
|
|
22548
|
+
}
|
|
22525
22549
|
var RESULTS2 = {
|
|
22526
22550
|
Success: "Success",
|
|
22527
22551
|
Failure: "Failure",
|
|
@@ -23313,8 +23337,6 @@ function emitInvocationRequest2(name, success, properties) {
|
|
|
23313
23337
|
}
|
|
23314
23338
|
}
|
|
23315
23339
|
var pollSignalSlot2 = singleton2("PollSignal");
|
|
23316
|
-
var cliErrorCodeValues2 = new Set(CLI_ERROR_CODES2);
|
|
23317
|
-
var retryHintValues2 = new Set(RETRY_HINTS2);
|
|
23318
23340
|
var TELEMETRY_COMMAND_ARG_PREFIX2 = "uip.cmd.arg.";
|
|
23319
23341
|
var TELEMETRY_ARG_VALUE_WITHHELD2 = "<provided>";
|
|
23320
23342
|
var TELEMETRY_ARG_VALUE_DEFAULTED2 = "<default>";
|
|
@@ -23393,12 +23415,6 @@ function deriveCommandPath2(cmd) {
|
|
|
23393
23415
|
}
|
|
23394
23416
|
return commandTelemetryName2(parts);
|
|
23395
23417
|
}
|
|
23396
|
-
function isCliErrorCode2(value) {
|
|
23397
|
-
return typeof value === "string" && cliErrorCodeValues2.has(value);
|
|
23398
|
-
}
|
|
23399
|
-
function isRetryHint2(value) {
|
|
23400
|
-
return typeof value === "string" && retryHintValues2.has(value);
|
|
23401
|
-
}
|
|
23402
23418
|
function isErrorContext2(value) {
|
|
23403
23419
|
return value !== null && typeof value === "object";
|
|
23404
23420
|
}
|
|
@@ -24472,4 +24488,4 @@ export {
|
|
|
24472
24488
|
entityInitAsync
|
|
24473
24489
|
};
|
|
24474
24490
|
|
|
24475
|
-
//# debugId=
|
|
24491
|
+
//# debugId=243EAB02ACE146A464756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/packager-tool-datafabric",
|
|
3
|
-
"version": "1.201.0-preview.
|
|
3
|
+
"version": "1.201.0-preview.137",
|
|
4
4
|
"description": "UiPath Data Fabric entity schema, validation and packaging library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,19 +28,8 @@
|
|
|
28
28
|
],
|
|
29
29
|
"author": "",
|
|
30
30
|
"license": "ISC",
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@types/node": "^25.5.2",
|
|
33
|
-
"@uipath/common": "1.202.0",
|
|
34
|
-
"@uipath/entity-modeler": "0.0.5-alpha.2",
|
|
35
|
-
"@uipath/filesystem": "1.202.0",
|
|
36
|
-
"@uipath/solution-sdk": "1.202.0",
|
|
37
|
-
"@uipath/solutionpackager-tool-core": "1.202.0",
|
|
38
|
-
"@vitest/coverage-v8": "^4.1.6",
|
|
39
|
-
"typescript": "^7.0.2",
|
|
40
|
-
"vitest": "^4.1.6"
|
|
41
|
-
},
|
|
42
31
|
"peerDependencies": {
|
|
43
32
|
"@uipath/solutionpackager-tool-core": "1.202.0"
|
|
44
33
|
},
|
|
45
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
|
|
46
35
|
}
|