@uipath/function-tool 1.202.0-preview.159 → 1.203.0-preview.160

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.
@@ -5,10 +5,68 @@ compiled into its `dist/` output rather than installed alongside it.
5
5
  Their licences and copyright notices are reproduced here in full, as
6
6
  those licences require.
7
7
 
8
- 2 bundled dependencies:
8
+ 20 bundled dependencies:
9
9
 
10
+ - @uipath/coded-functions-js-cli@0.1.86 — SEE LICENSE IN LICENSE.txt
11
+ - @uipath/coded-functions-js-packager@0.1.10 — see below
12
+ - bundle-name@4.1.0 — MIT
10
13
  - commander@14.0.3 — MIT
14
+ - default-browser@5.5.0 — MIT
15
+ - default-browser-id@5.0.1 — MIT
16
+ - define-lazy-prop@3.0.0 — MIT
11
17
  - fflate@0.8.3 — MIT
18
+ - is-docker@3.0.0 — MIT
19
+ - is-in-ssh@1.0.0 — MIT
20
+ - is-inside-container@1.0.0 — MIT
21
+ - is-wsl@3.1.1 — MIT
22
+ - jmespath@0.16.0 — Apache-2.0
23
+ - js-yaml@4.3.2 — MIT
24
+ - oauth4webapi@3.8.6 — MIT
25
+ - open@11.0.0 — MIT
26
+ - openid-client@6.8.4 — MIT
27
+ - powershell-utils@0.1.0 — MIT
28
+ - run-applescript@7.1.0 — MIT
29
+ - wsl-utils@0.3.1 — MIT
30
+
31
+ ---
32
+
33
+ ## @uipath/coded-functions-js-cli@0.1.86
34
+
35
+ SPDX: SEE LICENSE IN LICENSE.txt
36
+
37
+ ```
38
+ © 2026 UiPath
39
+ Use of this product is subject (a) to the applicable licensing agreement available: https://www.uipath.com/legal/trust-and-security/legal-terms#content-1 and, (b) for paid products listed here https://licensing.uipath.com/: the licensing agreement agreed between you and UiPath.
40
+ (UiPath means UiPath SRL with headquarters at 4 Vasile Alecsandri Str. and 11 Constantin Daniel Str., Building A, floors 5 and 6, District 1, Bucharest 010639, Romania and UiPath Inc. with principal place of business: One Vanderbilt Avenue, 60th Floor, New York, NY 10017)
41
+ ```
42
+
43
+ ---
44
+
45
+ ## @uipath/coded-functions-js-packager@0.1.10
46
+
47
+ SPDX:
48
+
49
+ The upstream package ships no licence file here; `` is the
50
+ licence it is distributed under. The canonical text of that licence
51
+ applies, with copyright held by the package's authors.
52
+
53
+ ---
54
+
55
+ ## bundle-name@4.1.0
56
+
57
+ SPDX: MIT
58
+
59
+ ```
60
+ MIT License
61
+
62
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
65
+
66
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
67
+
68
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
69
+ ```
12
70
 
13
71
  ---
14
72
 
@@ -43,6 +101,60 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43
101
 
44
102
  ---
45
103
 
104
+ ## default-browser@5.5.0
105
+
106
+ SPDX: MIT
107
+
108
+ ```
109
+ MIT License
110
+
111
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
112
+
113
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
114
+
115
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
116
+
117
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
118
+ ```
119
+
120
+ ---
121
+
122
+ ## default-browser-id@5.0.1
123
+
124
+ SPDX: MIT
125
+
126
+ ```
127
+ MIT License
128
+
129
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
130
+
131
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
132
+
133
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
134
+
135
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
136
+ ```
137
+
138
+ ---
139
+
140
+ ## define-lazy-prop@3.0.0
141
+
142
+ SPDX: MIT
143
+
144
+ ```
145
+ MIT License
146
+
147
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
148
+
149
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
150
+
151
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
152
+
153
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
154
+ ```
155
+
156
+ ---
157
+
46
158
  ## fflate@0.8.3
47
159
 
48
160
  SPDX: MIT
@@ -70,3 +182,259 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
70
182
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
71
183
  SOFTWARE.
