From ca4290f9aec234399fbd5214eccd4a251eb9ad5e Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 22 Apr 2026 10:47:56 +0000 Subject: [PATCH] chore: update TrustYourWebsite links from .nl to .com Replaces all https://trustyourwebsite.nl URLs and the info@trustyourwebsite.nl email with their .com equivalents across README, CHANGELOG, package.json, CLI help, formatters, and tests. npm scope names (@trustyourwebsite/*) and GitHub org URLs are unchanged. https://claude.ai/code/session_01QKC1zZRHJ6nrvbdYRDjJKV --- CHANGELOG.md | 2 +- README.md | 8 ++++---- package.json | 4 ++-- src/cli.ts | 2 +- src/formatters/table.ts | 2 +- src/formatters/text.ts | 2 +- tests/formatters.test.ts | 6 +++--- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07f1e5f..4493b2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,7 @@ All notable changes to this project will be documented in this file. The format ### Changed - Expanded npm keywords for better discoverability (added x-frame-options, web-security, http-headers, auditor, cli, nodejs, typescript, zero-dependencies, owasp, gdpr). -- Replaced the placeholder `"TrustYourWebsite Editorial"` `author` field with the canonical `TrustYourWebsite (https://trustyourwebsite.nl)` contact, matching the other @trustyourwebsite packages. +- Replaced the placeholder `"TrustYourWebsite Editorial"` `author` field with the canonical `TrustYourWebsite (https://trustyourwebsite.com)` contact, matching the other @trustyourwebsite packages. - Added `"sideEffects": false` to help bundlers tree-shake unused checks. - Added `"publishConfig": { "access": "public" }` so scoped public publishing is explicit. - The published tarball now includes `README.md` and `LICENSE` alongside `dist/`. diff --git a/README.md b/README.md index e9ddee2..d69bf70 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Zero-dependency Node.js tool that grades website security headers (HSTS, CSP, X-Frame-Options, etc.) with A+ to F scoring. CI-friendly with configurable minimum grade threshold. -Built by [TrustYourWebsite](https://trustyourwebsite.nl) — automated website compliance scanning for EU small businesses. +Built by [TrustYourWebsite](https://trustyourwebsite.com) — automated website compliance scanning for EU small businesses. ## Quick Start @@ -101,7 +101,7 @@ Recommendations: 2. Add Permissions-Policy header (MEDIUM priority) 3. Remove server version from Server header (LOW priority) -Full website compliance scan → https://trustyourwebsite.nl +Full website compliance scan → https://trustyourwebsite.com ``` ## Headers Checked @@ -165,7 +165,7 @@ security-headers: ## Related -- [TrustYourWebsite](https://trustyourwebsite.nl) — Full website compliance scanning for EU businesses +- [TrustYourWebsite](https://trustyourwebsite.com) — Full website compliance scanning for EU businesses - [@trustyourwebsite/dns-auth-check](https://github.com/trustyourwebsite/dns-auth-check) — SPF, DKIM, DMARC, BIMI and MTA-STS email authentication auditor - [@trustyourwebsite/cookie-consent-validator](https://github.com/trustyourwebsite/cookie-consent-validator) — Verify cookie consent banners actually stop tracking on "Reject All" @@ -175,4 +175,4 @@ MIT --- -Built by [TrustYourWebsite](https://trustyourwebsite.nl) — we help EU small businesses stay compliant with automated website scanning. [Get a free compliance scan](https://trustyourwebsite.nl). +Built by [TrustYourWebsite](https://trustyourwebsite.com) — we help EU small businesses stay compliant with automated website scanning. [Get a free compliance scan](https://trustyourwebsite.com). diff --git a/package.json b/package.json index 003fe07..41bde37 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "owasp", "gdpr" ], - "homepage": "https://trustyourwebsite.nl", + "homepage": "https://trustyourwebsite.com", "repository": { "type": "git", "url": "git+https://github.com/trustyourwebsite/security-headers.git" @@ -52,7 +52,7 @@ "bugs": { "url": "https://github.com/trustyourwebsite/security-headers/issues" }, - "author": "TrustYourWebsite (https://trustyourwebsite.nl)", + "author": "TrustYourWebsite (https://trustyourwebsite.com)", "license": "MIT", "engines": { "node": ">=18.0.0" diff --git a/src/cli.ts b/src/cli.ts index 524c6b9..8ea2a96 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -51,7 +51,7 @@ Examples: security-headers https://example.com --ci --min-grade A security-headers https://example.com --output report.json --format json -Full website compliance scan -> https://trustyourwebsite.nl +Full website compliance scan -> https://trustyourwebsite.com `; /** diff --git a/src/formatters/table.ts b/src/formatters/table.ts index 07e0444..61ed4da 100644 --- a/src/formatters/table.ts +++ b/src/formatters/table.ts @@ -67,7 +67,7 @@ export function formatTable(result: ScanResult): string { lines.push(''); lines.push( - 'Full website compliance scan \u2192 https://trustyourwebsite.nl' + 'Full website compliance scan \u2192 https://trustyourwebsite.com' ); return lines.join('\n'); diff --git a/src/formatters/text.ts b/src/formatters/text.ts index b6374dc..4415246 100644 --- a/src/formatters/text.ts +++ b/src/formatters/text.ts @@ -38,7 +38,7 @@ export function formatText(result: ScanResult): string { } lines.push(''); - lines.push('Full website compliance scan -> https://trustyourwebsite.nl'); + lines.push('Full website compliance scan -> https://trustyourwebsite.com'); return lines.join('\n'); } diff --git a/tests/formatters.test.ts b/tests/formatters.test.ts index ff57702..ded6ab3 100644 --- a/tests/formatters.test.ts +++ b/tests/formatters.test.ts @@ -51,8 +51,8 @@ describe('formatTable', () => { expect(output).toContain('TLSv1.3'); }); - it('includes trustyourwebsite.nl link', () => { - expect(formatTable(mockResult)).toContain('trustyourwebsite.nl'); + it('includes trustyourwebsite.com link', () => { + expect(formatTable(mockResult)).toContain('trustyourwebsite.com'); }); it('shows info disclosure warnings', () => { @@ -92,7 +92,7 @@ describe('formatText', () => { it('includes grade and URL', () => { const output = formatText(mockResult); expect(output).toContain('B (72/100)'); - expect(output).toContain('trustyourwebsite.nl'); + expect(output).toContain('trustyourwebsite.com'); }); it('shows PASS/FAIL labels', () => {