mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
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:
parent
a3d36a8894
commit
da7f1128bf
2 changed files with 6 additions and 0 deletions
5
.changeset/orange-badgers-fly.md
Normal file
5
.changeset/orange-badgers-fly.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix missing `referrerpolicy` on ScriptHTMLAttributes
|
1
packages/astro/astro-jsx.d.ts
vendored
1
packages/astro/astro-jsx.d.ts
vendored
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue