@uipath/project-packager 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 +4 -4
- package/dist/node.js +23 -15
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -24215,7 +24215,7 @@ import { translate as translate3 } from "@uipath/solutionpackager-tool-core";
|
|
|
24215
24215
|
var package_default = {
|
|
24216
24216
|
name: "@uipath/project-packager",
|
|
24217
24217
|
license: "MIT",
|
|
24218
|
-
version: "1.202.0-preview.
|
|
24218
|
+
version: "1.202.0-preview.137",
|
|
24219
24219
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
24220
24220
|
type: "module",
|
|
24221
24221
|
main: "./dist/index.js",
|
|
@@ -24277,11 +24277,11 @@ var package_default = {
|
|
|
24277
24277
|
"@uipath/packager-tool-functions": "workspace:*",
|
|
24278
24278
|
"@uipath/packager-tool-webapp": "workspace:*",
|
|
24279
24279
|
"@uipath/packager-tool-workflowcompiler": "workspace:*",
|
|
24280
|
-
"@vitest/coverage-v8": "^4.1.
|
|
24280
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
24281
24281
|
jsdom: "^30.0.1",
|
|
24282
24282
|
typescript: "^7.0.2",
|
|
24283
24283
|
"vite-tsconfig-paths": "^6.1.1",
|
|
24284
|
-
vitest: "^4.1.
|
|
24284
|
+
vitest: "^4.1.11"
|
|
24285
24285
|
}
|
|
24286
24286
|
};
|
|
24287
24287
|
|
|
@@ -25495,4 +25495,4 @@ export {
|
|
|
25495
25495
|
signNupkgsAsync
|
|
25496
25496
|
};
|
|
25497
25497
|
|
|
25498
|
-
//# debugId=
|
|
25498
|
+
//# debugId=A2E43BA402D7D48A64756E2164756E21
|
package/dist/node.js
CHANGED
|
@@ -3292,16 +3292,21 @@ function requireLoader() {
|
|
|
3292
3292
|
state.result += _result;
|
|
3293
3293
|
}
|
|
3294
3294
|
}
|
|
3295
|
+
function chargeMergeWork(state) {
|
|
3296
|
+
state.totalMergeKeys++;
|
|
3297
|
+
if (state.maxTotalMergeKeys !== -1 && state.totalMergeKeys > state.maxTotalMergeKeys) {
|
|
3298
|
+
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
3299
|
+
}
|
|
3300
|
+
}
|
|
3295
3301
|
function mergeMappings(state, destination, source, overridableKeys) {
|
|
3296
3302
|
if (!common2.isObject(source)) {
|
|
3297
3303
|
throwError(state, "cannot merge mappings; the provided source object is unacceptable");
|
|
3298
3304
|
}
|
|
3305
|
+
chargeMergeWork(state);
|
|
3299
3306
|
const sourceKeys = Object.keys(source);
|
|
3300
3307
|
for (let index = 0, quantity = sourceKeys.length;index < quantity; index += 1) {
|
|
3301
3308
|
const key = sourceKeys[index];
|
|
3302
|
-
|
|
3303
|
-
throwError(state, "merge keys exceeded maxTotalMergeKeys (" + state.maxTotalMergeKeys + ")");
|
|
3304
|
-
}
|
|
3309
|
+
chargeMergeWork(state);
|
|
3305
3310
|
if (!_hasOwnProperty.call(destination, key)) {
|
|
3306
3311
|
setProperty(destination, key, source[key]);
|
|
3307
3312
|
overridableKeys[key] = true;
|
|
@@ -3329,6 +3334,9 @@ function requireLoader() {
|
|
|
3329
3334
|
}
|
|
3330
3335
|
if (keyTag === "tag:yaml.org,2002:merge") {
|
|
3331
3336
|
if (Array.isArray(valueNode)) {
|
|
3337
|
+
if (valueNode.length > 100) {
|
|
3338
|
+
throwError(state, "abnormal merge sequence size");
|
|
3339
|
+
}
|
|
3332
3340
|
for (let index = 0, quantity = valueNode.length;index < quantity; index += 1) {
|
|
3333
3341
|
mergeMappings(state, _result, valueNode[index], overridableKeys);
|
|
3334
3342
|
}
|
|
@@ -11188,6 +11196,14 @@ var RETRY_HINTS = [
|
|
|
11188
11196
|
"RetryAfter30Seconds",
|
|
11189
11197
|
"RetryAfter60Seconds"
|
|
11190
11198
|
];
|
|
11199
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
11200
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
11201
|
+
function isCliErrorCode(value) {
|
|
11202
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
11203
|
+
}
|
|
11204
|
+
function isRetryHint(value) {
|
|
11205
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
11206
|
+
}
|
|
11191
11207
|
var RESULTS = {
|
|
11192
11208
|
Success: "Success",
|
|
11193
11209
|
Failure: "Failure",
|
|
@@ -11979,8 +11995,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
11979
11995
|
}
|
|
11980
11996
|
}
|
|
11981
11997
|
var pollSignalSlot = singleton("PollSignal");
|
|
11982
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
11983
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
11984
11998
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
11985
11999
|
var TELEMETRY_ARG_VALUE_WITHHELD = "<provided>";
|
|
11986
12000
|
var TELEMETRY_ARG_VALUE_DEFAULTED = "<default>";
|
|
@@ -12059,12 +12073,6 @@ function deriveCommandPath(cmd) {
|
|
|
12059
12073
|
}
|
|
12060
12074
|
return commandTelemetryName(parts);
|
|
12061
12075
|
}
|
|
12062
|
-
function isCliErrorCode(value) {
|
|
12063
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
12064
|
-
}
|
|
12065
|
-
function isRetryHint(value) {
|
|
12066
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
12067
|
-
}
|
|
12068
12076
|
function isErrorContext(value) {
|
|
12069
12077
|
return value !== null && typeof value === "object";
|
|
12070
12078
|
}
|
|
@@ -13864,7 +13872,7 @@ import { translate as translate9 } from "@uipath/solutionpackager-tool-core";
|
|
|
13864
13872
|
var package_default = {
|
|
13865
13873
|
name: "@uipath/project-packager",
|
|
13866
13874
|
license: "MIT",
|
|
13867
|
-
version: "1.202.0-preview.
|
|
13875
|
+
version: "1.202.0-preview.137",
|
|
13868
13876
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
13869
13877
|
type: "module",
|
|
13870
13878
|
main: "./dist/index.js",
|
|
@@ -13926,11 +13934,11 @@ var package_default = {
|
|
|
13926
13934
|
"@uipath/packager-tool-functions": "workspace:*",
|
|
13927
13935
|
"@uipath/packager-tool-webapp": "workspace:*",
|
|
13928
13936
|
"@uipath/packager-tool-workflowcompiler": "workspace:*",
|
|
13929
|
-
"@vitest/coverage-v8": "^4.1.
|
|
13937
|
+
"@vitest/coverage-v8": "^4.1.11",
|
|
13930
13938
|
jsdom: "^30.0.1",
|
|
13931
13939
|
typescript: "^7.0.2",
|
|
13932
13940
|
"vite-tsconfig-paths": "^6.1.1",
|
|
13933
|
-
vitest: "^4.1.
|
|
13941
|
+
vitest: "^4.1.11"
|
|
13934
13942
|
}
|
|
13935
13943
|
};
|
|
13936
13944
|
|
|
@@ -14321,4 +14329,4 @@ export {
|
|
|
14321
14329
|
signNupkgsAsync
|
|
14322
14330
|
};
|
|
14323
14331
|
|
|
14324
|
-
//# debugId=
|
|
14332
|
+
//# debugId=88C589FACAC05A0264756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/project-packager",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.137",
|
|
5
5
|
"description": "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"fflate": "^0.8.2"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
|
|
43
43
|
}
|