feat: document -elem and -attr CSP directives#14196
Conversation
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
|
Preview deployment ✅ Deployment complete!
|
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thanks, I left a few suggestions, mostly around `kind`: `'element'` because I think it might be confusing. My mind wants to correct this to kind: 'element'. So, it might be helpful to work around this.
Otherwise, this looks good to me. I was a bit scare by the big caution but I guess this is kinda expected for a tricky feature!
| > | ||
| ``` | ||
|
|
||
| <p><Since v="7.1.0" /></p> |
There was a problem hiding this comment.
Ah, nice catch. I forgot about this pattern when I answered on Discord. I think it makes sense now that I have the content right in front of me!
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
Co-authored-by: Armand Philippot <git@armand.philippot.eu>
ArmandPhilippot
left a comment
There was a problem hiding this comment.
Thank you for the update, LGTM!
yanthomasdev
left a comment
There was a problem hiding this comment.
I have a small nit but then LGTM
Co-authored-by: Yan <61414485+yanthomasdev@users.noreply.github.com>
Description (required)
This PR documents new APIs for CSP.
For Astro version:
7.1.0. See astro PR #17214.