@uipath/codedapp-tool 1.202.0-preview.155 → 1.202.0-preview.157
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 +39 -789
- package/dist/{index-d9c1ecq8.js → index-7zbv11qn.js} +3 -3
- package/dist/{index-sm3z7s8x.js → index-m7gsq50b.js} +5 -5
- package/dist/index.js +5 -6
- package/dist/{packager-tool-tbmk2m6m.js → packager-tool-58asqeb7.js} +2 -82
- package/dist/{packager-tool-pw0n911m.js → packager-tool-dd235de8.js} +359 -11689
- package/dist/{packager-tool-8hncwr6a.js → packager-tool-pvtdkdk8.js} +5 -5
- package/dist/tool.js +5 -6
- package/package.json +2 -2
- package/dist/multipart-parser-ab4q7byb.js +0 -353
- package/dist/packager-tool-vv9c52ax.js +0 -4452
|
@@ -58,12 +58,12 @@ import {
|
|
|
58
58
|
selectTenantWithDeps,
|
|
59
59
|
setActiveAuthProfile,
|
|
60
60
|
setAuthFileConfig
|
|
61
|
-
} from "./packager-tool-
|
|
62
|
-
import"./packager-tool-qyctya2j.js";
|
|
61
|
+
} from "./packager-tool-pvtdkdk8.js";
|
|
63
62
|
import {
|
|
64
63
|
isBrowser,
|
|
65
64
|
isNode
|
|
66
65
|
} from "./packager-tool-0gctz400.js";
|
|
66
|
+
import"./packager-tool-qyctya2j.js";
|
|
67
67
|
import {
|
|
68
68
|
AUTH_CANCELLED_ERROR_CODE,
|
|
69
69
|
AUTH_RECLAIMED_ERROR_CODE,
|
|
@@ -139,4 +139,4 @@ export {
|
|
|
139
139
|
setAuthFileConfig
|
|
140
140
|
};
|
|
141
141
|
|
|
142
|
-
//# debugId=
|
|
142
|
+
//# debugId=2791EE15E4B4F73864756E2164756E21
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
isGuid,
|
|
9
9
|
logger,
|
|
10
10
|
normalizeProjectType
|
|
11
|
-
} from "./packager-tool-
|
|
11
|
+
} from "./packager-tool-58asqeb7.js";
|
|
12
12
|
import {
|
|
13
13
|
getAuthContext,
|
|
14
14
|
getLoginStatusAsync
|
|
15
|
-
} from "./packager-tool-
|
|
15
|
+
} from "./packager-tool-pvtdkdk8.js";
|
|
16
|
+
import"./packager-tool-aybzcdfg.js";
|
|
17
|
+
import"./packager-tool-0gctz400.js";
|
|
16
18
|
import {
|
|
17
19
|
getFileSystem
|
|
18
20
|
} from "./packager-tool-qyctya2j.js";
|
|
19
|
-
import"./packager-tool-aybzcdfg.js";
|
|
20
|
-
import"./packager-tool-0gctz400.js";
|
|
21
21
|
import"./packager-tool-yc4kw997.js";
|
|
22
22
|
import {
|
|
23
23
|
__commonJS,
|
|
@@ -18456,4 +18456,4 @@ export {
|
|
|
18456
18456
|
writeSolutionFile
|
|
18457
18457
|
};
|
|
18458
18458
|
|
|
18459
|
-
//# debugId=
|
|
18459
|
+
//# debugId=EFD4DF7492FDFE1D64756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -2,16 +2,15 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-dd235de8.js";
|
|
6
6
|
import {
|
|
7
7
|
Command
|
|
8
|
-
} from "./packager-tool-
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-qyctya2j.js";
|
|
8
|
+
} from "./packager-tool-58asqeb7.js";
|
|
9
|
+
import"./packager-tool-pvtdkdk8.js";
|
|
11
10
|
import"./packager-tool-05wez2xw.js";
|
|
12
11
|
import"./packager-tool-aybzcdfg.js";
|
|
13
|
-
import"./packager-tool-vv9c52ax.js";
|
|
14
12
|
import"./packager-tool-0gctz400.js";
|
|
13
|
+
import"./packager-tool-qyctya2j.js";
|
|
15
14
|
import"./packager-tool-yc4kw997.js";
|
|
16
15
|
import"./packager-tool-1yh8g550.js";
|
|
17
16
|
|
|
@@ -21,4 +20,4 @@ program.name(metadata.name).version(metadata.version).description(metadata.descr
|
|
|
21
20
|
await registerCommands(program);
|
|
22
21
|
program.parse(process.argv);
|
|
23
22
|
|
|
24
|
-
//# debugId=
|
|
23
|
+
//# debugId=575813379298095664756E2164756E21
|
|
@@ -4089,86 +4089,6 @@ function recordCommandDuration(durationMs) {
|
|
|
4089
4089
|
}
|
|
4090
4090
|
getState().commandMs = durationMs;
|
|
4091
4091
|
}
|
|
4092
|
-
function recordHttpCall(durationMs) {
|
|
4093
|
-
if (!timingsEnabled()) {
|
|
4094
|
-
return;
|
|
4095
|
-
}
|
|
4096
|
-
const state = getState();
|
|
4097
|
-
state.httpMs += durationMs;
|
|
4098
|
-
state.httpCalls += 1;
|
|
4099
|
-
}
|
|
4100
|
-
|
|
4101
|
-
// ../common/src/telemetry/tracked-fetch.ts
|
|
4102
|
-
var W3C_TRACE_FLAGS_SAMPLED = "01";
|
|
4103
|
-
function makeTrackedFetch(realFetch) {
|
|
4104
|
-
return async (input, init) => {
|
|
4105
|
-
const context = telemetry.createDependencyContext();
|
|
4106
|
-
const url = resolveUrl(input);
|
|
4107
|
-
if (!context || !url) {
|
|
4108
|
-
return realFetch(input, init);
|
|
4109
|
-
}
|
|
4110
|
-
const method = resolveMethod(input, init).toUpperCase();
|
|
4111
|
-
const headers = mergeHeaders(input, init);
|
|
4112
|
-
if (!headers.has("traceparent")) {
|
|
4113
|
-
headers.set("traceparent", `00-${context.operationId}-${context.id}-${W3C_TRACE_FLAGS_SAMPLED}`);
|
|
4114
|
-
}
|
|
4115
|
-
const name = `${method} ${url.pathname}`;
|
|
4116
|
-
const clock = startSpanClock();
|
|
4117
|
-
context.startedAt = clock.startedAt;
|
|
4118
|
-
try {
|
|
4119
|
-
const response = await realFetch(input, { ...init, headers });
|
|
4120
|
-
const durationMs = clock.elapsedMs();
|
|
4121
|
-
recordHttpCall(durationMs);
|
|
4122
|
-
telemetry.trackDependencyResult(name, "HTTP", durationMs, response.ok, {
|
|
4123
|
-
"server.address": url.host,
|
|
4124
|
-
"http.request.method": method,
|
|
4125
|
-
"http.response.status_code": response.status
|
|
4126
|
-
}, context, String(response.status));
|
|
4127
|
-
return response;
|
|
4128
|
-
} catch (error) {
|
|
4129
|
-
const durationMs = clock.elapsedMs();
|
|
4130
|
-
recordHttpCall(durationMs);
|
|
4131
|
-
telemetry.trackDependencyResult(name, "HTTP", durationMs, false, {
|
|
4132
|
-
"server.address": url.host,
|
|
4133
|
-
"http.request.method": method,
|
|
4134
|
-
errorMessage: error instanceof Error ? error.message : String(error)
|
|
4135
|
-
}, context);
|
|
4136
|
-
throw error;
|
|
4137
|
-
}
|
|
4138
|
-
};
|
|
4139
|
-
}
|
|
4140
|
-
function resolveUrl(input) {
|
|
4141
|
-
try {
|
|
4142
|
-
if (typeof input === "string")
|
|
4143
|
-
return new URL(input);
|
|
4144
|
-
if (input instanceof URL)
|
|
4145
|
-
return input;
|
|
4146
|
-
if (input instanceof Request)
|
|
4147
|
-
return new URL(input.url);
|
|
4148
|
-
} catch {}
|
|
4149
|
-
return;
|
|
4150
|
-
}
|
|
4151
|
-
function resolveMethod(input, init) {
|
|
4152
|
-
if (init?.method)
|
|
4153
|
-
return init.method;
|
|
4154
|
-
if (input instanceof Request)
|
|
4155
|
-
return input.method;
|
|
4156
|
-
return "GET";
|
|
4157
|
-
}
|
|
4158
|
-
function mergeHeaders(input, init) {
|
|
4159
|
-
const headers = new Headers;
|
|
4160
|
-
if (input instanceof Request) {
|
|
4161
|
-
input.headers.forEach((value, key) => {
|
|
4162
|
-
headers.set(key, value);
|
|
4163
|
-
});
|
|
4164
|
-
}
|
|
4165
|
-
if (init?.headers) {
|
|
4166
|
-
new Headers(init.headers).forEach((value, key) => {
|
|
4167
|
-
headers.set(key, value);
|
|
4168
|
-
});
|
|
4169
|
-
}
|
|
4170
|
-
return headers;
|
|
4171
|
-
}
|
|
4172
4092
|
// ../common/src/telemetry/proxy-http-agent.ts
|
|
4173
4093
|
var slot = singleton("ProxyAuthHttpsAgent");
|
|
4174
4094
|
|
|
@@ -6000,6 +5920,6 @@ async function findSolutionFileUpward(fs, startDir) {
|
|
|
6000
5920
|
}
|
|
6001
5921
|
}
|
|
6002
5922
|
|
|
6003
|
-
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger,
|
|
5923
|
+
export { catchError, describeConnectivityError, extractErrorDetails, extractErrorMessage, getOutputSink, logger, RESULTS, OutputFormatter, InvalidArgumentError, Command, Option, processContext, isGuid, canPrompt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, trackShipSucceeded, normalizeProjectType, tryRegisterProjectInParentSolution, findNearestParentUipxFile, findSolutionFileUpward };
|
|
6004
5924
|
|
|
6005
|
-
//# debugId=
|
|
5925
|
+
//# debugId=DE37B105000E327A64756E2164756E21
|