@mablhq/mabl-cli 1.13.19 → 1.16.5
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/api/basicApiClient.js +20 -10
- package/api/featureSet.js +27 -0
- package/api/mablApiClient.js +22 -21
- package/api/mablApiClientFactory.js +0 -8
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowser.js +3 -0
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowserLauncher.js +2 -0
- package/browserLauncher/playwrightBrowserLauncher/playwrightDom.js +12 -0
- package/browserLauncher/puppeteerBrowserLauncher/puppeteerBrowser.js +10 -0
- package/browserLauncher/puppeteerBrowserLauncher/puppeteerElementHandle.js +12 -0
- package/commands/applications/applications_cmds/list.js +5 -2
- package/commands/branches/branches_cmds/list.js +5 -2
- package/commands/config/config_cmds/get.js +5 -2
- package/commands/config/config_cmds/list.js +5 -2
- package/commands/credentials/credentials_cmds/list.js +5 -2
- package/commands/deploy/deploy_cmds/executionResultPresenter.js +5 -2
- package/commands/deploy/deploy_cmds/list.js +5 -2
- package/commands/environments/environments_cmds/list.js +5 -2
- package/commands/flows/flows_cmds/list.js +5 -2
- package/commands/plans/plans_cmds/list.js +5 -2
- package/commands/tests/executionUtil.js +6 -1
- package/commands/tests/testsUtil.js +5 -20
- package/commands/tests/tests_cmds/list.js +5 -2
- package/commands/tests/tests_cmds/trainer_cmds/trainerUtil.js +2 -2
- package/commands/workspaces/workspace_cmds/list.js +5 -2
- package/execution/index.js +1 -1
- package/execution/index.js.LICENSE.txt +0 -6
- package/mablApi/index.js +1 -1
- package/mablscript/MablStep.js +3 -0
- package/mablscript/steps/AccessibilityCheck.js +14 -2
- package/mablscriptFind/index.js +1 -1
- package/package.json +4 -4
- package/resources/mablFind.js +1 -1
- package/util/resourceUtil.js +18 -7
- package/api/entities/JourneyRunScheduledMessage.js +0 -2
|
@@ -5,7 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.checkForTrainerUpdate = exports.getTrainerVersion = exports.getTrainerId = exports.updateMablTrainer = exports.getMablTrainerExtensionPath = exports.getTrainerZipFile = exports.getTrainerManifestPath = exports.getTrainerUnzippedPath = exports.getTrainerPath = exports.LOCAL_TRAINER_ID = void 0;
|
|
7
7
|
const env_1 = require("../../../../env/env");
|
|
8
|
-
const
|
|
8
|
+
const cli_table3_1 = __importDefault(require("cli-table3"));
|
|
9
9
|
const httpUtil_1 = require("../../../../util/httpUtil");
|
|
10
10
|
const messaging_1 = require("../../../../core/messaging/messaging");
|
|
11
11
|
const envPaths = require('env-paths');
|
|
@@ -131,7 +131,7 @@ async function checkForTrainerUpdate() {
|
|
|
131
131
|
.then((checkSum) => {
|
|
132
132
|
const checkSumLatest = checkSum.match('md5=([^}]+)');
|
|
133
133
|
if (checkSumLatest && checkSumLatest[1] !== currentTrainerCheckSum) {
|
|
134
|
-
const table = new
|
|
134
|
+
const table = new cli_table3_1.default({
|
|
135
135
|
head: [chalk.yellow('Trainer Update Available')],
|
|
136
136
|
wordWrap: true,
|
|
137
137
|
});
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
const js_yaml_1 = require("js-yaml");
|
|
4
7
|
const mablApiClientFactory_1 = require("../../../api/mablApiClientFactory");
|
|
5
|
-
const
|
|
8
|
+
const cli_table3_1 = __importDefault(require("cli-table3"));
|
|
6
9
|
const moment = require("moment");
|
|
7
10
|
const util_1 = require("../../commandUtil/util");
|
|
8
11
|
const interfaces_1 = require("../../commandUtil/interfaces");
|
|
@@ -43,7 +46,7 @@ function printWorkspaces(workspaces, output) {
|
|
|
43
46
|
loggingProvider_1.logger.info(js_yaml_1.dump(workspaces));
|
|
44
47
|
break;
|
|
45
48
|
default:
|
|
46
|
-
const table = new
|
|
49
|
+
const table = new cli_table3_1.default({
|
|
47
50
|
head: ['ID', 'Name', 'Created time'],
|
|
48
51
|
wordWrap: true,
|
|
49
52
|
});
|