atris 3.80.0 → 3.80.1
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/commands/auth.js +2 -2
- package/commands/computer.js +165 -2412
- package/commands/security-review.js +5 -1
- package/commands/site-deploy.js +5 -1
- package/lib/computer-core.js +2447 -0
- package/lib/security-audit-classes.js +20 -2
- package/lib/security-audit.js +31 -1
- package/package.json +9 -2
- package/utils/auth.js +18 -4
package/commands/auth.js
CHANGED
|
@@ -737,7 +737,7 @@ async function loginAtris(options = {}) {
|
|
|
737
737
|
|
|
738
738
|
openBrowser(loginUrl);
|
|
739
739
|
|
|
740
|
-
const code = await promptUser('CLI code: ');
|
|
740
|
+
const code = await promptUser('CLI code: ', { secret: true });
|
|
741
741
|
if (!code) {
|
|
742
742
|
console.error('Error: Code is required.');
|
|
743
743
|
process.exit(1);
|
|
@@ -774,7 +774,7 @@ async function loginAtris(options = {}) {
|
|
|
774
774
|
} else if (methodChoice === '2') {
|
|
775
775
|
console.log('\nGet your token from: https://atris.ai/auth/cli\n');
|
|
776
776
|
|
|
777
|
-
const tokenInput = await promptUser('API token: ');
|
|
777
|
+
const tokenInput = await promptUser('API token: ', { secret: true });
|
|
778
778
|
|
|
779
779
|
if (!tokenInput) {
|
|
780
780
|
console.error('Error: Token is required.');
|