@uipath/api-workflow-tool 1.204.0-preview.271 → 1.204.0-preview.275
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 +2 -2
- package/dist/{index-c1bgas35.js → index-cqfnx4rs.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{node-3vjbh8j5.js → node-rwzacmsv.js} +1 -1
- package/dist/{packager-tool-9rnq2mpm.js → packager-tool-4d5w9dha.js} +78 -24
- package/dist/{packager-tool-fpn50ytj.js → packager-tool-btma4eng.js} +2 -2
- package/dist/tool.js +1 -1
- package/package.json +2 -2
|
@@ -17,7 +17,7 @@ those licences require.
|
|
|
17
17
|
- define-lazy-prop@3.0.0 — MIT
|
|
18
18
|
- fast-deep-equal@3.1.3 — MIT
|
|
19
19
|
- fast-redact@3.5.0 — MIT
|
|
20
|
-
- fast-uri@3.1.
|
|
20
|
+
- fast-uri@3.1.9 — BSD-3-Clause
|
|
21
21
|
- fflate@0.8.3 — MIT
|
|
22
22
|
- ignore@5.3.2 — MIT
|
|
23
23
|
- is-docker@3.0.0 — MIT
|
|
@@ -249,7 +249,7 @@ SOFTWARE.
|
|
|
249
249
|
|
|
250
250
|
---
|
|
251
251
|
|
|
252
|
-
## fast-uri@3.1.
|
|
252
|
+
## fast-uri@3.1.9
|
|
253
253
|
|
|
254
254
|
SPDX: BSD-3-Clause
|
|
255
255
|
|
package/dist/index.js
CHANGED
|
@@ -3545,6 +3545,37 @@ var require_utils = __commonJS(function(exports, module) {
|
|
|
3545
3545
|
}
|
|
3546
3546
|
return output.join("");
|
|
3547
3547
|
}
|
|
3548
|
+
function removeDotSegmentsRelative(path) {
|
|
3549
|
+
if (path === "" || path[0] === "/") {
|
|
3550
|
+
return removeDotSegments(path);
|
|
3551
|
+
}
|
|
3552
|
+
const segments = path.split("/");
|
|
3553
|
+
const last = segments.length - 1;
|
|
3554
|
+
const output = [];
|
|
3555
|
+
let trailingDirectory = false;
|
|
3556
|
+
for (let i = 0;i <= last; i++) {
|
|
3557
|
+
const segment = segments[i];
|
|
3558
|
+
if (segment === "." || segment === "..") {
|
|
3559
|
+
if (segment === "..") {
|
|
3560
|
+
if (output.length !== 0 && output[output.length - 1] !== "..") {
|
|
3561
|
+
output.pop();
|
|
3562
|
+
} else {
|
|
3563
|
+
output.push("..");
|
|
3564
|
+
}
|
|
3565
|
+
}
|
|
3566
|
+
trailingDirectory = i === last;
|
|
3567
|
+
} else {
|
|
3568
|
+
output.push(segment);
|
|
3569
|
+
}
|
|
3570
|
+
}
|
|
3571
|
+
if (trailingDirectory && output[output.length - 1] !== "..") {
|
|
3572
|
+
output.push("");
|
|
3573
|
+
}
|
|
3574
|
+
if (output.length === 0 || output[0] === "" || output[0].includes(":")) {
|
|
3575
|
+
output.unshift(".");
|
|
3576
|
+
}
|
|
3577
|
+
return output.join("/");
|
|
3578
|
+
}
|
|
3548
3579
|
var HOST_DELIMS = { "@": "%40", "/": "%2F", "?": "%3F", "#": "%23", ":": "%3A" };
|
|
3549
3580
|
var HOST_DELIM_RE = /[@/?#:]/g;
|
|
3550
3581
|
var HOST_DELIM_NO_COLON_RE = /[@/?#]/g;
|
|
@@ -3805,6 +3836,7 @@ var require_utils = __commonJS(function(exports, module) {
|
|
|
3805
3836
|
encodeFragment,
|
|
3806
3837
|
escapePreservingEscapes,
|
|
3807
3838
|
removeDotSegments,
|
|
3839
|
+
removeDotSegmentsRelative,
|
|
3808
3840
|
isIPv4,
|
|
3809
3841
|
isUUID,
|
|
3810
3842
|
normalizeIPv6,
|
|
@@ -3989,16 +4021,18 @@ var require_schemes = __commonJS(function(exports, module) {
|
|
|
3989
4021
|
|
|
3990
4022
|
// ../../node_modules/fast-uri/index.js
|
|
3991
4023
|
var require_fast_uri = __commonJS(function(exports, module) {
|
|
3992
|
-
var { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
4024
|
+
var { normalizeIPv6, removeDotSegments, removeDotSegmentsRelative, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, serializePathEncoding, normalizeQueryFragmentEncoding, encodeQuery, encodeFragment, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();
|
|
3993
4025
|
var { SCHEMES, getSchemeHandler } = require_schemes();
|
|
3994
4026
|
var VALID_SCHEME = /^[A-Za-z][A-Za-z0-9+.-]*$/u;
|
|
3995
4027
|
var MALFORMED_SCHEME_ERROR = "URI scheme is malformed.";
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
4028
|
+
var MALFORMED_HOST_ERROR = "URI host is malformed.";
|
|
4029
|
+
var FORBIDDEN_DOMAIN_HOST_CHARACTER = /[\0-\x20"#/:<>?@[\\\]^`{|}\x7F]/u;
|
|
4030
|
+
function validateScheme(scheme) {
|
|
4031
|
+
const stringScheme = String(scheme);
|
|
4032
|
+
if (!VALID_SCHEME.test(stringScheme)) {
|
|
3999
4033
|
throw new TypeError(MALFORMED_SCHEME_ERROR);
|
|
4000
4034
|
}
|
|
4001
|
-
return
|
|
4035
|
+
return stringScheme;
|
|
4002
4036
|
}
|
|
4003
4037
|
function normalize(uri, options) {
|
|
4004
4038
|
if (typeof uri === "string") {
|
|
@@ -4033,6 +4067,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4033
4067
|
const resolvedSchemeHandler = getSchemeHandler(options && options.scheme || resolved.scheme);
|
|
4034
4068
|
const resolvedHost = resolved.host;
|
|
4035
4069
|
const resolvedHostIsIP = resolvedHost !== undefined && resolvedHost !== "" && (isIPv4(resolvedHost) || normalizeIPv6(resolvedHost).isIPV6);
|
|
4070
|
+
if (hasForbiddenDomainHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP)) {
|
|
4071
|
+
throw new Error(MALFORMED_HOST_ERROR);
|
|
4072
|
+
}
|
|
4036
4073
|
canonicalizeHost(resolved, options || {}, resolvedSchemeHandler, resolvedHostIsIP);
|
|
4037
4074
|
const encodedASCIIHost = resolvedHost && resolvedHost.indexOf("%") !== -1 && !/\P{ASCII}/u.test(resolvedHost);
|
|
4038
4075
|
if (resolved.error && !encodedASCIIHost) {
|
|
@@ -4074,14 +4111,15 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4074
4111
|
if (relative.path[0] === "/") {
|
|
4075
4112
|
target.path = removeDotSegments(relative.path);
|
|
4076
4113
|
} else {
|
|
4077
|
-
|
|
4114
|
+
const baseHasAuthority = base.userinfo !== undefined || base.host !== undefined || base.port !== undefined;
|
|
4115
|
+
if (baseHasAuthority && !base.path) {
|
|
4078
4116
|
target.path = "/" + relative.path;
|
|
4079
4117
|
} else if (!base.path) {
|
|
4080
4118
|
target.path = relative.path;
|
|
4081
4119
|
} else {
|
|
4082
4120
|
target.path = base.path.slice(0, base.path.lastIndexOf("/") + 1) + relative.path;
|
|
4083
4121
|
}
|
|
4084
|
-
target.path = removeDotSegments(target.path);
|
|
4122
|
+
target.path = base.scheme === undefined && !baseHasAuthority && target.path[0] !== "/" ? removeDotSegmentsRelative(target.path) : removeDotSegments(target.path);
|
|
4085
4123
|
}
|
|
4086
4124
|
target.query = relative.query;
|
|
4087
4125
|
}
|
|
@@ -4119,13 +4157,14 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4119
4157
|
const options = Object.assign({}, opts);
|
|
4120
4158
|
const uriTokens = [];
|
|
4121
4159
|
if (component.scheme) {
|
|
4122
|
-
component.scheme =
|
|
4160
|
+
component.scheme = validateScheme(component.scheme);
|
|
4123
4161
|
}
|
|
4124
4162
|
const schemeHandler = getSchemeHandler(options.scheme || component.scheme);
|
|
4125
4163
|
if (schemeHandler && schemeHandler.serialize)
|
|
4126
4164
|
schemeHandler.serialize(component, options);
|
|
4127
4165
|
const hasAuthority = component.userinfo !== undefined || component.host !== undefined || component.port !== undefined;
|
|
4128
|
-
const
|
|
4166
|
+
const schemelessReference = (component.scheme === undefined || options.reference === "suffix") && !hasAuthority;
|
|
4167
|
+
const pathNoScheme = !options.skipEscape && schemelessReference;
|
|
4129
4168
|
if (component.path !== undefined) {
|
|
4130
4169
|
if (!options.skipEscape) {
|
|
4131
4170
|
component.path = serializePathEncoding(component.path, pathNoScheme);
|
|
@@ -4134,7 +4173,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4134
4173
|
}
|
|
4135
4174
|
}
|
|
4136
4175
|
if (options.reference !== "suffix" && component.scheme) {
|
|
4137
|
-
component.scheme =
|
|
4176
|
+
component.scheme = validateScheme(component.scheme);
|
|
4138
4177
|
uriTokens.push(component.scheme, ":");
|
|
4139
4178
|
}
|
|
4140
4179
|
const authority = recomposeAuthority(component);
|
|
@@ -4150,9 +4189,9 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4150
4189
|
if (component.path !== undefined) {
|
|
4151
4190
|
let s = component.path;
|
|
4152
4191
|
if (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) {
|
|
4153
|
-
s = removeDotSegments(s);
|
|
4192
|
+
s = schemelessReference && s[0] !== "/" ? removeDotSegmentsRelative(s) : removeDotSegments(s);
|
|
4154
4193
|
}
|
|
4155
|
-
if (
|
|
4194
|
+
if (schemelessReference) {
|
|
4156
4195
|
s = serializePathEncoding(s, true);
|
|
4157
4196
|
}
|
|
4158
4197
|
if (authority === undefined && s[0] === "/" && s[1] === "/") {
|
|
@@ -4200,16 +4239,32 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4200
4239
|
return hasMalformedPercentEncoding(matches[3]) || host !== undefined && !isIPLiteral(host) && hasMalformedPercentEncoding(host) || hasMalformedPercentEncoding(matches[6]) || hasMalformedPercentEncoding(matches[7]) || hasMalformedPercentEncoding(matches[8]);
|
|
4201
4240
|
}
|
|
4202
4241
|
function canonicalizeHost(parsed, options, schemeHandler, isIP) {
|
|
4242
|
+
if (hasForbiddenDomainHost(parsed, options, schemeHandler, isIP)) {
|
|
4243
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
4244
|
+
return true;
|
|
4245
|
+
}
|
|
4203
4246
|
if (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport) && parsed.host && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) {
|
|
4247
|
+
let url;
|
|
4204
4248
|
try {
|
|
4205
|
-
|
|
4249
|
+
url = new URL("http://" + parsed.host);
|
|
4206
4250
|
} catch (e) {
|
|
4207
4251
|
parsed.error = parsed.error || "Host's domain name can not be converted to ASCII: " + e;
|
|
4208
4252
|
return true;
|
|
4209
4253
|
}
|
|
4254
|
+
if (!isHostOnlyURL(url)) {
|
|
4255
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
4256
|
+
return true;
|
|
4257
|
+
}
|
|
4258
|
+
parsed.host = url.hostname;
|
|
4210
4259
|
}
|
|
4211
4260
|
return false;
|
|
4212
4261
|
}
|
|
4262
|
+
function hasForbiddenDomainHost(parsed, options, schemeHandler, isIP) {
|
|
4263
|
+
return Boolean(parsed.host && isIP === false && !isIPLiteral(parsed.host) && (options.domainHost || schemeHandler && schemeHandler.domainHost) && FORBIDDEN_DOMAIN_HOST_CHARACTER.test(parsed.host));
|
|
4264
|
+
}
|
|
4265
|
+
function isHostOnlyURL(url) {
|
|
4266
|
+
return url.username === "" && url.password === "" && url.port === "" && url.pathname === "/" && url.search === "" && url.hash === "" && url.hostname !== "";
|
|
4267
|
+
}
|
|
4213
4268
|
function parseWithStatus(uri, opts) {
|
|
4214
4269
|
const options = Object.assign({}, opts);
|
|
4215
4270
|
const parsed = {
|
|
@@ -4264,9 +4319,8 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4264
4319
|
parsed.query = matches[7];
|
|
4265
4320
|
parsed.fragment = matches[8];
|
|
4266
4321
|
if (parsed.scheme !== undefined) {
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
parsed.scheme = decodedScheme.toLowerCase();
|
|
4322
|
+
if (VALID_SCHEME.test(parsed.scheme)) {
|
|
4323
|
+
parsed.scheme = parsed.scheme.toLowerCase();
|
|
4270
4324
|
} else {
|
|
4271
4325
|
parsed.error = parsed.error || MALFORMED_SCHEME_ERROR;
|
|
4272
4326
|
malformedScheme = true;
|
|
@@ -4294,7 +4348,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4294
4348
|
malformedIPLiteral = hasIPLiteralBracket && (!bracketedIPLiteral || ipv6result.error === true);
|
|
4295
4349
|
parsed.host = isIP ? ipv6result.host : ipv6result.host.toLowerCase();
|
|
4296
4350
|
if (malformedIPLiteral) {
|
|
4297
|
-
parsed.error = parsed.error ||
|
|
4351
|
+
parsed.error = parsed.error || MALFORMED_HOST_ERROR;
|
|
4298
4352
|
malformedAuthorityOrPort = true;
|
|
4299
4353
|
}
|
|
4300
4354
|
} else {
|
|
@@ -4322,7 +4376,7 @@ var require_fast_uri = __commonJS(function(exports, module) {
|
|
|
4322
4376
|
if (!isIP) {
|
|
4323
4377
|
host = normalizePercentEncoding(host.toLowerCase());
|
|
4324
4378
|
}
|
|
4325
|
-
parsed.host = reescapeHostDelimiters(host, isIP);
|
|
4379
|
+
parsed.host = isIP || options.scheme !== "null" ? reescapeHostDelimiters(host, isIP) : host;
|
|
4326
4380
|
}
|
|
4327
4381
|
if (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {
|
|
4328
4382
|
if (parsed.path) {
|
|
@@ -7420,7 +7474,7 @@ var package_default = {
|
|
|
7420
7474
|
name: "@uipath/api-workflow-tool",
|
|
7421
7475
|
author: "UiPath",
|
|
7422
7476
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
7423
|
-
version: "1.204.0-preview.
|
|
7477
|
+
version: "1.204.0-preview.275",
|
|
7424
7478
|
description: "Run UiPath API Workflows locally.",
|
|
7425
7479
|
private: false,
|
|
7426
7480
|
repository: {
|
|
@@ -8004,7 +8058,7 @@ var package_default2 = {
|
|
|
8004
8058
|
name: "@uipath/integrationservice-sdk",
|
|
8005
8059
|
author: "UiPath",
|
|
8006
8060
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
8007
|
-
version: "1.204.0-preview.
|
|
8061
|
+
version: "1.204.0-preview.275",
|
|
8008
8062
|
repository: {
|
|
8009
8063
|
type: "git",
|
|
8010
8064
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -14636,7 +14690,7 @@ Subcommands:
|
|
|
14636
14690
|
// src/commands/packager-shared.ts
|
|
14637
14691
|
async function createPackager() {
|
|
14638
14692
|
registerPackagerFactories();
|
|
14639
|
-
const { createNodeProjectPackager } = await import("./node-
|
|
14693
|
+
const { createNodeProjectPackager } = await import("./node-rwzacmsv.js");
|
|
14640
14694
|
return await createNodeProjectPackager({
|
|
14641
14695
|
logHandler: logger.handleLog
|
|
14642
14696
|
});
|
|
@@ -14659,7 +14713,7 @@ async function setupProject(packager, projectPath) {
|
|
|
14659
14713
|
return packager.setupAsync(absPath);
|
|
14660
14714
|
}
|
|
14661
14715
|
async function buildBaseOptions() {
|
|
14662
|
-
const { ProjectPackOptions } = await import("./index-
|
|
14716
|
+
const { ProjectPackOptions } = await import("./index-cqfnx4rs.js");
|
|
14663
14717
|
const sdkLogLevelMap = {
|
|
14664
14718
|
[0 /* DEBUG */]: "Debug" /* Debug */,
|
|
14665
14719
|
[1 /* INFO */]: "Information" /* Info */,
|
|
@@ -14956,7 +15010,7 @@ var package_default3 = {
|
|
|
14956
15010
|
name: "@uipath/solution-sdk",
|
|
14957
15011
|
author: "UiPath",
|
|
14958
15012
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
14959
|
-
version: "1.204.0-preview.
|
|
15013
|
+
version: "1.204.0-preview.275",
|
|
14960
15014
|
repository: {
|
|
14961
15015
|
type: "git",
|
|
14962
15016
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -17352,4 +17406,4 @@ var registerCommands = async (program) => {
|
|
|
17352
17406
|
|
|
17353
17407
|
export { metadata, registerCommands };
|
|
17354
17408
|
|
|
17355
|
-
//# debugId=
|
|
17409
|
+
//# debugId=2B0925BFC94D45D064756E2164756E21
|
|
@@ -3158,7 +3158,7 @@ var package_default = {
|
|
|
3158
3158
|
name: "@uipath/project-packager",
|
|
3159
3159
|
author: "UiPath",
|
|
3160
3160
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
3161
|
-
version: "1.204.0-preview.
|
|
3161
|
+
version: "1.204.0-preview.275",
|
|
3162
3162
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
3163
3163
|
type: "module",
|
|
3164
3164
|
main: "./dist/index.js",
|
|
@@ -4624,4 +4624,4 @@ class ProjectPublisher {
|
|
|
4624
4624
|
|
|
4625
4625
|
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
4626
|
|
|
4627
|
-
//# debugId=
|
|
4627
|
+
//# debugId=8A4BB47B965B167E64756E2164756E21
|
package/dist/tool.js
CHANGED
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.204.0-preview.
|
|
5
|
+
"version": "1.204.0-preview.275",
|
|
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": "7d0178bc0fa59f8d17acf451fb481ce5817ec51e"
|
|
30
30
|
}
|