fix(website): update astro 5.9.4 → 5.10.0 (#36468)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | dependencies | minor | [`5.9.4` -> `5.10.0`](https://renovatebot.com/diffs/npm/astro/5.9.4/5.10.0) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v5.10.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5100) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.9.4...astro@5.10.0) ##### Minor Changes - [#​13917](https://redirect.github.com/withastro/astro/pull/13917) [`e615216`](https://redirect.github.com/withastro/astro/commit/e615216c55bca5d61b8c5c1b49d62671f0238509) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Adds a new `priority` attribute for Astro's image components. This change introduces a new `priority` option for the `<Image />` and `<Picture />` components, which automatically sets the `loading`, `decoding`, and `fetchpriority` attributes to their optimal values for above-the-fold images which should be loaded immediately. It is a boolean prop, and you can use the shorthand syntax by simply adding `priority` as a prop to the `<Image />` or `<Picture />` component. When set, it will apply the following attributes: - `loading="eager"` - `decoding="sync"` - `fetchpriority="high"` The individual attributes can still be set manually if you need to customize your images further. By default, the Astro [`<Image />` component](https://docs.astro.build/en/guides/images/#display-optimized-images-with-the-image--component) generates `<img>` tags that lazy-load their content by setting `loading="lazy"` and `decoding="async"`. This improves performance by deferring the loading of images that are not immediately visible in the viewport, and gives the best scores in performance audits like Lighthouse. The new `priority` attribute will override those defaults and automatically add the best settings for your high-priority assets. This option was previously available for experimental responsive images, but now it is a standard feature for all images. </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://redirect.github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"@astrojs/starlight-tailwind": "3.0.1",
|
||||
"@astrojs/tailwind": "6.0.2",
|
||||
"@playform/compress": "0.2.0",
|
||||
"astro": "5.9.4",
|
||||
"astro": "5.10.0",
|
||||
"astro-better-image-service": "2.1.6",
|
||||
"astro-integration-lottie": "0.3.2",
|
||||
"astro-robots-txt": "1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user