@uipath/api-workflow-tool 1.204.0-preview.254 → 1.205.0-preview.256
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/THIRD-PARTY-NOTICES.md +357 -1
- package/dist/executor-tool.js +6 -5
- package/dist/{index-sby22td6.js → index-h8cph72k.js} +1 -1
- package/dist/{index-xvxnndpj.js → index-hmex41rp.js} +4 -4
- package/dist/index-waq4trz1.js +42584 -0
- package/dist/index.js +9 -8
- package/dist/index.umd.min-fqefd9kn.js +7814 -0
- package/dist/{jmespath-231m3hyn.js → jmespath-e4a59c8w.js} +1 -1
- package/dist/{js-yaml-rtdrjz2v.js → js-yaml-69tsdrrf.js} +1 -1
- package/dist/{node-95rw21jb.js → node-6e40w839.js} +5 -5
- package/dist/packager-tool-0aacqssr.js +8944 -0
- package/dist/{packager-tool-1de529jm.js → packager-tool-1yh8g550.js} +15 -2
- package/dist/{packager-tool-53rt8wc2.js → packager-tool-687g5mq0.js} +1157 -128
- package/dist/{packager-tool-1n0det9t.js → packager-tool-bgy9gdsp.js} +21 -3
- package/dist/{packager-tool-cbez71ck.js → packager-tool-evd1kzq2.js} +5 -3
- package/dist/{packager-tool-fm7ese0m.js → packager-tool-f7zta1kg.js} +19 -5
- package/dist/{packager-tool-gg1c1x4t.js → packager-tool-kh3aq9n7.js} +256 -9094
- package/dist/{packager-tool-s5998j0x.js → packager-tool-q8fcxb31.js} +25 -13
- package/dist/{packager-tool-qh3bbws2.js → packager-tool-xak3m9vd.js} +27 -9
- package/dist/packager-tool.js +3 -3
- package/dist/tool.js +9 -8
- package/package.json +2 -2
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
normalizeIgnoredRules,
|
|
11
11
|
toolsFactoryRepository,
|
|
12
12
|
translate
|
|
13
|
-
} from "./packager-tool-
|
|
13
|
+
} from "./packager-tool-f7zta1kg.js";
|
|
14
14
|
import {
|
|
15
15
|
PackagerDimensions,
|
|
16
16
|
addSdkUserAgentHeader,
|
|
17
17
|
carriedInstructions,
|
|
18
18
|
catchError
|
|
19
|
-
} from "./packager-tool-
|
|
19
|
+
} from "./packager-tool-evd1kzq2.js";
|
|
20
20
|
// ../packager/project-packager/src/i18n/locales/de.json
|
|
21
21
|
var de_default = {
|
|
22
22
|
solutionpackager: {
|
|
@@ -150,6 +150,7 @@ var en = {
|
|
|
150
150
|
},
|
|
151
151
|
errors: {
|
|
152
152
|
connectionIncomplete: "Connection info is incomplete, so the tenant could not be asked about governance.",
|
|
153
|
+
applicationLogin: "Could not tell whether this tenant is governed (applicationLogin): the {product} policy was not requested, because AutomationOps does not accept external-application tokens yet.",
|
|
153
154
|
unknownOutcome: "Could not tell whether this tenant is governed ({reason}): {detail} Asked {url}.",
|
|
154
155
|
retryAfter: "The policy service asked for {seconds} seconds before another try.",
|
|
155
156
|
tenantPolicyWins: "The AutomationOps policy published for {product} governs this tenant, so the governance file at {path} is not used.",
|
|
@@ -1489,6 +1490,9 @@ class PackagerParameters {
|
|
|
1489
1490
|
detailedLogPath;
|
|
1490
1491
|
connection;
|
|
1491
1492
|
workflowCompilerVersion;
|
|
1493
|
+
functionsPackagerVersion;
|
|
1494
|
+
codedAppsPackagerVersion;
|
|
1495
|
+
jobTarget;
|
|
1492
1496
|
}
|
|
1493
1497
|
|
|
1494
1498
|
// ../packager/project-packager/src/models/project-restore-options.ts
|
|
@@ -3158,7 +3162,7 @@ var package_default = {
|
|
|
3158
3162
|
name: "@uipath/project-packager",
|
|
3159
3163
|
author: "UiPath",
|
|
3160
3164
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
3161
|
-
version: "1.
|
|
3165
|
+
version: "1.205.0-preview.256",
|
|
3162
3166
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
3163
3167
|
type: "module",
|
|
3164
3168
|
main: "./dist/index.js",
|
|
@@ -3288,6 +3292,10 @@ class GovernancePolicyService {
|
|
|
3288
3292
|
this.warnAndUseShippedRules(validateOptions, t("errors.connectionIncomplete"));
|
|
3289
3293
|
return;
|
|
3290
3294
|
}
|
|
3295
|
+
if (validateOptions.sessionIdentityType === "Application") {
|
|
3296
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, t("errors.applicationLogin", { product }));
|
|
3297
|
+
return;
|
|
3298
|
+
}
|
|
3291
3299
|
const licenseType = await this.resolveLicenseTypeAsync(product, connectionInfo.cloudUrl?.replace(/\/+$/, "") ?? "", connectionInfo.accessToken, cancellationToken);
|
|
3292
3300
|
const subject = {
|
|
3293
3301
|
organizationId: connectionInfo.organizationId,
|
|
@@ -3337,18 +3345,19 @@ class GovernancePolicyService {
|
|
|
3337
3345
|
return;
|
|
3338
3346
|
}
|
|
3339
3347
|
case "unknown": {
|
|
3340
|
-
this.
|
|
3341
|
-
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
3342
|
-
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
3343
|
-
this.logger.info(t("info.suppliedFileUnchecked", {
|
|
3344
|
-
path: suppliedFilePath
|
|
3345
|
-
}));
|
|
3346
|
-
}
|
|
3347
|
-
validateOptions.governanceFileType = localType;
|
|
3348
|
+
this.useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, this.describeUnknown(resolution));
|
|
3348
3349
|
return;
|
|
3349
3350
|
}
|
|
3350
3351
|
}
|
|
3351
3352
|
}
|
|
3353
|
+
useLocalRulesUnchecked(validateOptions, requestedType, suppliedFilePath, warning) {
|
|
3354
|
+
this.logger.warn(warning);
|
|
3355
|
+
const localType = localRulesType(requestedType, suppliedFilePath);
|
|
3356
|
+
if (suppliedFilePath && localType !== "Default" /* Default */) {
|
|
3357
|
+
this.logger.info(t("info.suppliedFileUnchecked", { path: suppliedFilePath }));
|
|
3358
|
+
}
|
|
3359
|
+
validateOptions.governanceFileType = localType;
|
|
3360
|
+
}
|
|
3352
3361
|
dropIgnoredRules(validateOptions, product) {
|
|
3353
3362
|
const rules = normalizeIgnoredRules(validateOptions.ignoredRules);
|
|
3354
3363
|
validateOptions.ignoredRules = undefined;
|
|
@@ -4080,7 +4089,10 @@ class ProjectPackager {
|
|
|
4080
4089
|
targetFramework: options.targetFramework ?? "Portable" /* Portable */,
|
|
4081
4090
|
connection: options.connection,
|
|
4082
4091
|
logger: this.logger,
|
|
4083
|
-
workflowCompilerVersion: options.workflowCompilerVersion
|
|
4092
|
+
workflowCompilerVersion: options.workflowCompilerVersion,
|
|
4093
|
+
functionsPackagerVersion: options.functionsPackagerVersion,
|
|
4094
|
+
codedAppsPackagerVersion: options.codedAppsPackagerVersion,
|
|
4095
|
+
jobTarget: options.jobTarget
|
|
4084
4096
|
};
|
|
4085
4097
|
}
|
|
4086
4098
|
async copyFileToDestination(sourcePath, destinationPath) {
|
|
@@ -4624,4 +4636,4 @@ class ProjectPublisher {
|
|
|
4624
4636
|
|
|
4625
4637
|
export { setGlobalLogHandler, ToolLogger, RulesConfigFileType, PackagerParameters, ProjectRestoreOptions, ProjectValidateOptions, ProjectBuildOptions, ProjectCleanupOptions, ProjectPackOptions, TelemetryNames, resolvePolicyAsync, GovernancePolicyError, GovernancePolicyService, resolveProducedNupkgsAsync, PACKAGE_ID_TOO_LONG, isPackageIdTooLongError, PackService, signNupkgsAsync, PackagerParametersValidator, ProjectBuildOptionsValidator, ProjectLoader, ProjectToolExecutor, ProjectValidateOptionsValidator, ToolsFactory, ProjectPackager, PublishDestinationKind, ProjectPublishOptions, ProjectPublisher };
|
|
4626
4638
|
|
|
4627
|
-
//# debugId=
|
|
4639
|
+
//# debugId=77FAC5FA245C8B2A64756E2164756E21
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
releaseSuppliedArgumentValues,
|
|
13
13
|
singleton,
|
|
14
14
|
walkErrorGraph
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-evd1kzq2.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__require,
|
|
19
19
|
__toESM
|
|
20
|
-
} from "./packager-tool-
|
|
20
|
+
} from "./packager-tool-1yh8g550.js";
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/commander/lib/error.js
|
|
23
23
|
var require_error = __commonJS(function(exports) {
|
|
@@ -2142,7 +2142,7 @@ class NodeFileSystem {
|
|
|
2142
2142
|
};
|
|
2143
2143
|
utils = {
|
|
2144
2144
|
open: async (url) => {
|
|
2145
|
-
const { default: open } = await import("./index-
|
|
2145
|
+
const { default: open } = await import("./index-h8cph72k.js");
|
|
2146
2146
|
await open(url);
|
|
2147
2147
|
}
|
|
2148
2148
|
};
|
|
@@ -2292,6 +2292,16 @@ class NodeFileSystem {
|
|
|
2292
2292
|
async rename(oldPath, newPath) {
|
|
2293
2293
|
await fs.rename(oldPath, newPath);
|
|
2294
2294
|
}
|
|
2295
|
+
async isSymbolicLink(filePath) {
|
|
2296
|
+
try {
|
|
2297
|
+
return (await fs.lstat(filePath)).isSymbolicLink();
|
|
2298
|
+
} catch (error) {
|
|
2299
|
+
if (this.isEnoent(error) || this.hasErrnoCode(error, "ENOTDIR")) {
|
|
2300
|
+
return false;
|
|
2301
|
+
}
|
|
2302
|
+
throw error;
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2295
2305
|
async realpath(filePath) {
|
|
2296
2306
|
try {
|
|
2297
2307
|
return await fs.realpath(filePath);
|
|
@@ -2381,7 +2391,7 @@ function setGlobalLogFilePath(path2) {
|
|
|
2381
2391
|
function getGlobalLogFilePath() {
|
|
2382
2392
|
return logFilePathSlot.get("");
|
|
2383
2393
|
}
|
|
2384
|
-
var DEFAULT_LOG_LEVEL =
|
|
2394
|
+
var DEFAULT_LOG_LEVEL = 2 /* WARN */;
|
|
2385
2395
|
|
|
2386
2396
|
class SimpleLogger {
|
|
2387
2397
|
__brand = "SimpleLogger";
|
|
@@ -2819,12 +2829,12 @@ var jmespathSlot = singleton("JmespathCodec");
|
|
|
2819
2829
|
async function loadOutputCodecsAsync(needed) {
|
|
2820
2830
|
const loads = [];
|
|
2821
2831
|
if (needed.yaml && yamlSlot.get() === undefined) {
|
|
2822
|
-
loads.push(import("./js-yaml-
|
|
2832
|
+
loads.push(import("./js-yaml-69tsdrrf.js").then((mod) => {
|
|
2823
2833
|
yamlSlot.set(mod);
|
|
2824
2834
|
}));
|
|
2825
2835
|
}
|
|
2826
2836
|
if (needed.filter && jmespathSlot.get() === undefined) {
|
|
2827
|
-
loads.push(import("./jmespath-
|
|
2837
|
+
loads.push(import("./jmespath-e4a59c8w.js").then((m)=>__toESM(m.default,1)).then((mod) => {
|
|
2828
2838
|
jmespathSlot.set(mod);
|
|
2829
2839
|
}));
|
|
2830
2840
|
}
|
|
@@ -3112,7 +3122,9 @@ var CLI_ERROR_CODES = [
|
|
|
3112
3122
|
"timeout",
|
|
3113
3123
|
"server_error",
|
|
3114
3124
|
"method_not_allowed",
|
|
3125
|
+
"not_supported",
|
|
3115
3126
|
"configuration_error",
|
|
3127
|
+
"execution_failed",
|
|
3116
3128
|
"unknown_error"
|
|
3117
3129
|
];
|
|
3118
3130
|
var RETRY_HINTS = [
|
|
@@ -4120,7 +4132,9 @@ var OutputFormatter;
|
|
|
4120
4132
|
[ErrorDimensions.Result]: data.Result,
|
|
4121
4133
|
[ErrorDimensions.ErrorCode]: data.ErrorCode,
|
|
4122
4134
|
[ErrorDimensions.Retry]: data.Retry,
|
|
4123
|
-
[ErrorDimensions.ErrorMessage]: data.Message
|
|
4135
|
+
[ErrorDimensions.ErrorMessage]: data.Message,
|
|
4136
|
+
[ErrorDimensions.HttpStatus]: data.Context?.httpStatus?.toString(),
|
|
4137
|
+
[ErrorDimensions.UpstreamErrorCode]: data.Context?.errorCode
|
|
4124
4138
|
});
|
|
4125
4139
|
}
|
|
4126
4140
|
logOutput(normalizeOutputKeys(envelope), getOutputFormat());
|
|
@@ -4792,6 +4806,10 @@ var ScreenLogger;
|
|
|
4792
4806
|
}
|
|
4793
4807
|
ScreenLogger.progress = progress;
|
|
4794
4808
|
})(ScreenLogger ||= {});
|
|
4809
|
+
// ../common/src/shell-quote.ts
|
|
4810
|
+
function quoteForShell(value) {
|
|
4811
|
+
return `'${value.replace(/'/g, "'\\''")}'`;
|
|
4812
|
+
}
|
|
4795
4813
|
// ../common/src/solution-project-types.ts
|
|
4796
4814
|
var LIBRARY_NOT_A_PROJECT = "A library cannot be a project inside a solution — it is a reusable .nupkg that other projects consume as a NuGet dependency, not a deployable unit. Build and publish it on its own ('uip rpa pack <project-dir> <output-path>', then 'uip or libraries upload --file <nupkg-path>'), and reference it from a project's dependencies. To make the published library part of this solution, add it as a resource instead: 'uip solution resources add --source remote --kind Library --name <library-name>'.";
|
|
4797
4815
|
function unsupportedSolutionProjectType(projectType) {
|
|
@@ -4804,6 +4822,6 @@ function unsupportedSolutionProjectType(projectType) {
|
|
|
4804
4822
|
var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
4805
4823
|
// ../common/src/tool-provider.ts
|
|
4806
4824
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
4807
|
-
export { NodeFileSystem, getFileSystem, logger, DebugTelemetryProvider, NodeContextStorage, RESULTS, SuccessOutput, FailureOutput, OutputFormatter, Command, processContext, registerPackageMetadataOptions, mapPackageMetadataOptions, unsupportedSolutionProjectType };
|
|
4825
|
+
export { NodeFileSystem, getFileSystem, logger, DebugTelemetryProvider, NodeContextStorage, RESULTS, SuccessOutput, FailureOutput, OutputFormatter, Command, Option, processContext, registerPackageMetadataOptions, mapPackageMetadataOptions, quoteForShell, unsupportedSolutionProjectType };
|
|
4808
4826
|
|
|
4809
|
-
//# debugId=
|
|
4827
|
+
//# debugId=6B2CD8DEE305984F64756E2164756E21
|
package/dist/packager-tool.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerPackagerFactories
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-bgy9gdsp.js";
|
|
4
|
+
import"./packager-tool-f7zta1kg.js";
|
|
5
|
+
import"./packager-tool-1yh8g550.js";
|
|
6
6
|
export {
|
|
7
7
|
registerPackagerFactories
|
|
8
8
|
};
|
package/dist/tool.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
metadata,
|
|
3
3
|
registerCommands
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-687g5mq0.js";
|
|
5
|
+
import"./packager-tool-bgy9gdsp.js";
|
|
6
|
+
import"./packager-tool-f7zta1kg.js";
|
|
7
|
+
import"./packager-tool-kh3aq9n7.js";
|
|
8
|
+
import"./packager-tool-xak3m9vd.js";
|
|
9
|
+
import"./packager-tool-evd1kzq2.js";
|
|
10
|
+
import"./packager-tool-0aacqssr.js";
|
|
10
11
|
import"./packager-tool-d3w0wn6k.js";
|
|
11
|
-
import"./packager-tool-
|
|
12
|
+
import"./packager-tool-1yh8g550.js";
|
|
12
13
|
export {
|
|
13
14
|
metadata,
|
|
14
15
|
registerCommands
|
|
15
16
|
};
|
|
16
17
|
|
|
17
|
-
//# debugId=
|
|
18
|
+
//# debugId=E2C761283604C84064756E2164756E21
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/api-workflow-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.205.0-preview.256",
|
|
6
6
|
"description": "Run UiPath API Workflows locally.",
|
|
7
7
|
"private": false,
|
|
8
8
|
"repository": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"files": [
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "63740c6cbb7ff282fa9118cc16a148eb030b245f"
|
|
30
30
|
}
|