@uipath/cli 1.199.0-preview.112 → 1.199.0-preview.113
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/index.browser.js +28 -28
- package/dist/index.js +15 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -71226,7 +71226,7 @@ var init_package = __esm(() => {
|
|
|
71226
71226
|
package_default = {
|
|
71227
71227
|
name: "@uipath/cli",
|
|
71228
71228
|
license: "MIT",
|
|
71229
|
-
version: "1.199.0-preview.
|
|
71229
|
+
version: "1.199.0-preview.113",
|
|
71230
71230
|
description: "Cross platform CLI for UiPath",
|
|
71231
71231
|
repository: {
|
|
71232
71232
|
type: "git",
|
|
@@ -114484,10 +114484,21 @@ async function importPackagerTool(discovered) {
|
|
|
114484
114484
|
if (!packagerToolPath)
|
|
114485
114485
|
return;
|
|
114486
114486
|
logger.debug(`Loading packager factory for '${toolName}' from ${packagerToolPath}`);
|
|
114487
|
-
const [error51] = await catchError(importModuleByPath(packagerToolPath));
|
|
114487
|
+
const [error51, mod2] = await catchError(importModuleByPath(packagerToolPath));
|
|
114488
114488
|
if (error51) {
|
|
114489
114489
|
throw new Error(`Failed to load packager factory for '${toolName}' from ${packagerToolPath}: ${error51 instanceof Error ? error51.message : error51}`);
|
|
114490
114490
|
}
|
|
114491
|
+
const register = mod2?.[REGISTER_EXPORT];
|
|
114492
|
+
if (typeof register !== "function") {
|
|
114493
|
+
logger.debug(`Packager factory entry point for '${toolName}' (${packagerToolPath}) has no ` + `'${REGISTER_EXPORT}' export — treating it as an entry point that ` + "registered its factories at import.");
|
|
114494
|
+
return;
|
|
114495
|
+
}
|
|
114496
|
+
const [registerError] = catchError(() => {
|
|
114497
|
+
register();
|
|
114498
|
+
});
|
|
114499
|
+
if (registerError) {
|
|
114500
|
+
throw new Error(`Failed to register packager factories for '${toolName}' from ${packagerToolPath}: ${registerError.message}`);
|
|
114501
|
+
}
|
|
114491
114502
|
}
|
|
114492
114503
|
async function findNearestToolsDir(startDir, seen) {
|
|
114493
114504
|
const fs7 = getFileSystem();
|
|
@@ -114578,7 +114589,7 @@ async function dirsContainAnyPlugin(dirs) {
|
|
|
114578
114589
|
}
|
|
114579
114590
|
return false;
|
|
114580
114591
|
}
|
|
114581
|
-
var _isRunningFromSource, _isBrowser;
|
|
114592
|
+
var _isRunningFromSource, _isBrowser, REGISTER_EXPORT = "registerPackagerFactories";
|
|
114582
114593
|
var init_toolLoader = __esm(() => {
|
|
114583
114594
|
init_src2();
|
|
114584
114595
|
init_src();
|
|
@@ -142339,4 +142350,4 @@ export {
|
|
|
142339
142350
|
ready
|
|
142340
142351
|
};
|
|
142341
142352
|
|
|
142342
|
-
//# debugId=
|
|
142353
|
+
//# debugId=02546288F850360E64756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/cli",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.199.0-preview.
|
|
4
|
+
"version": "1.199.0-preview.113",
|
|
5
5
|
"description": "Cross platform CLI for UiPath",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"mihaigirleanu",
|
|
35
35
|
"vlad-uipath"
|
|
36
36
|
],
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "723e6801b77b5926ba75e75b6a756cc38b1b7adc"
|
|
38
38
|
}
|