diff --git a/.changeset/seo-jsonld-false-positives.md b/.changeset/seo-jsonld-false-positives.md new file mode 100644 index 000000000..ed084baac --- /dev/null +++ b/.changeset/seo-jsonld-false-positives.md @@ -0,0 +1,11 @@ +--- +'@svelte-vitals/core': patch +'@svelte-vitals/vite': patch +--- + +Refine the JSON-LD rules to cut false positives: SEO018 no longer flags `@id` +(a node identifier, often a relative fragment) and now accepts any URI scheme +(`data:`/`mailto:`/`urn:`) and protocol-relative URLs; SEO019 accepts schema.org +reduced-precision dates (`2026`, `2026-06`); SEO021 treats empty/blank required +values as missing. Rendered-mode capture reads `` + ); + expect(tags.find((t) => t.kind === 'jsonld')!.jsonld).toBe(body); + }); });