From 7b3904cc2e32d18f507cd9f22710bff520154ff1 Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Mon, 14 Apr 2025 14:19:27 +0200 Subject: [PATCH] =?UTF-8?q?fix(website):=20update=20astro=205.6.1=20?= =?UTF-8?q?=E2=86=92=205.6.2=20(#34372)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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
withastro/astro (astro) ### [`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 - [#​13606](https://redirect.github.com/withastro/astro/pull/13606) [`793ecd9`](https://redirect.github.com/withastro/astro/commit/793ecd916e4e815886a57b85bd1739f704faae7f) Thanks [@​natemoo-re](https://redirect.github.com/natemoo-re)! - Fixes a regression that allowed prerendered code to leak into the server bundle. - [#​13576](https://redirect.github.com/withastro/astro/pull/13576) [`1c60ec3`](https://redirect.github.com/withastro/astro/commit/1c60ec3c4d8518208737de405b1bc0b5b285a0c9) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Reduces duplicate code in server islands scripts by extracting shared logic into a helper function. - [#​13588](https://redirect.github.com/withastro/astro/pull/13588) [`57e59be`](https://redirect.github.com/withastro/astro/commit/57e59bec40ec2febd32065324505087caec9038a) Thanks [@​natemoo-re](https://redirect.github.com/natemoo-re)! - Fixes a memory leak when using SVG assets. - [#​13589](https://redirect.github.com/withastro/astro/pull/13589) [`5a0563d`](https://redirect.github.com/withastro/astro/commit/5a0563de9e377ba7b0af7e055a85893773616d4b) Thanks [@​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()`. - [#​13596](https://redirect.github.com/withastro/astro/pull/13596) [`3752519`](https://redirect.github.com/withastro/astro/commit/375251966d1b28a570bff45ff0fe7e7d2fe46f72) Thanks [@​jsparkdev](https://redirect.github.com/jsparkdev)! - update vite to latest version to fix CVE - [#​13547](https://redirect.github.com/withastro/astro/pull/13547) [`360cb91`](https://redirect.github.com/withastro/astro/commit/360cb9199a4314f90825c5639ff4396760e9cfcc) Thanks [@​jsparkdev](https://redirect.github.com/jsparkdev)! - Updates vite to the latest version - [#​13548](https://redirect.github.com/withastro/astro/pull/13548) [`e588527`](https://redirect.github.com/withastro/astro/commit/e588527b4c3de7759ef7d10d3004405d0b197f48) Thanks [@​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. - [#​13587](https://redirect.github.com/withastro/astro/pull/13587) [`a0774b3`](https://redirect.github.com/withastro/astro/commit/a0774b376a4f24e2bf1db5b70616dff63d7412dd) Thanks [@​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.
--- ### 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. --- - [ ] 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). --- website/package-lock.json | 10 +++++----- website/package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 79c6534231a..83ad5962abe 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -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", diff --git a/website/package.json b/website/package.json index f5fa1f2059c..2029a28813e 100644 --- a/website/package.json +++ b/website/package.json @@ -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",