72
184
  ```
185
+
186
+ ---
187
+
188
+ ## is-docker@3.0.0
189
+
190
+ SPDX: MIT
191
+
192
+ ```
193
+ MIT License
194
+
195
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
196
+
197
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
198
+
199
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
200
+
201
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
202
+ ```
203
+
204
+ ---
205
+
206
+ ## is-in-ssh@1.0.0
207
+
208
+ SPDX: MIT
209
+
210
+ ```
211
+ MIT License
212
+
213
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
214
+
215
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
216
+
217
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
218
+
219
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
220
+ ```
221
+
222
+ ---
223
+
224
+ ## is-inside-container@1.0.0
225
+
226
+ SPDX: MIT
227
+
228
+ ```
229
+ MIT License
230
+
231
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
232
+
233
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
234
+
235
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
236
+
237
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
238
+ ```
239
+
240
+ ---
241
+
242
+ ## is-wsl@3.1.1
243
+
244
+ SPDX: MIT
245
+
246
+ ```
247
+ MIT License
248
+
249
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
250
+
251
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
252
+
253
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
254
+
255
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
256
+ ```
257
+
258
+ ---
259
+
260
+ ## jmespath@0.16.0
261
+
262
+ SPDX: Apache-2.0
263
+
264
+ ```
265
+ Copyright 2014 James Saryerwinnie
266
+
267
+ Licensed under the Apache License, Version 2.0 (the "License");
268
+ you may not use this file except in compliance with the License.
269
+ You may obtain a copy of the License at
270
+
271
+ http://www.apache.org/licenses/LICENSE-2.0
272
+
273
+ Unless required by applicable law or agreed to in writing, software
274
+ distributed under the License is distributed on an "AS IS" BASIS,
275
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
276
+ See the License for the specific language governing permissions and
277
+ limitations under the License.
278
+ ```
279
+
280
+ ---
281
+
282
+ ## js-yaml@4.3.2
283
+
284
+ SPDX: MIT
285
+
286
+ ```
287
+ (The MIT License)
288
+
289
+ Copyright (C) 2011-2015 by Vitaly Puzrin
290
+
291
+ Permission is hereby granted, free of charge, to any person obtaining a copy
292
+ of this software and associated documentation files (the "Software"), to deal
293
+ in the Software without restriction, including without limitation the rights
294
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
295
+ copies of the Software, and to permit persons to whom the Software is
296
+ furnished to do so, subject to the following conditions:
297
+
298
+ The above copyright notice and this permission notice shall be included in
299
+ all copies or substantial portions of the Software.
300
+
301
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
302
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
303
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
304
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
305
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
306
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
307
+ THE SOFTWARE.
308
+ ```
309
+
310
+ ---
311
+
312
+ ## oauth4webapi@3.8.6
313
+
314
+ SPDX: MIT
315
+
316
+ ```
317
+ The MIT License (MIT)
318
+
319
+ Copyright (c) 2022 Filip Skokan
320
+
321
+ Permission is hereby granted, free of charge, to any person obtaining a copy
322
+ of this software and associated documentation files (the "Software"), to deal
323
+ in the Software without restriction, including without limitation the rights
324
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
325
+ copies of the Software, and to permit persons to whom the Software is
326
+ furnished to do so, subject to the following conditions:
327
+
328
+ The above copyright notice and this permission notice shall be included in all
329
+ copies or substantial portions of the Software.
330
+
331
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
332
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
333
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
334
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
335
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
336
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
337
+ SOFTWARE.
338
+ ```
339
+
340
+ ---
341
+
342
+ ## open@11.0.0
343
+
344
+ SPDX: MIT
345
+
346
+ ```
347
+ MIT License
348
+
349
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
350
+
351
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
352
+
353
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
354
+
355
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
356
+ ```
357
+
358
+ ---
359
+
360
+ ## openid-client@6.8.4
361
+
362
+ SPDX: MIT
363
+
364
+ ```
365
+ The MIT License (MIT)
366
+
367
+ Copyright (c) 2016 Filip Skokan
368
+
369
+ Permission is hereby granted, free of charge, to any person obtaining a copy
370
+ of this software and associated documentation files (the "Software"), to deal
371
+ in the Software without restriction, including without limitation the rights
372
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
373
+ copies of the Software, and to permit persons to whom the Software is
374
+ furnished to do so, subject to the following conditions:
375
+
376
+ The above copyright notice and this permission notice shall be included in all
377
+ copies or substantial portions of the Software.
378
+
379
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
380
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
381
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
382
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
383
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
384
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
385
+ SOFTWARE.
386
+ ```
387
+
388
+ ---
389
+
390
+ ## powershell-utils@0.1.0
391
+
392
+ SPDX: MIT
393
+
394
+ ```
395
+ MIT License
396
+
397
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
398
+
399
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
400
+
401
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
402
+
403
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
404
+ ```
405
+
406
+ ---
407
+
408
+ ## run-applescript@7.1.0
409
+
410
+ SPDX: MIT
411
+
412
+ ```
413
+ MIT License
414
+
415
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
416
+
417
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
418
+
419
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
420
+
421
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
422
+ ```
423
+
424
+ ---
425
+
426
+ ## wsl-utils@0.3.1
427
+
428
+ SPDX: MIT
429
+
430
+ ```
431
+ MIT License
432
+
433
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
434
+
435
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
436
+
437
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
438
+
439
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
440
+ ```
@@ -0,0 +1,99 @@
1
+ import {
2
+ getGlobalThis
3
+ } from "./packager-tool-0gctz400.js";
4
+ import {
5
+ AUTH_CANCELLED_ERROR_CODE
6
+ } from "./packager-tool-yc4kw997.js";
7
+ import"./packager-tool-1de529jm.js";
8
+
9
+ // ../auth/src/strategies/browser-strategy.ts
10
+ class BrowserAuthStrategy {
11
+ async execute(url, _redirectUri, expectedState, opts) {
12
+ const global = getGlobalThis();
13
+ if (!global?.window) {
14
+ throw new Error("Browser environment required for authentication");
15
+ }
16
+ const screenWidth = global.window.screen?.width ?? 1024;
17
+ const screenHeight = global.window.screen?.height ?? 768;
18
+ const width = 600;
19
+ const height = 700;
20
+ const left = screenWidth / 2 - width / 2;
21
+ const top = screenHeight / 2 - height / 2;
22
+ if (!global.window.open) {
23
+ throw new Error("window.open is not available");
24
+ }
25
+ const popupResult = global.window.open(url, "uip_auth", `width=${width},height=${height},left=${left},top=${top},resizable=yes,scrollbars=yes,status=yes`);
26
+ const popup = popupResult;
27
+ if (!popup) {
28
+ throw new Error(`Authentication popup was blocked by your browser.
29
+
30
+ ` + `To continue:
31
+ ` + `1. Look for a popup blocker icon in your address bar
32
+ ` + `2. Allow popups for this site
33
+ ` + `3. Try logging in again
34
+
35
+ ` + "If using an ad blocker, you may need to temporarily disable it.");
36
+ }
37
+ return new Promise((resolve, reject) => {
38
+ let timer;
39
+ const messageHandler = (event) => {
40
+ if (event.data?.type === "UIP_AUTH_CODE" && event.data.code) {
41
+ if (event.data.state !== expectedState) {
42
+ cleanup();
43
+ reject(new Error("OAuth state mismatch — the callback state does not match the expected value. " + "This may indicate a CSRF attack. Please try signing in again."));
44
+ popup.close();
45
+ return;
46
+ }
47
+ cleanup();
48
+ resolve(event.data.code);
49
+ popup.close();
50
+ } else if (event.data?.type === "UIP_AUTH_ERROR") {
51
+ cleanup();
52
+ const errorMsg = event.data.error || "Authentication failed";
53
+ reject(new Error(`Authentication failed: ${errorMsg}
54
+
55
+ ` + "Please check your credentials and try again. " + "If the problem persists, verify your UiPath account is active."));
56
+ popup.close();
57
+ }
58
+ };
59
+ const cleanup = () => {
60
+ global.window?.removeEventListener?.("message", messageHandler);
61
+ opts?.signal?.removeEventListener("abort", onAbort);
62
+ if (timer)
63
+ clearInterval(timer);
64
+ };
65
+ const onAbort = () => {
66
+ cleanup();
67
+ const err = new Error(`Authentication was cancelled.
68
+
69
+ ` + "The sign-in was cancelled before completing the login process. " + "Please try again and complete the authentication flow.");
70
+ err.code = AUTH_CANCELLED_ERROR_CODE;
71
+ reject(err);
72
+ popup.close();
73
+ };
74
+ if (opts?.signal) {
75
+ if (opts.signal.aborted) {
76
+ onAbort();
77
+ return;
78
+ }
79
+ opts.signal.addEventListener("abort", onAbort, { once: true });
80
+ }
81
+ if (global.window?.addEventListener) {
82
+ global.window.addEventListener("message", messageHandler);
83
+ }
84
+ timer = setInterval(() => {
85
+ if (popup.closed) {
86
+ cleanup();
87
+ reject(new Error(`Authentication was cancelled.
88
+
89
+ ` + "The authentication popup was closed before completing the login process. " + "Please try again and complete the authentication flow."));
90
+ }
91
+ }, 1000);
92
+ });
93
+ }
94
+ }
95
+ export {
96
+ BrowserAuthStrategy
97
+ };
98
+
99
+ //# debugId=B13A3005E9EE6C6564756E2164756E21
@@ -1,3 +1,5 @@
1
+ import"./packager-tool-1de529jm.js";
2
+
1
3
  // ../../node_modules/@uipath/coded-functions-js-cli/dist/cliRunner.js
2
4
  import { createRequire } from "node:module";
3
5
  import { fileURLToPath as fileURLToPath3 } from "node:url";
@@ -7188,6 +7190,9 @@ async function cliRunner(args) {
7188
7190
  const program2 = buildProgram();
7189
7191
  await program2.parseAsync(["node", "uipath-functions", ...args]);
7190
7192
  }
7191
- export { generateManifests, cliRunner };
7193
+ export {
7194
+ cliRunner,
7195
+ generateManifests
7196
+ };
7192
7197
 
7193
- //# debugId=A1F90FDD6E84435C64756E2164756E21
7198
+ //# debugId=94EBF991AB3525F364756E2164756E21