create-claude-cabinet 0.29.4 → 0.29.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-cabinet/site-audit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Comprehensive deployed-site quality audit engine for Claude Cabinet. Runs checks across performance, accessibility, security, SEO, content, DNS, and privacy against a deployed URL; single-site and comparison modes; standalone HTML report.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -85,7 +85,7 @@ export function validateOptions(opts) {
|
|
|
85
85
|
function writeReport(html, report, outDir, suffix = '') {
|
|
86
86
|
const dir = outDir || 'reports';
|
|
87
87
|
mkdirSync(dir, { recursive: true });
|
|
88
|
-
const host = sanitizeHostname(report.url);
|
|
88
|
+
const host = sanitizeHostname(report.url || report.urlA || 'unknown');
|
|
89
89
|
const ts = new Date().toISOString().replace(/[:.]/g, '-').slice(0, 19);
|
|
90
90
|
let base = `site-audit-${host}-${ts}${suffix ? '-' + suffix : ''}`;
|
|
91
91
|
let path = join(dir, `${base}.html`);
|