|
Repo Added
|
Files
76
|
Badge
README BADGES
|
push
github
Bump astro from 5.9.1 to 5.10.0 in /website in the dependabot group (#190) Bumps the dependabot group in /website with 1 update: [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro). Updates `astro` from 5.9.1 to 5.10.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> <blockquote> <h2>astro@5.10.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/13917">#13917</a> <a href="https://github.com/withastro/astro/commit/e615216c5"><code>e615216</code></a> Thanks <a href="https://github.com/ascorbic"><code>@ascorbic</code></a>! - Adds a new <code>priority</code> attribute for Astro's image components.</p> <p>This change introduces a new <code>priority</code> option for the <code><Image /></code> and <code><Picture /></code> components, which automatically sets the <code>loading</code>, <code>decoding</code>, and <code>fetchpriority</code> attributes to their optimal values for above-the-fold images which should be loaded immediately.</p> <p>It is a boolean prop, and you can use the shorthand syntax by simply adding <code>priority</code> as a prop to the <code><Image /></code> or <code><Picture /></code> component. When set, it will apply the following attributes:</p> <ul> <li><code>loading="eager"</code></li> <li><code>decoding="sync"</code></li> <li><code>fetchpriority="high"</code></li> </ul> <p>The individual attributes can still be set manually if you need to customize your images further.</p> <p>By default, the Astro <a href="https://docs.astro.build/en/guides/images/#display-optimized-images-with-the-image--component"><code><Image /></code> component</a> generates <code><img></code> tags that lazy-load their content by setting <code>loading="lazy"</code> and <code>decoding="asyn... (continued)
2433 of 2793 relevant lines covered (87.11%)
0.87 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|