ag-awsauth 0.0.47 → 0.0.50
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/helpers/browser.js +1 -1
- package/dist/helpers/input.js +2 -2
- package/dist/index.js +8 -1
- package/package.json +6 -6
package/dist/helpers/browser.js
CHANGED
|
@@ -33,7 +33,7 @@ exports.closeBrowser = closeBrowser;
|
|
|
33
33
|
const launchBrowser = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
34
34
|
const opt = {
|
|
35
35
|
defaultViewport: { height: 1000, width: 500 },
|
|
36
|
-
headless:
|
|
36
|
+
headless: (__1.globalargs === null || __1.globalargs === void 0 ? void 0 : __1.globalargs.verbose) ? false : 'new',
|
|
37
37
|
ignoreHTTPSErrors: true,
|
|
38
38
|
devtools: false,
|
|
39
39
|
};
|
package/dist/helpers/input.js
CHANGED
|
@@ -44,7 +44,7 @@ function chooseAppInstance(ai, args) {
|
|
|
44
44
|
exports.chooseAppInstance = chooseAppInstance;
|
|
45
45
|
function readArguments() {
|
|
46
46
|
return __awaiter(this, void 0, void 0, function* () {
|
|
47
|
-
const { version, applicationfilter, verbose, wipe, config } = yield (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv))
|
|
47
|
+
const { vers: version, applicationfilter, verbose, wipe, config, } = yield (0, yargs_1.default)((0, helpers_1.hideBin)(process.argv))
|
|
48
48
|
.help('h')
|
|
49
49
|
.alias('h', 'help')
|
|
50
50
|
.option('applicationfilter', {
|
|
@@ -70,7 +70,7 @@ function readArguments() {
|
|
|
70
70
|
description: 'Configure application settings',
|
|
71
71
|
default: false,
|
|
72
72
|
})
|
|
73
|
-
.option('
|
|
73
|
+
.option('vers', {
|
|
74
74
|
type: 'boolean',
|
|
75
75
|
description: 'Show application version',
|
|
76
76
|
default: false,
|
package/dist/index.js
CHANGED
|
@@ -46,8 +46,15 @@ function main(args) {
|
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
if (args.version) {
|
|
49
|
+
let pjpath = '../package.json';
|
|
50
|
+
if (!fs_1.default.existsSync(pjpath)) {
|
|
51
|
+
pjpath = '../../package.json';
|
|
52
|
+
}
|
|
53
|
+
if (!fs_1.default.existsSync(pjpath)) {
|
|
54
|
+
throw new Error('package json cant be found');
|
|
55
|
+
}
|
|
49
56
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
50
|
-
const p = require(
|
|
57
|
+
const p = require(pjpath);
|
|
51
58
|
(0, log_1.warn)('version=' + p.version);
|
|
52
59
|
return;
|
|
53
60
|
}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"author": "andrei gec (andreigec@hotmail.com)",
|
|
6
6
|
"license": "ISC",
|
|
7
7
|
"private": false,
|
|
8
|
-
"version": "0.0.
|
|
8
|
+
"version": "0.0.50",
|
|
9
9
|
"preferGlobal": true,
|
|
10
10
|
"scripts": {
|
|
11
11
|
"format": "eslint --ext .ts,.tsx ./src --fix",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"LICENSE.md"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@aws-sdk/client-sso": "3.
|
|
27
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
28
|
-
"@aws-sdk/client-sts": "3.
|
|
26
|
+
"@aws-sdk/client-sso": "3.328.0",
|
|
27
|
+
"@aws-sdk/client-sso-oidc": "3.328.0",
|
|
28
|
+
"@aws-sdk/client-sts": "3.328.0",
|
|
29
29
|
"@aws-sdk/shared-ini-file-loader": "3.310.0",
|
|
30
30
|
"ag-common": "0.0.429",
|
|
31
31
|
"cli-select": "1.1.2",
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
"eslint-config-e7npm": "0.0.9",
|
|
35
35
|
"ini": "4.1.0",
|
|
36
36
|
"node-fetch": "2.6.9",
|
|
37
|
-
"puppeteer": "20.1.
|
|
37
|
+
"puppeteer": "20.1.1",
|
|
38
38
|
"readline-sync": "1.4.10",
|
|
39
39
|
"typescript": "5.0.4",
|
|
40
40
|
"yargs": "17.7.2"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/ini": "1.3.31",
|
|
44
|
-
"@types/node": "18.16.
|
|
44
|
+
"@types/node": "18.16.5",
|
|
45
45
|
"@types/node-fetch": "2.6.3",
|
|
46
46
|
"@types/readline-sync": "1.4.4",
|
|
47
47
|
"@types/yargs": "17.0.24"
|