vibecheck-ai 1.0.4 → 1.0.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/dist/index.js +16 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69392,14 +69392,6 @@ async function scanCommand(options) {
|
|
|
69392
69392
|
try {
|
|
69393
69393
|
validateOptions(options);
|
|
69394
69394
|
checkSystemRequirements();
|
|
69395
|
-
if (env.isInteractive && !options.json && !options.quiet) {
|
|
69396
|
-
renderCommandHeader({
|
|
69397
|
-
command: "scan",
|
|
69398
|
-
version: "1.0.0",
|
|
69399
|
-
target: process.cwd(),
|
|
69400
|
-
elapsedTime: 0
|
|
69401
|
-
});
|
|
69402
|
-
}
|
|
69403
69395
|
const configLoadStart = Date.now();
|
|
69404
69396
|
let config;
|
|
69405
69397
|
let configSource = "file";
|
|
@@ -69589,10 +69581,10 @@ async function scanCommand(options) {
|
|
|
69589
69581
|
percentage: results.auth > 0 ? HEALTH_PERCENTAGES.AUTH_COVERAGE : 0
|
|
69590
69582
|
}
|
|
69591
69583
|
],
|
|
69592
|
-
diagnostics:
|
|
69584
|
+
diagnostics: [
|
|
69593
69585
|
{
|
|
69594
69586
|
level: "info",
|
|
69595
|
-
message: `
|
|
69587
|
+
message: `Scan completed in ${formatDuration(results.duration)}`
|
|
69596
69588
|
},
|
|
69597
69589
|
{
|
|
69598
69590
|
level: "info",
|
|
@@ -69601,8 +69593,20 @@ async function scanCommand(options) {
|
|
|
69601
69593
|
{
|
|
69602
69594
|
level: "info",
|
|
69603
69595
|
message: `Size: ${formatBytes(outputSize)}`
|
|
69604
|
-
}
|
|
69605
|
-
|
|
69596
|
+
},
|
|
69597
|
+
...results.routes === 0 ? [{
|
|
69598
|
+
level: "warning",
|
|
69599
|
+
message: "No routes detected - add API endpoints"
|
|
69600
|
+
}] : [],
|
|
69601
|
+
...results.auth === 0 ? [{
|
|
69602
|
+
level: "warning",
|
|
69603
|
+
message: "No auth patterns - add authentication"
|
|
69604
|
+
}] : [],
|
|
69605
|
+
...options.verbose ? [{
|
|
69606
|
+
level: "info",
|
|
69607
|
+
message: `Total items scanned: ${totalItems}`
|
|
69608
|
+
}] : []
|
|
69609
|
+
]
|
|
69606
69610
|
});
|
|
69607
69611
|
}
|
|
69608
69612
|
let forgeResult;
|