Files
agentic-dev/coverage/summary.json
Danijel Martinek b681e906ea feat(web-next): wire security headers middleware and nonce threading
- Add apps/web-next/middleware.ts calling withSecurityHeaders() from
  core-shared/security/next; exports matcher config excluding static assets
- Update layout.tsx to call getNonce() and render <meta name="csp-nonce">
  so client-side JS can read the per-request nonce
- Update instrumentation-client.ts to read nonce from csp-nonce meta tag
  and pass it to initSentryClient for feedbackIntegration CSP compliance
- Add nonce option to initSentryClient (InitClientOpts.nonce) and thread
  styleNonce + scriptNonce into feedbackIntegration when provided
- Add middleware test asserting all six headers, prod/dev CSP shape, and
  x-nonce presence; add feedbackIntegration nonce tests to core-shared

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 10:10:12 +00:00

175 lines
3.2 KiB
JSON

{
"generatedAt": "2026-05-20T10:09:50.939Z",
"commit": "de458a6",
"repo": {
"statements": 97.43,
"branches": 92.57,
"functions": 97.28,
"lines": 97.43,
"counts": {
"lf": 6079,
"lh": 5923,
"brf": 1224,
"brh": 1133,
"fnf": 368,
"fnh": 358
}
},
"byPackage": {
"@repo/auth": {
"statements": 93.83,
"branches": 92.5,
"functions": 100,
"lines": 93.83,
"counts": {
"lf": 875,
"lh": 821,
"brf": 120,
"brh": 111,
"fnf": 46,
"fnh": 46
}
},
"@repo/blog": {
"statements": 96.35,
"branches": 88.65,
"functions": 100,
"lines": 96.35,
"counts": {
"lf": 739,
"lh": 712,
"brf": 141,
"brh": 125,
"fnf": 29,
"fnh": 29
}
},
"@repo/core-analytics": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"counts": {
"lf": 52,
"lh": 52,
"brf": 12,
"brh": 12,
"fnf": 10,
"fnh": 10
}
},
"@repo/core-api": {
"statements": 100,
"branches": 100,
"functions": 100,
"lines": 100,
"counts": {
"lf": 17,
"lh": 17,
"brf": 0,
"brh": 0,
"fnf": 0,
"fnh": 0
}
},
"@repo/core-consent": {
"statements": 99.72,
"branches": 94.85,
"functions": 97.06,
"lines": 99.72,
"counts": {
"lf": 351,
"lh": 350,
"brf": 97,
"brh": 92,
"fnf": 34,
"fnh": 33
}
},
"@repo/core-dsr": {
"statements": 100,
"branches": 92.48,
"functions": 97.44,
"lines": 100,
"counts": {
"lf": 697,
"lh": 697,
"brf": 133,
"brh": 123,
"fnf": 39,
"fnh": 38
}
},
"@repo/core-shared": {
"statements": 98.39,
"branches": 96.48,
"functions": 93.5,
"lines": 98.39,
"counts": {
"lf": 1304,
"lh": 1283,
"brf": 369,
"brh": 356,
"fnf": 123,
"fnh": 115
}
},
"@repo/core-ui": {
"statements": 100,
"branches": 91.35,
"functions": 100,
"lines": 100,
"counts": {
"lf": 412,
"lh": 412,
"brf": 104,
"brh": 95,
"fnf": 18,
"fnh": 18
}
},
"@repo/marketing-pages": {
"statements": 95.93,
"branches": 83.93,
"functions": 100,
"lines": 95.93,
"counts": {
"lf": 762,
"lh": 731,
"brf": 112,
"brh": 94,
"fnf": 32,
"fnh": 32
}
},
"@repo/media": {
"statements": 97.15,
"branches": 90.63,
"functions": 100,
"lines": 97.15,
"counts": {
"lf": 561,
"lh": 545,
"brf": 96,
"brh": 87,
"fnf": 24,
"fnh": 24
}
},
"@repo/navigation": {
"statements": 98.06,
"branches": 95,
"functions": 100,
"lines": 98.06,
"counts": {
"lf": 309,
"lh": 303,
"brf": 40,
"brh": 38,
"fnf": 13,
"fnh": 13
}
}
}
}