@uipath/project-packager 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 +4 -4
- package/dist/node.js +15 -7
- 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.136",
|
|
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=D0C31B01923F415064756E2164756E21
|
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
|
}
|
|
@@ -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.136",
|
|
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=C04C61F63C2A8BF464756E2164756E21
|
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.136",
|
|
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": "f6270de2c7c04f4c43b2f5187b0c3d3c314c2610"
|
|
43
43
|
}
|