getStrictDynamic() — astro Function Reference
Architecture documentation for the getStrictDynamic() function in common.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 382be44a_fd71_20f6_920b_a701e45e427b["getStrictDynamic()"] 0f62fcfb_9504_86a2_16bb_d8a9742e1f23["common.ts"] 382be44a_fd71_20f6_920b_a701e45e427b -->|defined in| 0f62fcfb_9504_86a2_16bb_d8a9742e1f23 style 382be44a_fd71_20f6_920b_a701e45e427b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/core/csp/common.ts lines 89–94
export function getStrictDynamic(csp: EnabledCsp): boolean {
if (csp === true) {
return false;
}
return csp.scriptDirective?.strictDynamic ?? false;
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getStrictDynamic() do?
getStrictDynamic() is a function in the astro codebase, defined in packages/astro/src/core/csp/common.ts.
Where is getStrictDynamic() defined?
getStrictDynamic() is defined in packages/astro/src/core/csp/common.ts at line 89.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free