diff options
author | 2023-07-23 15:00:41 +0200 | |
---|---|---|
committer | 2023-07-23 15:00:41 +0200 | |
commit | da7f1128bf749dab1d9bd43e50c29a67e8271746 (patch) | |
tree | d1bb40eb2fb853eb6e1d5b155fbd1ee994f9d6b8 | |
parent | a3d36a88942823fad5bd7ccfe9d850a11b7df244 (diff) | |
download | astro-da7f1128bf749dab1d9bd43e50c29a67e8271746.tar.gz astro-da7f1128bf749dab1d9bd43e50c29a67e8271746.tar.zst astro-da7f1128bf749dab1d9bd43e50c29a67e8271746.zip |
Fix missing `referrerpolicy` attribute on script tags (#7766)
* fix(astro-jsx): Add missing `referrerpolicy` attribute for script tags
* chore: changeset
-rw-r--r-- | .changeset/orange-badgers-fly.md | 5 | ||||
-rw-r--r-- | packages/astro/astro-jsx.d.ts | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/orange-badgers-fly.md b/.changeset/orange-badgers-fly.md new file mode 100644 index 000000000..e9f997ec3 --- /dev/null +++ b/.changeset/orange-badgers-fly.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fix missing `referrerpolicy` on ScriptHTMLAttributes diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 93888c826..a04d755ec 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -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; |