@uipath/codedapp-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-h630x08t.js → index-bmzhf5fp.js} +1 -1
- package/dist/index.js +2 -2
- package/dist/{js-yaml-87tvr6f6.js → js-yaml-87cdx6bm.js} +12 -4
- package/dist/{packager-tool-vcw2ht7n.js → packager-tool-dhmzfax7.js} +10 -10
- package/dist/{packager-tool-s019q130.js → packager-tool-hmkqrzhj.js} +5 -5
- package/dist/tool.js +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-hmkqrzhj.js";
|
|
6
6
|
import {
|
|
7
7
|
Command
|
|
8
|
-
} from "./packager-tool-
|
|
8
|
+
} from "./packager-tool-dhmzfax7.js";
|
|
9
9
|
import"./packager-tool-8hncwr6a.js";
|
|
10
10
|
import"./packager-tool-qyctya2j.js";
|
|
11
11
|
import"./packager-tool-14ha5twz.js";
|
|
@@ -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
|
|
@@ -3257,7 +3257,7 @@ var jmespathSlot = singleton("JmespathCodec");
|
|
|
3257
3257
|
async function loadOutputCodecsAsync(needed) {
|
|
3258
3258
|
const loads = [];
|
|
3259
3259
|
if (needed.yaml && yamlSlot.get() === undefined) {
|
|
3260
|
-
loads.push(import("./js-yaml-
|
|
3260
|
+
loads.push(import("./js-yaml-87cdx6bm.js").then((mod) => {
|
|
3261
3261
|
yamlSlot.set(mod);
|
|
3262
3262
|
}));
|
|
3263
3263
|
}
|
|
@@ -4242,6 +4242,14 @@ var RETRY_HINTS = [
|
|
|
4242
4242
|
"RetryAfter30Seconds",
|
|
4243
4243
|
"RetryAfter60Seconds"
|
|
4244
4244
|
];
|
|
4245
|
+
var CLI_ERROR_CODE_VALUES = new Set(CLI_ERROR_CODES);
|
|
4246
|
+
var RETRY_HINT_VALUES = new Set(RETRY_HINTS);
|
|
4247
|
+
function isCliErrorCode(value) {
|
|
4248
|
+
return typeof value === "string" && CLI_ERROR_CODE_VALUES.has(value);
|
|
4249
|
+
}
|
|
4250
|
+
function isRetryHint(value) {
|
|
4251
|
+
return typeof value === "string" && RETRY_HINT_VALUES.has(value);
|
|
4252
|
+
}
|
|
4245
4253
|
var RESULTS = {
|
|
4246
4254
|
Success: "Success",
|
|
4247
4255
|
Failure: "Failure",
|
|
@@ -5012,8 +5020,6 @@ function emitInvocationRequest(name, success, properties) {
|
|
|
5012
5020
|
|
|
5013
5021
|
// ../common/src/trackedAction.ts
|
|
5014
5022
|
var pollSignalSlot = singleton("PollSignal");
|
|
5015
|
-
var cliErrorCodeValues = new Set(CLI_ERROR_CODES);
|
|
5016
|
-
var retryHintValues = new Set(RETRY_HINTS);
|
|
5017
5023
|
var TELEMETRY_COMMAND_ARG_PREFIX = "uip.cmd.arg.";
|
|
5018
5024
|
var processContext = {
|
|
5019
5025
|
exit: (code) => {
|
|
@@ -5101,12 +5107,6 @@ function deriveCommandPath(cmd) {
|
|
|
5101
5107
|
}
|
|
5102
5108
|
return commandTelemetryName(parts);
|
|
5103
5109
|
}
|
|
5104
|
-
function isCliErrorCode(value) {
|
|
5105
|
-
return typeof value === "string" && cliErrorCodeValues.has(value);
|
|
5106
|
-
}
|
|
5107
|
-
function isRetryHint(value) {
|
|
5108
|
-
return typeof value === "string" && retryHintValues.has(value);
|
|
5109
|
-
}
|
|
5110
5110
|
function isErrorContext(value) {
|
|
5111
5111
|
return value !== null && typeof value === "object";
|
|
5112
5112
|
}
|
|
@@ -6002,4 +6002,4 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
6002
6002
|
|
|
6003
6003
|
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, makeTrackedFetch, RESULTS, OutputFormatter, InvalidArgumentError, Command, Option, processContext, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, trackShipSucceeded, normalizeProjectType, tryRegisterProjectInParentSolution, findNearestParentUipxFile, findSolutionFileUpward };
|
|
6004
6004
|
|
|
6005
|
-
//# debugId=
|
|
6005
|
+
//# debugId=C3FC84B4491CF09364756E2164756E21
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
registerPackageMetadataOptions,
|
|
20
20
|
trackShipSucceeded,
|
|
21
21
|
tryRegisterProjectInParentSolution
|
|
22
|
-
} from "./packager-tool-
|
|
22
|
+
} from "./packager-tool-dhmzfax7.js";
|
|
23
23
|
import {
|
|
24
24
|
getLoginStatusAsync
|
|
25
25
|
} from "./packager-tool-8hncwr6a.js";
|
|
@@ -30726,7 +30726,7 @@ var require_ignore = __commonJS(function(exports, module) {
|
|
|
30726
30726
|
var package_default = {
|
|
30727
30727
|
name: "@uipath/codedapp-tool",
|
|
30728
30728
|
license: "MIT",
|
|
30729
|
-
version: "1.202.0-preview.
|
|
30729
|
+
version: "1.202.0-preview.137",
|
|
30730
30730
|
description: "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
|
|
30731
30731
|
keywords: [
|
|
30732
30732
|
"cli-tool",
|
|
@@ -54878,7 +54878,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
54878
54878
|
var package_default2 = {
|
|
54879
54879
|
name: "@uipath/solution-sdk",
|
|
54880
54880
|
license: "MIT",
|
|
54881
|
-
version: "1.202.0-preview.
|
|
54881
|
+
version: "1.202.0-preview.137",
|
|
54882
54882
|
repository: {
|
|
54883
54883
|
type: "git",
|
|
54884
54884
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -55177,7 +55177,7 @@ var SUCCEEDED = "creationsucceeded";
|
|
|
55177
55177
|
var TERMINAL = new Set([SUCCEEDED, "creationfailed", "validationfailed"]);
|
|
55178
55178
|
// src/services/project-artifacts.ts
|
|
55179
55179
|
async function ensureProjectArtifacts(args) {
|
|
55180
|
-
const { addProjectArtifactsToSolutionAsync } = await import("./index-
|
|
55180
|
+
const { addProjectArtifactsToSolutionAsync } = await import("./index-bmzhf5fp.js");
|
|
55181
55181
|
return addProjectArtifactsToSolutionAsync(args);
|
|
55182
55182
|
}
|
|
55183
55183
|
|
|
@@ -59403,4 +59403,4 @@ var registerCommands = async (program) => {
|
|
|
59403
59403
|
|
|
59404
59404
|
export { metadata, registerCommands };
|
|
59405
59405
|
|
|
59406
|
-
//# debugId=
|
|
59406
|
+
//# debugId=11185A09C57E31F364756E2164756E21
|
package/dist/tool.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata,
|
|
3
3
|
registerCommands
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-hmkqrzhj.js";
|
|
5
|
+
import"./packager-tool-dhmzfax7.js";
|
|
6
6
|
import"./packager-tool-8hncwr6a.js";
|
|
7
7
|
import"./packager-tool-qyctya2j.js";
|
|
8
8
|
import"./packager-tool-14ha5twz.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/codedapp-tool",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.202.0-preview.
|
|
4
|
+
"version": "1.202.0-preview.137",
|
|
5
5
|
"description": "Build, pack, publish, deploy, and manage UiPath Coded Web Applications.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"cli-tool",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"registry": "https://registry.npmjs.org/"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "bbb20a6d3501afc3435a92af9ae2e9f7ab2e34f6"
|
|
32
32
|
}
|