Avatar for the withastro user
withastro
astro
BlogDocsChangelog

Performance History

Latest Results

fix: remove dead else branch in csp insertDirective The else branch in `getCsp().insertDirective` called `.push` on `state.result.directives` after the if-condition had just established that value was nullish, which would have thrown a TypeError if reached. In practice `directives` is always initialized to an array, so the else was unreachable, but the shape of the code was misleading. Simplify to match the sibling `insertScriptResource` / `insertStyleResource` methods: guard on `state.result`, then update directives via pushDirective.
stefanmachhammer:fix/csp-insert-directive-dead-else
9 hours ago
[ci] format
main
1 day ago

Latest Branches

CodSpeed Performance Gauge
0%
fix: remove dead else branch in csp insertDirective#16921
9 hours ago
ae174a9
stefanmachhammer:fix/csp-insert-directive-dead-else
CodSpeed Performance Gauge
0%
CodSpeed Performance Gauge
0%
fix: astro() marks all pipeline features as used#16899
1 day ago
4cece59
fix/astro-marks-all-features-used
© 2026 CodSpeed Technology
Home Terms Privacy Docs