Fix missing referrerpolicy attribute on script tags (#7766)

* fix(astro-jsx): Add missing `referrerpolicy` attribute for script tags

* chore: changeset
This commit is contained in:
Erika 2023-07-23 15:00:41 +02:00 committed by GitHub
parent a3d36a8894
commit da7f1128bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'astro': patch
---
Fix missing `referrerpolicy` on ScriptHTMLAttributes

View file

@ -901,6 +901,7 @@ declare namespace astroHTML.JSX {
crossorigin?: string | undefined | null;
defer?: boolean | string | undefined | null;
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
integrity?: string | undefined | null;
nomodule?: boolean | string | undefined | null;
nonce?: string | undefined | null;