@mablhq/mabl-cli 2.5.2 → 2.6.7
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/browserLauncher/playwrightBrowserLauncher/playwrightBrowser.js +5 -2
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowserLauncher.js +6 -0
- package/browserLauncher/playwrightBrowserLauncher/playwrightFrame.js +3 -0
- package/commands/commandUtil/codeInsights.js +7 -1
- package/execution/index.js +3 -3
- package/http/axiosProxyConfig.js +2 -25
- package/index.d.ts +1 -0
- package/mablApi/index.js +1 -1
- package/mablscript/importer.js +2 -0
- package/mablscript/mobile/steps/PushFileStep.js +27 -0
- package/mablscript/mobile/tests/steps/PushFileStep.mobiletest.js +55 -0
- package/mablscript/types/mobile/PushFileDescriptor.js +2 -0
- package/package.json +2 -2
- package/util/asyncUtil.js +9 -7
- package/util/logUtils.js +14 -8
- package/util/pureUtil.js +9 -1
package/http/axiosProxyConfig.js
CHANGED
|
@@ -1,34 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
3
|
exports.proxyUrlToPortConfig = exports.axiosProxyConfig = exports.currentProxyConfig = exports.setTestExecutionProxyUrl = void 0;
|
|
27
4
|
const cliConfigProvider_1 = require("../providers/cliConfigProvider");
|
|
28
|
-
const https = __importStar(require("https"));
|
|
29
5
|
const https_proxy_agent_1 = require("https-proxy-agent");
|
|
30
6
|
const hpagent_1 = require("hpagent");
|
|
31
7
|
const httpUtil_1 = require("./httpUtil");
|
|
8
|
+
const https_1 = require("https");
|
|
32
9
|
let testExecutionProxyUrl;
|
|
33
10
|
function setTestExecutionProxyUrl(url) {
|
|
34
11
|
testExecutionProxyUrl = url;
|
|
@@ -52,7 +29,7 @@ function axiosProxyConfig(httpConfig) {
|
|
|
52
29
|
proxyType = 'current';
|
|
53
30
|
}
|
|
54
31
|
if (!sslVerify) {
|
|
55
|
-
config.httpsAgent = new
|
|
32
|
+
config.httpsAgent = new https_1.Agent({
|
|
56
33
|
rejectUnauthorized: false,
|
|
57
34
|
});
|
|
58
35
|
}
|
package/index.d.ts
CHANGED