From 0eb949046761d4df316d18c2f9563f0a35b5ca40 Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Thu, 25 Sep 2025 22:36:20 +0200 Subject: [PATCH] =?UTF-8?q?fix(website):=20update=20astro=205.13.11=20?= =?UTF-8?q?=E2=86=92=205.14.0=20(#40020)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [astro](https://astro.build) ([source](https://redirect.github.com/withastro/astro/tree/HEAD/packages/astro)) | [`5.13.11` -> `5.14.0`](https://renovatebot.com/diffs/npm/astro/5.13.11/5.14.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/astro/5.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/5.13.11/5.14.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!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
withastro/astro (astro) ### [`v5.14.0`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#5140) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.13.11...astro@5.14.0) ##### Minor Changes - [#​13520](https://redirect.github.com/withastro/astro/pull/13520) [`a31edb8`](https://redirect.github.com/withastro/astro/commit/a31edb8daad8632bacd1861adf6ac720695f7173) Thanks [@​openscript](https://redirect.github.com/openscript)! - Adds a new property `routePattern` available to `GetStaticPathsOptions` This provides the original, dynamic segment definition in a routing file path (e.g. `/[...locale]/[files]/[slug]`) from the Astro render context that would not otherwise be available within the scope of `getStaticPaths()`. This can be useful to calculate the `params` and `props` for each page route. For example, you can now localize your route segments and return an array of static paths by passing `routePattern` to a custom `getLocalizedData()` helper function. The `params` object will be set with explicit values for each route segment (e.g. `locale`, `files`, and `slug)`. Then, these values will be used to generate the routes and can be used in your page template via `Astro.params`. ```astro // src/pages/[...locale]/[files]/[slug].astro import { getLocalizedData } from "../../../utils/i18n"; export async function getStaticPaths({ routePattern }) { const response = await fetch('...'); const data = await response.json(); console.log(routePattern); // [...locale]/[files]/[slug] // Call your custom helper with `routePattern` to generate the static paths return data.flatMap((file) => getLocalizedData(file, routePattern)); } const { locale, files, slug } = Astro.params; ``` For more information about this advanced routing pattern, see Astro's [routing reference](https://docs.astro.build/en/reference/routing-reference/#routepattern). - [#​13651](https://redirect.github.com/withastro/astro/pull/13651) [`dcfbd8c`](https://redirect.github.com/withastro/astro/commit/dcfbd8c9d5dc798d1bcb9b36531c2eded301050d) Thanks [@​ADTC](https://redirect.github.com/ADTC)! - Adds a new `SvgComponent` type You can now more easily enforce type safety for your `.svg` assets by directly importing `SVGComponent` from `astro/types`:
--- ### 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 | 8 ++++---- website/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index 18bcaf29bf8..22d39a56d22 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -14,7 +14,7 @@ "@astrojs/starlight-tailwind": "3.0.1", "@astrojs/tailwind": "6.0.2", "@playform/compress": "0.2.0", - "astro": "5.13.11", + "astro": "5.14.0", "astro-better-image-service": "2.1.9", "astro-integration-lottie": "0.3.2", "astro-robots-txt": "1.0.0", @@ -2976,9 +2976,9 @@ } }, "node_modules/astro": { - "version": "5.13.11", - "resolved": "https://registry.npmjs.org/astro/-/astro-5.13.11.tgz", - "integrity": "sha512-qKB+95GtyJSwVn5TDi31FTIcsohzA/nLhyATWn5VWqok1VLzZvm/1KHCk4tNElSrAQ5BisxUIMZWTh+B4X2JvQ==", + "version": "5.14.0", + "resolved": "https://registry.npmjs.org/astro/-/astro-5.14.0.tgz", + "integrity": "sha512-p41jPzs9XhcVBPzp8ZwjU4SgxSyjgkzMq3NToRIn4CPbE/f9rb1cba5+N6TRk4A8yBudEU6MFzCMFWer7kjW3Q==", "license": "MIT", "dependencies": { "@astrojs/compiler": "^2.12.2", diff --git a/website/package.json b/website/package.json index fec5a014e67..14627164a7a 100644 --- a/website/package.json +++ b/website/package.json @@ -23,7 +23,7 @@ "@astrojs/starlight-tailwind": "3.0.1", "@astrojs/tailwind": "6.0.2", "@playform/compress": "0.2.0", - "astro": "5.13.11", + "astro": "5.14.0", "astro-better-image-service": "2.1.9", "astro-integration-lottie": "0.3.2", "astro-robots-txt": "1.0.0",