@uipath/project-packager 1.201.0-preview.115 → 1.201.0-preview.122
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/browser.js +2 -2
- package/dist/index.js +3 -3
- package/dist/node.js +9 -4
- package/package.json +2 -2
package/dist/browser.js
CHANGED
|
@@ -22329,6 +22329,7 @@ var TLS_ERROR_CODES = new Set([
|
|
|
22329
22329
|
]);
|
|
22330
22330
|
var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
|
|
22331
22331
|
var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
|
|
22332
|
+
var LOCAL_PERMISSION_ERROR_CODES = new Set(["EACCES", "EPERM", "EROFS"]);
|
|
22332
22333
|
var logFilePathSlot = singleton("logFilePath");
|
|
22333
22334
|
function setGlobalLogFilePath(path) {
|
|
22334
22335
|
logFilePathSlot.set(path);
|
|
@@ -23243,7 +23244,6 @@ class TelemetryService {
|
|
|
23243
23244
|
}
|
|
23244
23245
|
}
|
|
23245
23246
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
23246
|
-
var moduleSlot = singleton("ToolModuleProvider");
|
|
23247
23247
|
|
|
23248
23248
|
// src/base-browser-packager-factory.ts
|
|
23249
23249
|
import { BrowserFileSystem } from "@uipath/filesystem/browser";
|
|
@@ -24260,4 +24260,4 @@ export {
|
|
|
24260
24260
|
BaseBrowserPackagerFactory
|
|
24261
24261
|
};
|
|
24262
24262
|
|
|
24263
|
-
//# debugId=
|
|
24263
|
+
//# debugId=DB1B7C36D156FFC164756E2164756E21
|
package/dist/index.js
CHANGED
|
@@ -22329,6 +22329,7 @@ var TLS_ERROR_CODES = new Set([
|
|
|
22329
22329
|
]);
|
|
22330
22330
|
var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
|
|
22331
22331
|
var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
|
|
22332
|
+
var LOCAL_PERMISSION_ERROR_CODES = new Set(["EACCES", "EPERM", "EROFS"]);
|
|
22332
22333
|
var logFilePathSlot = singleton("logFilePath");
|
|
22333
22334
|
function setGlobalLogFilePath(path) {
|
|
22334
22335
|
logFilePathSlot.set(path);
|
|
@@ -23243,7 +23244,6 @@ class TelemetryService {
|
|
|
23243
23244
|
}
|
|
23244
23245
|
}
|
|
23245
23246
|
var factorySlot = singleton("PackagerFactoryProvider");
|
|
23246
|
-
var moduleSlot = singleton("ToolModuleProvider");
|
|
23247
23247
|
// src/models/packager-parameters.ts
|
|
23248
23248
|
import {
|
|
23249
23249
|
LogLevel as LogLevel2
|
|
@@ -23643,7 +23643,7 @@ import { translate as translate3 } from "@uipath/solutionpackager-tool-core";
|
|
|
23643
23643
|
var package_default = {
|
|
23644
23644
|
name: "@uipath/project-packager",
|
|
23645
23645
|
license: "MIT",
|
|
23646
|
-
version: "1.201.0-preview.
|
|
23646
|
+
version: "1.201.0-preview.122",
|
|
23647
23647
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
23648
23648
|
type: "module",
|
|
23649
23649
|
main: "./dist/index.js",
|
|
@@ -24918,4 +24918,4 @@ export {
|
|
|
24918
24918
|
BrowserContextStorage
|
|
24919
24919
|
};
|
|
24920
24920
|
|
|
24921
|
-
//# debugId=
|
|
24921
|
+
//# debugId=3197423A40C2482664756E2164756E21
|
package/dist/node.js
CHANGED
|
@@ -9568,6 +9568,7 @@ var TLS_ERROR_CODES = new Set([
|
|
|
9568
9568
|
]);
|
|
9569
9569
|
var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
|
|
9570
9570
|
var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
|
|
9571
|
+
var LOCAL_PERMISSION_ERROR_CODES = new Set(["EACCES", "EPERM", "EROFS"]);
|
|
9571
9572
|
var import__ = __toESM(require_commander(), 1);
|
|
9572
9573
|
var {
|
|
9573
9574
|
program,
|
|
@@ -10723,6 +10724,7 @@ var CLI_ERROR_CODES = [
|
|
|
10723
10724
|
"invalid_argument",
|
|
10724
10725
|
"authentication_required",
|
|
10725
10726
|
"permission_denied",
|
|
10727
|
+
"local_permission_denied",
|
|
10726
10728
|
"not_found",
|
|
10727
10729
|
"rate_limited",
|
|
10728
10730
|
"network_error",
|
|
@@ -11158,12 +11160,16 @@ function defaultErrorCodeForHttpStatus(status) {
|
|
|
11158
11160
|
return "server_error";
|
|
11159
11161
|
return;
|
|
11160
11162
|
}
|
|
11163
|
+
var LOCAL_PERMISSION_TEXT_PATTERN = /(?:\b|\()(?:EACCES|EPERM|EROFS)(?::\s|\))/;
|
|
11161
11164
|
function defaultErrorCodeForFailure(data) {
|
|
11162
11165
|
if (data.Result === RESULTS.Failure) {
|
|
11163
11166
|
const status = data.Context?.httpStatus ?? parseHttpStatusFromMessage2(data.Message);
|
|
11164
11167
|
const errorCode = defaultErrorCodeForHttpStatus(status);
|
|
11165
11168
|
if (errorCode)
|
|
11166
11169
|
return errorCode;
|
|
11170
|
+
if (status === undefined && (LOCAL_PERMISSION_TEXT_PATTERN.test(data.Message) || LOCAL_PERMISSION_TEXT_PATTERN.test(data.Instructions))) {
|
|
11171
|
+
return "local_permission_denied";
|
|
11172
|
+
}
|
|
11167
11173
|
}
|
|
11168
11174
|
return defaultErrorCodeForResult(data.Result);
|
|
11169
11175
|
}
|
|
@@ -11629,8 +11635,6 @@ var ScreenLogger;
|
|
|
11629
11635
|
ScreenLogger2.progress = progress;
|
|
11630
11636
|
})(ScreenLogger ||= {});
|
|
11631
11637
|
var sdkUserAgentHostToken = singleton("SdkUserAgentHostToken");
|
|
11632
|
-
var factorySlot = singleton("PackagerFactoryProvider");
|
|
11633
|
-
var moduleSlot = singleton("ToolModuleProvider");
|
|
11634
11638
|
class ConsoleTelemetryProvider {
|
|
11635
11639
|
async trackEvent(eventName, _properties) {
|
|
11636
11640
|
console.debug(`[Telemetry] Event: ${eventName}`);
|
|
@@ -11646,6 +11650,7 @@ class ConsoleTelemetryProvider {
|
|
|
11646
11650
|
}
|
|
11647
11651
|
}
|
|
11648
11652
|
var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
|
|
11653
|
+
var factorySlot = singleton("PackagerFactoryProvider");
|
|
11649
11654
|
// src/base-node-packager-factory.ts
|
|
11650
11655
|
import { NodeFileSystem as NodeFileSystem2 } from "@uipath/filesystem";
|
|
11651
11656
|
import { translate } from "@uipath/solutionpackager-tool-core";
|
|
@@ -13053,7 +13058,7 @@ import { translate as translate9 } from "@uipath/solutionpackager-tool-core";
|
|
|
13053
13058
|
var package_default = {
|
|
13054
13059
|
name: "@uipath/project-packager",
|
|
13055
13060
|
license: "MIT",
|
|
13056
|
-
version: "1.201.0-preview.
|
|
13061
|
+
version: "1.201.0-preview.122",
|
|
13057
13062
|
description: "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
13058
13063
|
type: "module",
|
|
13059
13064
|
main: "./dist/index.js",
|
|
@@ -13510,4 +13515,4 @@ export {
|
|
|
13510
13515
|
BaseNodePackagerFactory
|
|
13511
13516
|
};
|
|
13512
13517
|
|
|
13513
|
-
//# debugId=
|
|
13518
|
+
//# debugId=925061057ABA17F764756E2164756E21
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/project-packager",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "1.201.0-preview.
|
|
4
|
+
"version": "1.201.0-preview.122",
|
|
5
5
|
"description": "UiPath Project Packager - core library for packing individual UiPath projects",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"fflate": "^0.8.2"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "6c56f56100be96231fccbaa59e99d64d94808d58"
|
|
43
43
|
}
|