vibecheck-ai 1.0.5 → 1.0.6
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 +8 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -66913,7 +66913,9 @@ function renderCommandHeader(options) {
|
|
|
66913
66913
|
const diag = diagnostics[diagIndex];
|
|
66914
66914
|
if (diagLine === 0) {
|
|
66915
66915
|
const levelLabel = formatStatus(diag.level);
|
|
66916
|
-
|
|
66916
|
+
const maxMsgLen = 28;
|
|
66917
|
+
const msg = diag.message.length > maxMsgLen ? diag.message.slice(0, maxMsgLen - 2) + ".." : diag.message;
|
|
66918
|
+
rightContent = ` ${levelLabel} ${msg}`;
|
|
66917
66919
|
} else if (diagLine === 1 && diag.details) {
|
|
66918
66920
|
rightContent = ` ${dim(diag.details.slice(0, 26))}`;
|
|
66919
66921
|
diagIndex++;
|
|
@@ -69584,27 +69586,19 @@ async function scanCommand(options) {
|
|
|
69584
69586
|
diagnostics: [
|
|
69585
69587
|
{
|
|
69586
69588
|
level: "info",
|
|
69587
|
-
message: `
|
|
69588
|
-
},
|
|
69589
|
-
{
|
|
69590
|
-
level: "info",
|
|
69591
|
-
message: `Output: ${path18__default.relative(process.cwd(), results.outputPath)}`
|
|
69589
|
+
message: `Done in ${formatDuration(results.duration)}`
|
|
69592
69590
|
},
|
|
69593
69591
|
{
|
|
69594
69592
|
level: "info",
|
|
69595
69593
|
message: `Size: ${formatBytes(outputSize)}`
|
|
69596
69594
|
},
|
|
69597
69595
|
...results.routes === 0 ? [{
|
|
69598
|
-
level: "
|
|
69599
|
-
message: "No routes
|
|
69596
|
+
level: "warn",
|
|
69597
|
+
message: "No routes found"
|
|
69600
69598
|
}] : [],
|
|
69601
69599
|
...results.auth === 0 ? [{
|
|
69602
|
-
level: "
|
|
69603
|
-
message: "No auth patterns
|
|
69604
|
-
}] : [],
|
|
69605
|
-
...options.verbose ? [{
|
|
69606
|
-
level: "info",
|
|
69607
|
-
message: `Total items scanned: ${totalItems}`
|
|
69600
|
+
level: "warn",
|
|
69601
|
+
message: "No auth patterns"
|
|
69608
69602
|
}] : []
|
|
69609
69603
|
]
|
|
69610
69604
|
});
|