@uipath/flow-tool 1.202.3-preview.217 → 1.202.3-preview.238
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/{authoring-pcye34qx.js → authoring-q7s2m8yg.js} +2 -2
- package/dist/{binding-service-agex2z8b.js → binding-service-qxcjd3ay.js} +14 -14
- package/dist/{connector-service-p5qkcska.js → connector-service-5ndc36aq.js} +13 -13
- package/dist/{debug-conversation-trigger-d9jr1jj2.js → debug-conversation-trigger-y33e8pm7.js} +4 -4
- package/dist/{debug-http-client-h7jy3qqz.js → debug-http-client-khnffj2k.js} +2 -2
- package/dist/{debug-service-ac7917a1.js → debug-service-54dcevm4.js} +3 -3
- package/dist/{edge-service-vbfbj178.js → edge-service-rrhd175m.js} +3 -3
- package/dist/{flow-api-6fpe10gr.js → flow-api-2vpy9ef6.js} +7 -7
- package/dist/{flow-debug-service-mn1f2nhf.js → flow-debug-service-mnf6529p.js} +19 -19
- package/dist/{flow-eval-node-target-646nq7mm.js → flow-eval-node-target-g6gmv8s8.js} +3 -3
- package/dist/{flow-eval-run-service-947v59mf.js → flow-eval-run-service-3n4993y7.js} +20 -20
- package/dist/{flow-eval-service-r0rwv64p.js → flow-eval-service-833actej.js} +8 -8
- package/dist/{flow-init-service-xvtaaawy.js → flow-init-service-s4m2azkq.js} +6 -6
- package/dist/{flow-io-njawvbcz.js → flow-io-h33xat0m.js} +3 -3
- package/dist/{flow-migrate-service-wjntmf4k.js → flow-migrate-service-ja15zyae.js} +3 -3
- package/dist/{flow-pack-service-f01x8eap.js → flow-pack-service-djctxhm8.js} +18 -18
- package/dist/{flow-validate-service-kmgxne9y.js → flow-validate-service-ayts7kvb.js} +19 -19
- package/dist/{governance-fetcher-rybxrc4g.js → governance-fetcher-0qqzndh7.js} +4 -4
- package/dist/{hitl-service-scr0q43z.js → hitl-service-qwb7mst1.js} +3 -3
- package/dist/{index-yafxj14e.js → index-720dq2g5.js} +4 -4
- package/dist/{index-bcnk9b50.js → index-8w2tdx2y.js} +3 -3
- package/dist/{index-1kgxzh8x.js → index-fpffryav.js} +4 -2
- package/dist/{index-v41cvhh2.js → index-nnmqyaz1.js} +3 -3
- package/dist/index.js +11 -11
- package/dist/init.js +6 -6
- package/dist/{input-reader-jxc80cb4.js → input-reader-gtj002h1.js} +1 -1
- package/dist/{node-shrn76gh.js → node-2qxzh32f.js} +225 -8
- package/dist/{node-service-ksyejnsm.js → node-service-mxka42yg.js} +14 -14
- package/dist/{node-sync-service-darzpwx4.js → node-sync-service-916wfa4z.js} +4 -4
- package/dist/{packager-tool-yekzgvb7.js → packager-tool-50ggdggf.js} +2 -2
- package/dist/{packager-tool-h47rxdm5.js → packager-tool-5z3swebz.js} +4 -4
- package/dist/{packager-tool-f0kd5kq4.js → packager-tool-6ex3hqp8.js} +8 -2
- package/dist/{packager-tool-7r1e9358.js → packager-tool-718at02a.js} +224 -7
- package/dist/{packager-tool-wtg6zehg.js → packager-tool-a3dh05vd.js} +3 -3
- package/dist/{packager-tool-w2rw29hv.js → packager-tool-aa1tt1qg.js} +1 -1
- package/dist/{packager-tool-4szfgdpj.js → packager-tool-b9rjxzeg.js} +1 -1
- package/dist/{packager-tool-srw6xxhc.js → packager-tool-c28v1km5.js} +1 -1
- package/dist/{packager-tool-vkte63a3.js → packager-tool-c9z3dnms.js} +4 -4
- package/dist/{packager-tool-m83z5pwe.js → packager-tool-gv725f0e.js} +2 -2
- package/dist/{packager-tool-nttwx3dt.js → packager-tool-h5raq1zc.js} +2 -2
- package/dist/{packager-tool-s3k42wf3.js → packager-tool-hxrg76vj.js} +5 -5
- package/dist/{packager-tool-p85j3j0w.js → packager-tool-j7sv0mv7.js} +2 -2
- package/dist/{packager-tool-1pabragy.js → packager-tool-kqyf4ccn.js} +2 -2
- package/dist/{packager-tool-kt6pvdja.js → packager-tool-kt9w4v8t.js} +76 -76
- package/dist/{packager-tool-w5ybpj2p.js → packager-tool-n22z5zww.js} +1 -1
- package/dist/{packager-tool-bj9m0bkj.js → packager-tool-n2axej8w.js} +1 -1
- package/dist/{packager-tool-qhz27w8y.js → packager-tool-nbrqysth.js} +4 -4
- package/dist/{packager-tool-c3r450eh.js → packager-tool-p83excfd.js} +1 -1
- package/dist/{packager-tool-15pg508d.js → packager-tool-pejta9bx.js} +10 -10
- package/dist/{packager-tool-rzph9cbp.js → packager-tool-pw69qc5h.js} +2 -2
- package/dist/{packager-tool-4mjk4zyp.js → packager-tool-qbrqxay1.js} +1 -1
- package/dist/{packager-tool-ww6rm1xt.js → packager-tool-qxb14shc.js} +4 -4
- package/dist/{packager-tool-78bac9x2.js → packager-tool-t70q8dqx.js} +3 -3
- package/dist/{packager-tool-nhxfka6w.js → packager-tool-ta303xc7.js} +1 -1
- package/dist/{packager-tool-ryhbg1m5.js → packager-tool-v32r6vgj.js} +9 -9
- package/dist/{packager-tool-cym1kt31.js → packager-tool-vwcsexa9.js} +1 -1
- package/dist/packager-tool.js +2 -2
- package/dist/{shared-utils-39xxzak4.js → shared-utils-fgg7nc5c.js} +1 -1
- package/dist/{tidy-service-ky7ttfc9.js → tidy-service-yx9kbder.js} +4 -4
- package/dist/tool.js +11 -11
- package/dist/validation.js +19 -19
- package/dist/{variable-service-skehn95r.js → variable-service-6vvkcmmn.js} +3 -3
- package/dist/{wait-for-flow-job-v6vk5dd6.js → wait-for-flow-job-zytzx42v.js} +7 -7
- package/package.json +2 -2
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FlowValidateService
|
|
3
|
-
} from "./packager-tool-
|
|
4
|
-
import"./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
3
|
+
} from "./packager-tool-pejta9bx.js";
|
|
4
|
+
import"./packager-tool-n2axej8w.js";
|
|
5
|
+
import"./packager-tool-ta303xc7.js";
|
|
6
6
|
import"./packager-tool-2wefykg9.js";
|
|
7
7
|
import"./packager-tool-nq4rcqqg.js";
|
|
8
8
|
import"./packager-tool-8j92afwp.js";
|
|
9
|
-
import"./packager-tool-
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
9
|
+
import"./packager-tool-qxb14shc.js";
|
|
10
|
+
import"./packager-tool-a3dh05vd.js";
|
|
11
|
+
import"./packager-tool-qbrqxay1.js";
|
|
12
12
|
import"./packager-tool-w0kr4mbc.js";
|
|
13
13
|
import"./packager-tool-a1hbfmws.js";
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
20
|
-
import"./packager-tool-
|
|
21
|
-
import"./packager-tool-
|
|
14
|
+
import"./packager-tool-v32r6vgj.js";
|
|
15
|
+
import"./packager-tool-aa1tt1qg.js";
|
|
16
|
+
import"./packager-tool-j7sv0mv7.js";
|
|
17
|
+
import"./packager-tool-gv725f0e.js";
|
|
18
|
+
import"./packager-tool-vwcsexa9.js";
|
|
19
|
+
import"./packager-tool-hxrg76vj.js";
|
|
20
|
+
import"./packager-tool-p83excfd.js";
|
|
21
|
+
import"./packager-tool-6ex3hqp8.js";
|
|
22
22
|
import"./packager-tool-0gctz400.js";
|
|
23
23
|
import"./packager-tool-qa9gftnj.js";
|
|
24
24
|
import"./packager-tool-yc4kw997.js";
|
|
25
25
|
import"./packager-tool-rr7rrcvh.js";
|
|
26
|
-
import"./packager-tool-
|
|
27
|
-
import"./packager-tool-
|
|
28
|
-
import"./packager-tool-
|
|
29
|
-
import"./packager-tool-
|
|
26
|
+
import"./packager-tool-5z3swebz.js";
|
|
27
|
+
import"./packager-tool-c28v1km5.js";
|
|
28
|
+
import"./packager-tool-pw69qc5h.js";
|
|
29
|
+
import"./packager-tool-h5raq1zc.js";
|
|
30
30
|
import"./packager-tool-eezmqmky.js";
|
|
31
31
|
import"./packager-tool-3bra2c4j.js";
|
|
32
32
|
import"./packager-tool-2513jrxr.js";
|
|
@@ -40,7 +40,7 @@ import"./packager-tool-z83pga0z.js";
|
|
|
40
40
|
import"./packager-tool-6ejqwbw9.js";
|
|
41
41
|
import"./packager-tool-mcaf4ewf.js";
|
|
42
42
|
import"./packager-tool-eypvc2kv.js";
|
|
43
|
-
import"./packager-tool-
|
|
43
|
+
import"./packager-tool-718at02a.js";
|
|
44
44
|
import"./packager-tool-0v3s8r01.js";
|
|
45
45
|
import"./packager-tool-kmzyj0gm.js";
|
|
46
46
|
import"./packager-tool-kna12zgp.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getAuthContext
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-6ex3hqp8.js";
|
|
4
4
|
import"./packager-tool-0gctz400.js";
|
|
5
5
|
import"./packager-tool-qa9gftnj.js";
|
|
6
6
|
import"./packager-tool-yc4kw997.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
getSdkUserAgentToken,
|
|
10
10
|
installSdkUserAgentHeader,
|
|
11
11
|
logger
|
|
12
|
-
} from "./packager-tool-
|
|
12
|
+
} from "./packager-tool-718at02a.js";
|
|
13
13
|
import"./packager-tool-0v3s8r01.js";
|
|
14
14
|
import"./packager-tool-1yh8g550.js";
|
|
15
15
|
|
|
@@ -244,7 +244,7 @@ function querystringSingleKey(key, value, keyPrefix = "") {
|
|
|
244
244
|
var package_default = {
|
|
245
245
|
name: "@uipath/agent-sdk",
|
|
246
246
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
247
|
-
version: "1.202.1-preview.
|
|
247
|
+
version: "1.202.1-preview.238",
|
|
248
248
|
description: "SDK for the UiPath Agent Runtime API — evaluation execution and debug sessions.",
|
|
249
249
|
repository: {
|
|
250
250
|
type: "git",
|
|
@@ -388,4 +388,4 @@ export {
|
|
|
388
388
|
fetchGovernanceData
|
|
389
389
|
};
|
|
390
390
|
|
|
391
|
-
//# debugId=
|
|
391
|
+
//# debugId=8A135E9630E3E08464756E2164756E21
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readFlowWorkflow,
|
|
3
3
|
writeFlowWorkflow
|
|
4
|
-
} from "./packager-tool-
|
|
5
|
-
import"./packager-tool-
|
|
4
|
+
} from "./packager-tool-pw69qc5h.js";
|
|
5
|
+
import"./packager-tool-h5raq1zc.js";
|
|
6
6
|
import {
|
|
7
7
|
addNode,
|
|
8
8
|
generateNodeIdAndName,
|
|
@@ -19,7 +19,7 @@ import"./packager-tool-9j672g5t.js";
|
|
|
19
19
|
import"./packager-tool-z83pga0z.js";
|
|
20
20
|
import"./packager-tool-6ejqwbw9.js";
|
|
21
21
|
import"./packager-tool-mcaf4ewf.js";
|
|
22
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-718at02a.js";
|
|
23
23
|
import"./packager-tool-0v3s8r01.js";
|
|
24
24
|
import"./packager-tool-kna12zgp.js";
|
|
25
25
|
import"./packager-tool-gbgfwx8f.js";
|
|
@@ -2,25 +2,25 @@ import"./packager-tool-w0kr4mbc.js";
|
|
|
2
2
|
import {
|
|
3
3
|
UsersApi,
|
|
4
4
|
createApiClient
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-j7sv0mv7.js";
|
|
6
6
|
import {
|
|
7
7
|
getAuthContext,
|
|
8
8
|
getLoginStatusAsync
|
|
9
|
-
} from "./packager-tool-
|
|
9
|
+
} from "./packager-tool-6ex3hqp8.js";
|
|
10
10
|
import"./packager-tool-0gctz400.js";
|
|
11
11
|
import"./packager-tool-qa9gftnj.js";
|
|
12
12
|
import"./packager-tool-yc4kw997.js";
|
|
13
13
|
import {
|
|
14
14
|
findSolutionFileUpward,
|
|
15
15
|
normalizeProjectType
|
|
16
|
-
} from "./packager-tool-
|
|
16
|
+
} from "./packager-tool-c28v1km5.js";
|
|
17
17
|
import"./packager-tool-nkrmjr3a.js";
|
|
18
18
|
import {
|
|
19
19
|
catchError,
|
|
20
20
|
extractErrorMessage,
|
|
21
21
|
isGuid,
|
|
22
22
|
logger
|
|
23
|
-
} from "./packager-tool-
|
|
23
|
+
} from "./packager-tool-718at02a.js";
|
|
24
24
|
import {
|
|
25
25
|
getFileSystem
|
|
26
26
|
} from "./packager-tool-0v3s8r01.js";
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
searchPackageVersions,
|
|
294
294
|
solutionExistsOnStudioWeb,
|
|
295
295
|
uploadOrOverwriteSolution
|
|
296
|
-
} from "./packager-tool-
|
|
296
|
+
} from "./packager-tool-5z3swebz.js";
|
|
297
297
|
import {
|
|
298
298
|
autoScaffoldSolution,
|
|
299
299
|
createSolutionManifest,
|
|
@@ -310,9 +310,9 @@ import {
|
|
|
310
310
|
tryRegisterProjectInParentSolution,
|
|
311
311
|
updateSolutionFile,
|
|
312
312
|
updateUipxSolutionId
|
|
313
|
-
} from "./packager-tool-
|
|
313
|
+
} from "./packager-tool-c28v1km5.js";
|
|
314
314
|
import"./packager-tool-nkrmjr3a.js";
|
|
315
|
-
import"./packager-tool-
|
|
315
|
+
import"./packager-tool-718at02a.js";
|
|
316
316
|
import"./packager-tool-0v3s8r01.js";
|
|
317
317
|
import"./packager-tool-1yh8g550.js";
|
|
318
318
|
export {
|
|
@@ -45,6 +45,7 @@ import {
|
|
|
45
45
|
parseAuthFlow,
|
|
46
46
|
parseJWT,
|
|
47
47
|
readAuthFromEnv,
|
|
48
|
+
readTokenScopes,
|
|
48
49
|
refreshAccessToken,
|
|
49
50
|
refreshTokenFingerprint,
|
|
50
51
|
registerRobotClientLoader,
|
|
@@ -58,7 +59,7 @@ import {
|
|
|
58
59
|
selectTenantWithDeps,
|
|
59
60
|
setActiveAuthProfile,
|
|
60
61
|
setAuthFileConfig
|
|
61
|
-
} from "./packager-tool-
|
|
62
|
+
} from "./packager-tool-6ex3hqp8.js";
|
|
62
63
|
import {
|
|
63
64
|
isBrowser,
|
|
64
65
|
isNode
|
|
@@ -125,6 +126,7 @@ export {
|
|
|
125
126
|
parseAuthFlow,
|
|
126
127
|
parseJWT,
|
|
127
128
|
readAuthFromEnv,
|
|
129
|
+
readTokenScopes,
|
|
128
130
|
refreshAccessToken,
|
|
129
131
|
refreshTokenFingerprint,
|
|
130
132
|
registerRobotClientLoader,
|
|
@@ -140,4 +142,4 @@ export {
|
|
|
140
142
|
setAuthFileConfig
|
|
141
143
|
};
|
|
142
144
|
|
|
143
|
-
//# debugId=
|
|
145
|
+
//# debugId=6BCF9DC58656104764756E2164756E21
|
|
@@ -2394,12 +2394,12 @@ import {
|
|
|
2394
2394
|
resolveFolder,
|
|
2395
2395
|
resolveRelease,
|
|
2396
2396
|
uploadJobAttachment
|
|
2397
|
-
} from "./packager-tool-
|
|
2398
|
-
import"./packager-tool-
|
|
2397
|
+
} from "./packager-tool-j7sv0mv7.js";
|
|
2398
|
+
import"./packager-tool-6ex3hqp8.js";
|
|
2399
2399
|
import"./packager-tool-0gctz400.js";
|
|
2400
2400
|
import"./packager-tool-qa9gftnj.js";
|
|
2401
2401
|
import"./packager-tool-yc4kw997.js";
|
|
2402
|
-
import"./packager-tool-
|
|
2402
|
+
import"./packager-tool-718at02a.js";
|
|
2403
2403
|
import"./packager-tool-0v3s8r01.js";
|
|
2404
2404
|
import"./packager-tool-1yh8g550.js";
|
|
2405
2405
|
export {
|
package/dist/index.js
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
import {
|
|
3
3
|
metadata,
|
|
4
4
|
registerCommands
|
|
5
|
-
} from "./packager-tool-
|
|
5
|
+
} from "./packager-tool-kt9w4v8t.js";
|
|
6
6
|
import"./packager-tool-tf3d2y8z.js";
|
|
7
|
-
import"./packager-tool-
|
|
7
|
+
import"./packager-tool-kqyf4ccn.js";
|
|
8
8
|
import"./packager-tool-27avrkyk.js";
|
|
9
9
|
import"./packager-tool-a1hbfmws.js";
|
|
10
|
-
import"./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
13
|
-
import"./packager-tool-
|
|
14
|
-
import"./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
17
|
-
import"./packager-tool-
|
|
10
|
+
import"./packager-tool-v32r6vgj.js";
|
|
11
|
+
import"./packager-tool-aa1tt1qg.js";
|
|
12
|
+
import"./packager-tool-j7sv0mv7.js";
|
|
13
|
+
import"./packager-tool-gv725f0e.js";
|
|
14
|
+
import"./packager-tool-vwcsexa9.js";
|
|
15
|
+
import"./packager-tool-hxrg76vj.js";
|
|
16
|
+
import"./packager-tool-p83excfd.js";
|
|
17
|
+
import"./packager-tool-6ex3hqp8.js";
|
|
18
18
|
import"./packager-tool-0gctz400.js";
|
|
19
19
|
import"./packager-tool-qa9gftnj.js";
|
|
20
20
|
import"./packager-tool-yc4kw997.js";
|
|
@@ -22,7 +22,7 @@ import"./packager-tool-rr7rrcvh.js";
|
|
|
22
22
|
import"./packager-tool-eypvc2kv.js";
|
|
23
23
|
import {
|
|
24
24
|
Command
|
|
25
|
-
} from "./packager-tool-
|
|
25
|
+
} from "./packager-tool-718at02a.js";
|
|
26
26
|
import"./packager-tool-0v3s8r01.js";
|
|
27
27
|
import"./packager-tool-kmzyj0gm.js";
|
|
28
28
|
import"./packager-tool-kna12zgp.js";
|
package/dist/init.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
flowInitAsync
|
|
3
|
-
} from "./packager-tool-
|
|
3
|
+
} from "./packager-tool-nbrqysth.js";
|
|
4
4
|
import"./packager-tool-9cq9atem.js";
|
|
5
|
-
import"./packager-tool-
|
|
6
|
-
import"./packager-tool-
|
|
7
|
-
import"./packager-tool-
|
|
8
|
-
import"./packager-tool-
|
|
5
|
+
import"./packager-tool-5z3swebz.js";
|
|
6
|
+
import"./packager-tool-c28v1km5.js";
|
|
7
|
+
import"./packager-tool-pw69qc5h.js";
|
|
8
|
+
import"./packager-tool-h5raq1zc.js";
|
|
9
9
|
import"./packager-tool-eezmqmky.js";
|
|
10
10
|
import"./packager-tool-3bra2c4j.js";
|
|
11
11
|
import"./packager-tool-2513jrxr.js";
|
|
@@ -19,7 +19,7 @@ import"./packager-tool-z83pga0z.js";
|
|
|
19
19
|
import"./packager-tool-6ejqwbw9.js";
|
|
20
20
|
import"./packager-tool-mcaf4ewf.js";
|
|
21
21
|
import"./packager-tool-eypvc2kv.js";
|
|
22
|
-
import"./packager-tool-
|
|
22
|
+
import"./packager-tool-718at02a.js";
|
|
23
23
|
import"./packager-tool-0v3s8r01.js";
|
|
24
24
|
import"./packager-tool-kmzyj0gm.js";
|
|
25
25
|
import"./packager-tool-kna12zgp.js";
|
|
@@ -10980,7 +10980,165 @@ class FilterImplicitLimitError extends Error {
|
|
|
10980
10980
|
this.instructions = "Pass --limit <n> to choose how many records the filter applies to. " + "To filter over all records, pass the command's maximum accepted --limit (see the option's description in --help).";
|
|
10981
10981
|
}
|
|
10982
10982
|
}
|
|
10983
|
-
function
|
|
10983
|
+
function countRecords(data) {
|
|
10984
|
+
if (Array.isArray(data))
|
|
10985
|
+
return data.length;
|
|
10986
|
+
return data == null ? 0 : 1;
|
|
10987
|
+
}
|
|
10988
|
+
function availableFields(data) {
|
|
10989
|
+
const records = Array.isArray(data) ? data : [data];
|
|
10990
|
+
const keys = new Set;
|
|
10991
|
+
for (const record of records) {
|
|
10992
|
+
if (record && typeof record === "object" && !Array.isArray(record)) {
|
|
10993
|
+
for (const key of Object.keys(record))
|
|
10994
|
+
keys.add(key);
|
|
10995
|
+
}
|
|
10996
|
+
}
|
|
10997
|
+
return [...keys];
|
|
10998
|
+
}
|
|
10999
|
+
function decodeQuotedIdentifier(whole, inner) {
|
|
11000
|
+
const [error, decoded] = catchError(() => JSON.parse(whole));
|
|
11001
|
+
if (!error && typeof decoded === "string")
|
|
11002
|
+
return decoded;
|
|
11003
|
+
return inner.replace(/\\(.)/g, "$1");
|
|
11004
|
+
}
|
|
11005
|
+
function referencedFields(filter) {
|
|
11006
|
+
const top = new Set;
|
|
11007
|
+
const nested = new Set;
|
|
11008
|
+
const withoutValueLiterals = filter.replace(/'(?:\\.|[^'\\])*'/g, " ").replace(/`(?:\\.|[^`\\])*`/g, " ");
|
|
11009
|
+
const isPathTail = (text, index) => text[index - 1] === "." && /[A-Za-z0-9_"]/.test(text[index - 2] ?? "");
|
|
11010
|
+
const quoted = [];
|
|
11011
|
+
const withoutLiterals = withoutValueLiterals.replace(/"((?:\\.|[^"\\])*)"/g, (whole, name, index) => {
|
|
11012
|
+
const isAlias = /^\s*:/.test(withoutValueLiterals.slice(index + whole.length));
|
|
11013
|
+
if (!isAlias) {
|
|
11014
|
+
quoted.push({
|
|
11015
|
+
name: decodeQuotedIdentifier(whole, name),
|
|
11016
|
+
index,
|
|
11017
|
+
tail: isPathTail(withoutValueLiterals, index)
|
|
11018
|
+
});
|
|
11019
|
+
}
|
|
11020
|
+
return `"${" ".repeat(whole.length - 2)}"`;
|
|
11021
|
+
});
|
|
11022
|
+
const descent = /[A-Za-z0-9_"]\s*[.[]/.exec(withoutLiterals);
|
|
11023
|
+
const rootEnd = descent ? descent.index + 1 : Number.POSITIVE_INFINITY;
|
|
11024
|
+
const place = (name, index, tail) => {
|
|
11025
|
+
if (tail || index >= rootEnd)
|
|
11026
|
+
nested.add(name);
|
|
11027
|
+
else
|
|
11028
|
+
top.add(name);
|
|
11029
|
+
};
|
|
11030
|
+
for (const entry of quoted)
|
|
11031
|
+
place(entry.name, entry.index, entry.tail);
|
|
11032
|
+
const identifiers = withoutLiterals.matchAll(/([A-Za-z_][A-Za-z0-9_]*)(\s*[:(])?/g);
|
|
11033
|
+
const reserved = new Set(["true", "false", "null", "and", "or", "not"]);
|
|
11034
|
+
for (const match of identifiers) {
|
|
11035
|
+
const [, name, trailing] = match;
|
|
11036
|
+
if (trailing || reserved.has(name))
|
|
11037
|
+
continue;
|
|
11038
|
+
place(name, match.index, isPathTail(withoutLiterals, match.index));
|
|
11039
|
+
}
|
|
11040
|
+
return {
|
|
11041
|
+
top: [...top],
|
|
11042
|
+
nested: [...nested].filter((name) => !top.has(name)),
|
|
11043
|
+
hasPredicate: /\[\s*\?/.test(withoutValueLiterals)
|
|
11044
|
+
};
|
|
11045
|
+
}
|
|
11046
|
+
function appearsBelowTopLevel(data, name) {
|
|
11047
|
+
let budget = 2000;
|
|
11048
|
+
const visit = (value, depth) => {
|
|
11049
|
+
if (budget-- <= 0 || depth > 4)
|
|
11050
|
+
return false;
|
|
11051
|
+
if (value === null || typeof value !== "object")
|
|
11052
|
+
return false;
|
|
11053
|
+
if (Array.isArray(value))
|
|
11054
|
+
return value.some((entry) => visit(entry, depth));
|
|
11055
|
+
const record = value;
|
|
11056
|
+
if (depth > 0 && Object.hasOwn(record, name))
|
|
11057
|
+
return true;
|
|
11058
|
+
return Object.values(record).some((entry) => visit(entry, depth + 1));
|
|
11059
|
+
};
|
|
11060
|
+
return visit(data, 0);
|
|
11061
|
+
}
|
|
11062
|
+
function alwaysNullKeys(records) {
|
|
11063
|
+
const objects = records.filter((r) => r != null && typeof r === "object" && !Array.isArray(r));
|
|
11064
|
+
if (objects.length === 0 || objects.length !== records.length)
|
|
11065
|
+
return [];
|
|
11066
|
+
const keys = [...new Set(objects.flatMap((o) => Object.keys(o)))];
|
|
11067
|
+
if (keys.length === 0)
|
|
11068
|
+
return [];
|
|
11069
|
+
const nullKeys = keys.filter((key) => objects.every((record) => record[key] === null));
|
|
11070
|
+
return nullKeys.length === keys.length ? nullKeys : [];
|
|
11071
|
+
}
|
|
11072
|
+
function carriesOnlyNulls(value) {
|
|
11073
|
+
if (value === null)
|
|
11074
|
+
return true;
|
|
11075
|
+
if (Array.isArray(value)) {
|
|
11076
|
+
return value.length > 0 && value.every(carriesOnlyNulls);
|
|
11077
|
+
}
|
|
11078
|
+
if (typeof value === "object" && value !== undefined) {
|
|
11079
|
+
const values = Object.values(value);
|
|
11080
|
+
return values.length > 0 && values.every(carriesOnlyNulls);
|
|
11081
|
+
}
|
|
11082
|
+
return false;
|
|
11083
|
+
}
|
|
11084
|
+
function nameList(names, cap2 = 12) {
|
|
11085
|
+
const shown = names.slice(0, cap2).map((n) => `\`${n}\``);
|
|
11086
|
+
const rest = names.length - shown.length;
|
|
11087
|
+
return shown.join(", ") + (rest > 0 ? `, and ${rest} more` : "");
|
|
11088
|
+
}
|
|
11089
|
+
function buildFilterWarning(filter, data, outcome) {
|
|
11090
|
+
const present = availableFields(data);
|
|
11091
|
+
const refs = referencedFields(filter);
|
|
11092
|
+
const unknown = refs.top.filter((name) => !present.includes(name) && !appearsBelowTopLevel(data, name));
|
|
11093
|
+
const unchecked = refs.nested.filter((name) => !present.includes(name));
|
|
11094
|
+
const count = countRecords(data);
|
|
11095
|
+
const scope = `${count} record(s)`;
|
|
11096
|
+
const isNotAField = (names) => `${nameList(names)} ${names.length === 1 ? "is not a field" : "are not fields"} on the ${scope} it read`;
|
|
11097
|
+
const soundness = unchecked.length > 0 ? `${nameList(unchecked)} ${unchecked.length === 1 ? "reads" : "read"} below the top level, so ${unchecked.length === 1 ? "it was" : "they were"} not checked against the record keys` : refs.top.length > 0 ? "every field it names exists" : "";
|
|
11098
|
+
const withSoundness = (base) => soundness ? `${base}, and ${soundness}` : base;
|
|
11099
|
+
let detail;
|
|
11100
|
+
let lede;
|
|
11101
|
+
if (outcome.kind === "null-elements") {
|
|
11102
|
+
lede = "returned only null values";
|
|
11103
|
+
const projected = `all ${outcome.count} of the elements it projected are null`;
|
|
11104
|
+
if (unknown.length > 0) {
|
|
11105
|
+
detail = `${projected}, because ${isNotAField(unknown)}`;
|
|
11106
|
+
} else if (unchecked.length > 0) {
|
|
11107
|
+
detail = withSoundness(projected);
|
|
11108
|
+
} else {
|
|
11109
|
+
detail = `${projected}, and every field it names exists — a multi-select list ` + `(\`[A, B]\`) reads each entry against \`Data\` itself, so on a list ` + `result use \`[].[A, B]\` or \`[].{a: A, b: B}\` to read the records`;
|
|
11110
|
+
}
|
|
11111
|
+
} else if (outcome.kind === "null-rows") {
|
|
11112
|
+
lede = "returned only null values";
|
|
11113
|
+
const projected = `every value it projected is null on all ${outcome.count} row(s)`;
|
|
11114
|
+
detail = unknown.length > 0 ? `${projected}, because ${isNotAField(unknown)}` : withSoundness(projected);
|
|
11115
|
+
} else if (outcome.kind === "null-values") {
|
|
11116
|
+
lede = "returned only null values";
|
|
11117
|
+
const projected = `every key it projected (${nameList(outcome.keys)}) is null`;
|
|
11118
|
+
const sameSet = unknown.length === outcome.keys.length && outcome.keys.every((k) => unknown.includes(k));
|
|
11119
|
+
if (sameSet) {
|
|
11120
|
+
detail = `${isNotAField(outcome.keys)}, so every key it projected is null`;
|
|
11121
|
+
} else if (unknown.length > 0) {
|
|
11122
|
+
detail = `${projected}, because ${isNotAField(unknown)}`;
|
|
11123
|
+
} else {
|
|
11124
|
+
detail = withSoundness(`${projected} on all ${scope}`);
|
|
11125
|
+
}
|
|
11126
|
+
} else {
|
|
11127
|
+
lede = "returned nothing";
|
|
11128
|
+
if (unknown.length > 0) {
|
|
11129
|
+
detail = isNotAField(unknown);
|
|
11130
|
+
} else {
|
|
11131
|
+
const selection = refs.hasPredicate ? "no record matched" : "the expression resolved to no value";
|
|
11132
|
+
detail = withSoundness(`${selection} — it read ${scope}`);
|
|
11133
|
+
}
|
|
11134
|
+
}
|
|
11135
|
+
const fields = present.length > 0 ? ` Available fields: ${nameList(present)}.` : "";
|
|
11136
|
+
return `--output-filter ${JSON.stringify(filter)} ${lede}: ${detail}.${fields}`;
|
|
11137
|
+
}
|
|
11138
|
+
function appendWarning(existing, note) {
|
|
11139
|
+
return existing ? `${existing} ${note}` : note;
|
|
11140
|
+
}
|
|
11141
|
+
function applyFilter(data, filter, onWarning) {
|
|
10984
11142
|
const codec = requireJmespath();
|
|
10985
11143
|
let result;
|
|
10986
11144
|
try {
|
|
@@ -10988,9 +11146,34 @@ function applyFilter(data, filter) {
|
|
|
10988
11146
|
} catch (err) {
|
|
10989
11147
|
throw new FilterEvaluationError(filter, err);
|
|
10990
11148
|
}
|
|
10991
|
-
|
|
11149
|
+
const inputCount = countRecords(data);
|
|
11150
|
+
const warn = (outcome) => {
|
|
11151
|
+
if (inputCount === 0)
|
|
11152
|
+
return;
|
|
11153
|
+
const note = buildFilterWarning(filter, data, outcome);
|
|
11154
|
+
getOutputSink().writeErr(`[WARN] ${note}
|
|
11155
|
+
`);
|
|
11156
|
+
onWarning?.(note);
|
|
11157
|
+
};
|
|
11158
|
+
const warnIfAllNull = (records) => {
|
|
11159
|
+
const keys = alwaysNullKeys(records);
|
|
11160
|
+
if (keys.length > 0)
|
|
11161
|
+
warn({ kind: "null-values", keys });
|
|
11162
|
+
};
|
|
11163
|
+
if (result == null) {
|
|
11164
|
+
warn({ kind: "empty" });
|
|
10992
11165
|
return [];
|
|
11166
|
+
}
|
|
10993
11167
|
if (Array.isArray(result)) {
|
|
11168
|
+
if (result.length === 0) {
|
|
11169
|
+
warn({ kind: "empty" });
|
|
11170
|
+
} else if (result.every((entry) => entry === null)) {
|
|
11171
|
+
warn({ kind: "null-elements", count: result.length });
|
|
11172
|
+
} else if (result.every((entry) => Array.isArray(entry)) && carriesOnlyNulls(result)) {
|
|
11173
|
+
warn({ kind: "null-rows", count: result.length });
|
|
11174
|
+
} else {
|
|
11175
|
+
warnIfAllNull(result);
|
|
11176
|
+
}
|
|
10994
11177
|
if (result.length > 0 && typeof result[0] !== "object") {
|
|
10995
11178
|
const fieldMatch = filter.match(/\.(\w+)$/);
|
|
10996
11179
|
const key = fieldMatch ? fieldMatch[1] : "Value";
|
|
@@ -10998,10 +11181,30 @@ function applyFilter(data, filter) {
|
|
|
10998
11181
|
}
|
|
10999
11182
|
return result;
|
|
11000
11183
|
}
|
|
11001
|
-
if (typeof result === "object")
|
|
11184
|
+
if (typeof result === "object") {
|
|
11185
|
+
warnIfAllNull([result]);
|
|
11002
11186
|
return result;
|
|
11187
|
+
}
|
|
11003
11188
|
return { Value: result };
|
|
11004
11189
|
}
|
|
11190
|
+
function filterFailureData(envelope) {
|
|
11191
|
+
const filter = getOutputFilter();
|
|
11192
|
+
const data = envelope.Data;
|
|
11193
|
+
if (!filter || data == null)
|
|
11194
|
+
return;
|
|
11195
|
+
let note;
|
|
11196
|
+
const [filterError, filtered] = catchError(() => applyFilter(data, filter, (n) => {
|
|
11197
|
+
note = n;
|
|
11198
|
+
}));
|
|
11199
|
+
if (filterError) {
|
|
11200
|
+
envelope.Warning = appendWarning(envelope.Warning, `--output-filter was not applied, so Data is shown in full: ${filterError.message}`);
|
|
11201
|
+
return;
|
|
11202
|
+
}
|
|
11203
|
+
envelope.Data = filtered;
|
|
11204
|
+
if (note) {
|
|
11205
|
+
envelope.Warning = appendWarning(envelope.Warning, note);
|
|
11206
|
+
}
|
|
11207
|
+
}
|
|
11005
11208
|
function defaultErrorCodeForResult(result) {
|
|
11006
11209
|
switch (result) {
|
|
11007
11210
|
case RESULTS.AuthenticationError:
|
|
@@ -11084,8 +11287,14 @@ var OutputFormatter;
|
|
|
11084
11287
|
}
|
|
11085
11288
|
const filter = getOutputFilter();
|
|
11086
11289
|
if (filter) {
|
|
11087
|
-
|
|
11290
|
+
let note;
|
|
11291
|
+
const filtered = applyFilter(data.Data, filter, (n) => {
|
|
11292
|
+
note = n;
|
|
11293
|
+
});
|
|
11088
11294
|
data.Data = normalize ? normalizeDataKeys(filtered, verbatim, subtrees && { refs: subtrees.refs, mode: "skip" }) : filtered;
|
|
11295
|
+
if (note) {
|
|
11296
|
+
data.Warning = appendWarning(data.Warning, note);
|
|
11297
|
+
}
|
|
11089
11298
|
}
|
|
11090
11299
|
logOutput(normalizeOutputKeys(data), getOutputFormat(), options?.tableRowStyle);
|
|
11091
11300
|
}
|
|
@@ -11113,6 +11322,7 @@ var OutputFormatter;
|
|
|
11113
11322
|
delete envelope.TelemetryErrorClass;
|
|
11114
11323
|
delete envelope.TelemetryTerminalOutcome;
|
|
11115
11324
|
delete envelope.TelemetryTerminalSignal;
|
|
11325
|
+
filterFailureData(envelope);
|
|
11116
11326
|
if (!suppressTelemetry) {
|
|
11117
11327
|
telemetry.trackEvent(CommonTelemetryEvents.Error, {
|
|
11118
11328
|
result: data.Result,
|
|
@@ -11161,13 +11371,20 @@ var OutputFormatter;
|
|
|
11161
11371
|
OutputFormatter2.log = log;
|
|
11162
11372
|
function formatToString(data) {
|
|
11163
11373
|
const filter = getOutputFilter();
|
|
11374
|
+
const envelope = data;
|
|
11164
11375
|
if ("Data" in data && data.Data != null) {
|
|
11165
11376
|
data.Data = normalizeDataKeys(data.Data);
|
|
11166
11377
|
if (filter) {
|
|
11167
|
-
|
|
11378
|
+
let note;
|
|
11379
|
+
data.Data = normalizeDataKeys(applyFilter(data.Data, filter, (n) => {
|
|
11380
|
+
note = n;
|
|
11381
|
+
}));
|
|
11382
|
+
if (note) {
|
|
11383
|
+
envelope.Warning = appendWarning(envelope.Warning, note);
|
|
11384
|
+
}
|
|
11168
11385
|
}
|
|
11169
11386
|
}
|
|
11170
|
-
const output = normalizeOutputKeys(
|
|
11387
|
+
const output = normalizeOutputKeys(envelope);
|
|
11171
11388
|
const lines = [];
|
|
11172
11389
|
const sink = getOutputSink();
|
|
11173
11390
|
printOutput(output, getOutputFormat(), (msg) => {
|
|
@@ -13178,7 +13395,7 @@ function addSdkUserAgentHeader(headers, userAgent) {
|
|
|
13178
13395
|
var package_default = {
|
|
13179
13396
|
name: "@uipath/project-packager",
|
|
13180
13397
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
13181
|
-
version: "1.202.1-preview.
|
|
13398
|
+
version: "1.202.1-preview.238",
|
|
13182
13399
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
13183
13400
|
type: "module",
|
|
13184
13401
|
main: "./dist/index.js",
|
|
@@ -13629,4 +13846,4 @@ export {
|
|
|
13629
13846
|
signNupkgsAsync
|
|
13630
13847
|
};
|
|
13631
13848
|
|
|
13632
|
-
//# debugId=
|
|
13849
|
+
//# debugId=2356345E51F21FFD64756E2164756E21
|
|
@@ -11,24 +11,24 @@ import {
|
|
|
11
11
|
listNodesInFlow,
|
|
12
12
|
resolveProcessTarget,
|
|
13
13
|
resolveProcessTargetKey
|
|
14
|
-
} from "./packager-tool-
|
|
15
|
-
import"./packager-tool-
|
|
16
|
-
import"./packager-tool-
|
|
14
|
+
} from "./packager-tool-qxb14shc.js";
|
|
15
|
+
import"./packager-tool-a3dh05vd.js";
|
|
16
|
+
import"./packager-tool-qbrqxay1.js";
|
|
17
17
|
import"./packager-tool-w0kr4mbc.js";
|
|
18
|
-
import"./packager-tool-
|
|
19
|
-
import"./packager-tool-
|
|
20
|
-
import"./packager-tool-
|
|
21
|
-
import"./packager-tool-
|
|
22
|
-
import"./packager-tool-
|
|
23
|
-
import"./packager-tool-
|
|
24
|
-
import"./packager-tool-
|
|
25
|
-
import"./packager-tool-
|
|
18
|
+
import"./packager-tool-v32r6vgj.js";
|
|
19
|
+
import"./packager-tool-aa1tt1qg.js";
|
|
20
|
+
import"./packager-tool-j7sv0mv7.js";
|
|
21
|
+
import"./packager-tool-gv725f0e.js";
|
|
22
|
+
import"./packager-tool-vwcsexa9.js";
|
|
23
|
+
import"./packager-tool-hxrg76vj.js";
|
|
24
|
+
import"./packager-tool-p83excfd.js";
|
|
25
|
+
import"./packager-tool-6ex3hqp8.js";
|
|
26
26
|
import"./packager-tool-0gctz400.js";
|
|
27
27
|
import"./packager-tool-qa9gftnj.js";
|
|
28
28
|
import"./packager-tool-yc4kw997.js";
|
|
29
29
|
import"./packager-tool-rr7rrcvh.js";
|
|
30
|
-
import"./packager-tool-
|
|
31
|
-
import"./packager-tool-
|
|
30
|
+
import"./packager-tool-pw69qc5h.js";
|
|
31
|
+
import"./packager-tool-h5raq1zc.js";
|
|
32
32
|
import"./packager-tool-eezmqmky.js";
|
|
33
33
|
import"./packager-tool-3bra2c4j.js";
|
|
34
34
|
import"./packager-tool-2513jrxr.js";
|
|
@@ -42,7 +42,7 @@ import"./packager-tool-z83pga0z.js";
|
|
|
42
42
|
import"./packager-tool-6ejqwbw9.js";
|
|
43
43
|
import"./packager-tool-mcaf4ewf.js";
|
|
44
44
|
import"./packager-tool-eypvc2kv.js";
|
|
45
|
-
import"./packager-tool-
|
|
45
|
+
import"./packager-tool-718at02a.js";
|
|
46
46
|
import"./packager-tool-0v3s8r01.js";
|
|
47
47
|
import"./packager-tool-kmzyj0gm.js";
|
|
48
48
|
import"./packager-tool-kna12zgp.js";
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
searchNodeSummariesWithAvailability,
|
|
8
8
|
searchNodes,
|
|
9
9
|
searchNodesWithFilters
|
|
10
|
-
} from "./packager-tool-
|
|
11
|
-
import"./packager-tool-
|
|
12
|
-
import"./packager-tool-
|
|
10
|
+
} from "./packager-tool-hxrg76vj.js";
|
|
11
|
+
import"./packager-tool-p83excfd.js";
|
|
12
|
+
import"./packager-tool-6ex3hqp8.js";
|
|
13
13
|
import"./packager-tool-0gctz400.js";
|
|
14
14
|
import"./packager-tool-qa9gftnj.js";
|
|
15
15
|
import"./packager-tool-yc4kw997.js";
|
|
16
16
|
import"./packager-tool-rr7rrcvh.js";
|
|
17
|
-
import"./packager-tool-
|
|
17
|
+
import"./packager-tool-718at02a.js";
|
|
18
18
|
import"./packager-tool-0v3s8r01.js";
|
|
19
19
|
import"./packager-tool-kmzyj0gm.js";
|
|
20
20
|
import"./packager-tool-kna12zgp.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
collectAgentInputLeaves,
|
|
6
6
|
isInlineAgentNodeType
|
|
7
|
-
} from "./packager-tool-
|
|
7
|
+
} from "./packager-tool-h5raq1zc.js";
|
|
8
8
|
import {
|
|
9
9
|
catchError
|
|
10
|
-
} from "./packager-tool-
|
|
10
|
+
} from "./packager-tool-718at02a.js";
|
|
11
11
|
|
|
12
12
|
// src/services/flow-eval-node-target.ts
|
|
13
13
|
function findFlowNode(flowContent, nodeId) {
|