Skip to content

Commit

Permalink
Fix missing referrerpolicy attribute on script tags (#7766)
Browse files Browse the repository at this point in the history
* fix(astro-jsx): Add missing `referrerpolicy` attribute for script tags

* chore: changeset
  • Loading branch information
Princesseuh authored Jul 23, 2023
1 parent a3d36a8 commit da7f112
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/orange-badgers-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'astro': patch
---

Fix missing `referrerpolicy` on ScriptHTMLAttributes
1 change: 1 addition & 0 deletions packages/astro/astro-jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit da7f112

Please sign in to comment.