fix(website): update astro 5.6.1 → 5.6.2 (#34372)

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 | patch | [`5.6.1` ->
`5.6.2`](https://renovatebot.com/diffs/npm/astro/5.6.1/5.6.2) |

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.6.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#562)

[Compare
Source](https://redirect.github.com/withastro/astro/compare/astro@5.6.1...astro@5.6.2)

##### Patch Changes

-
[#&#8203;13606](https://redirect.github.com/withastro/astro/pull/13606)
[`793ecd9`](https://redirect.github.com/withastro/astro/commit/793ecd916e4e815886a57b85bd1739f704faae7f)
Thanks [@&#8203;natemoo-re](https://redirect.github.com/natemoo-re)! -
Fixes a regression that allowed prerendered code to leak into the server
bundle.

-
[#&#8203;13576](https://redirect.github.com/withastro/astro/pull/13576)
[`1c60ec3`](https://redirect.github.com/withastro/astro/commit/1c60ec3c4d8518208737de405b1bc0b5b285a0c9)
Thanks [@&#8203;ascorbic](https://redirect.github.com/ascorbic)! -
Reduces duplicate code in server islands scripts by extracting shared
logic into a helper function.

-
[#&#8203;13588](https://redirect.github.com/withastro/astro/pull/13588)
[`57e59be`](https://redirect.github.com/withastro/astro/commit/57e59bec40ec2febd32065324505087caec9038a)
Thanks [@&#8203;natemoo-re](https://redirect.github.com/natemoo-re)! -
Fixes a memory leak when using SVG assets.

-
[#&#8203;13589](https://redirect.github.com/withastro/astro/pull/13589)
[`5a0563d`](https://redirect.github.com/withastro/astro/commit/5a0563de9e377ba7b0af7e055a85893773616d4b)
Thanks [@&#8203;ematipico](https://redirect.github.com/ematipico)! -
Deprecates the asset utility function `emitESMImage()` and adds a new
`emitImageMetadata()` to be used instead

    The function
`emitESMImage()` is now deprecated. It will continue to function, but it
is no longer recommended nor supported. This function will be completely
removed in a next major release of Astro.

Please replace it with the new function`emitImageMetadata()` as soon as
you are able to do so:

    ```diff
    - import { emitESMImage } from "astro/assets/utils";
    + import { emitImageMetadata } from "astro/assets/utils";
    ```

The new function returns the same signature as the previous one.
However, the new function removes two deprecated arguments that were not
meant to be exposed for public use: `_watchMode` and
`experimentalSvgEnabled`. Since it was possible to access these with the
old function, you may need to verify that your code still works as
intended with `emitImageMetadata()`.

-
[#&#8203;13596](https://redirect.github.com/withastro/astro/pull/13596)
[`3752519`](https://redirect.github.com/withastro/astro/commit/375251966d1b28a570bff45ff0fe7e7d2fe46f72)
Thanks [@&#8203;jsparkdev](https://redirect.github.com/jsparkdev)! -
update vite to latest version to fix CVE

-
[#&#8203;13547](https://redirect.github.com/withastro/astro/pull/13547)
[`360cb91`](https://redirect.github.com/withastro/astro/commit/360cb9199a4314f90825c5639ff4396760e9cfcc)
Thanks [@&#8203;jsparkdev](https://redirect.github.com/jsparkdev)! -
Updates vite to the latest version

-
[#&#8203;13548](https://redirect.github.com/withastro/astro/pull/13548)
[`e588527`](https://redirect.github.com/withastro/astro/commit/e588527b4c3de7759ef7d10d3004405d0b197f48)
Thanks [@&#8203;ryuapp](https://redirect.github.com/ryuapp)! - Support
for Deno to install npm pacakges.

Deno requires npm prefix to install packages on npm. For example, to
install react, we need to run `deno add npm:react`. But currently the
command executed is `deno add react`, which doesn't work. So, we change
the package names to have an npm prefix if you are using Deno.

-
[#&#8203;13587](https://redirect.github.com/withastro/astro/pull/13587)
[`a0774b3`](https://redirect.github.com/withastro/astro/commit/a0774b376a4f24e2bf1db5b70616dff63d7412dd)
Thanks [@&#8203;robertoms99](https://redirect.github.com/robertoms99)! -
Fixes an issue with the client router where some attributes of the root
element were not updated during swap, including the transition scope.

</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:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
This commit is contained in:
TrueCharts Bot
2025-04-14 14:19:27 +02:00
committed by GitHub
parent 2b3eb923d8
commit 7b3904cc2e
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -14,7 +14,7 @@
"@astrojs/starlight-tailwind": "3.0.0",
"@astrojs/tailwind": "5.1.5",
"@playform/compress": "0.1.9",
"astro": "5.6.1",
"astro": "5.6.2",
"astro-better-image-service": "2.1.5",
"astro-integration-lottie": "0.3.2",
"astro-robots-txt": "1.0.0",
@@ -2820,9 +2820,9 @@
}
},
"node_modules/astro": {
"version": "5.6.1",
"resolved": "https://registry.npmjs.org/astro/-/astro-5.6.1.tgz",
"integrity": "sha512-aQ2TV7wIf+q2Oi6gGWMINHWEAZqoP0eH6/mihodfTJYATPWyd03JIGVfjtYUJlkNdNSKxDXwEe/r/Zx4CZ1FPg==",
"version": "5.6.2",
"resolved": "https://registry.npmjs.org/astro/-/astro-5.6.2.tgz",
"integrity": "sha512-Ds4x3Au2s+YfBKLXY2HCHird+73ff4wTds+cuAGqaHmY4GR+Gc+sCAP54Mq6blkpuFqXwqjPUAcmxvAwovJPGQ==",
"license": "MIT",
"dependencies": {
"@astrojs/compiler": "^2.11.0",
@@ -2874,7 +2874,7 @@
"unist-util-visit": "^5.0.0",
"unstorage": "^1.15.0",
"vfile": "^6.0.3",
"vite": "^6.2.4",
"vite": "^6.2.6",
"vitefu": "^1.0.6",
"xxhash-wasm": "^1.1.0",
"yargs-parser": "^21.1.1",
+1 -1
View File
@@ -23,7 +23,7 @@
"@astrojs/starlight-tailwind": "3.0.0",
"@astrojs/tailwind": "5.1.5",
"@playform/compress": "0.1.9",
"astro": "5.6.1",
"astro": "5.6.2",
"astro-better-image-service": "2.1.5",
"astro-integration-lottie": "0.3.2",
"astro-robots-txt": "1.0.0",