From 93b37d1ae9c9c64191f6e161f1407b6da50e55af Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Thu, 24 Oct 2024 08:25:52 +0200 Subject: [PATCH] =?UTF-8?q?fix(website):=20update=20astro=204.16.1=20?= =?UTF-8?q?=E2=86=92=204.16.7=20(#28239)?= 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 | [`4.16.1` -> `4.16.7`](https://renovatebot.com/diffs/npm/astro/4.16.1/4.16.7) | Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes
withastro/astro (astro) ### [`v4.16.7`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4167) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.6...astro@4.16.7) ##### Patch Changes - [#​12263](https://redirect.github.com/withastro/astro/pull/12263) [`e9e8080`](https://redirect.github.com/withastro/astro/commit/e9e8080a8139f898dcfa3c030f5ddaa98413c160) Thanks [@​Fryuni](https://redirect.github.com/Fryuni)! - Fixes conflict between server islands and on-demand dynamic routes in the form of `/[...rest]` or `/[paramA]/[paramB]`. - [#​12279](https://redirect.github.com/withastro/astro/pull/12279) [`b781f88`](https://redirect.github.com/withastro/astro/commit/b781f8860c7d11e51fb60a0d6528bc88913ffc35) Thanks [@​jsparkdev](https://redirect.github.com/jsparkdev)! - Update wrong error message - [#​12273](https://redirect.github.com/withastro/astro/pull/12273) [`c2ee963`](https://redirect.github.com/withastro/astro/commit/c2ee963cb6c0a65481be505848a7272d800f2f7b) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Fixes an issue with some package managers where sites would not build if TypeScript was not installed. - [#​12235](https://redirect.github.com/withastro/astro/pull/12235) [`a75bc5e`](https://redirect.github.com/withastro/astro/commit/a75bc5e3068ed80366a03efbec78b3b0f8837516) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where Astro Actions couldn't redirect to the correct pathname when there was a rewrite involved. - [#​11839](https://redirect.github.com/withastro/astro/pull/11839) [`ff522b9`](https://redirect.github.com/withastro/astro/commit/ff522b96a01391a29b44f820dfcc2a2176d871e7) Thanks [@​icaliman](https://redirect.github.com/icaliman)! - Fixes error when returning a top-level `null` from an Astro file frontmatter - [#​12272](https://redirect.github.com/withastro/astro/pull/12272) [`388d237`](https://redirect.github.com/withastro/astro/commit/388d2375b6900e6401e1c711087ee0b2176418dd) Thanks [@​ascorbic](https://redirect.github.com/ascorbic)! - Correctly handles local images when using a base path in SSR ### [`v4.16.6`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4166) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.5...astro@4.16.6) ##### Patch Changes - [#​11823](https://redirect.github.com/withastro/astro/pull/11823) [`a3d30a6`](https://redirect.github.com/withastro/astro/commit/a3d30a602aaa1755197c73f0b51cace61f9088b3) Thanks [@​DerTimonius](https://redirect.github.com/DerTimonius)! - fix: improve error message when inferSize is used in local images with the Image component - [#​12227](https://redirect.github.com/withastro/astro/pull/12227) [`8b1a641`](https://redirect.github.com/withastro/astro/commit/8b1a641be9de4baa9ae48dd0d045915fbbeffa8c) Thanks [@​florian-lefebvre](https://redirect.github.com/florian-lefebvre)! - Fixes a case where environment variables would not be refreshed when using `astro:env` - [#​12239](https://redirect.github.com/withastro/astro/pull/12239) [`2b6daa5`](https://redirect.github.com/withastro/astro/commit/2b6daa5840c18729c41f6cd8b4571b88d0cba119) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - **BREAKING CHANGE to the experimental Container API only** Changes the default page rendering behavior of Astro components in containers, and adds a new option `partial: false` to render full Astro pages as before. Previously, the Container API was rendering all Astro components as if they were full Astro pages containing `` by default. This was not intended, and now by default, all components will render as [page partials](https://docs.astro.build/en/basics/astro-pages/#page-partials): only the contents of the components without a page shell. To render the component as a full-fledged Astro page, pass a new option called `partial: false` to `renderToString()` and `renderToResponse()`: ```js import { experimental_AstroContainer as AstroContainer } from 'astro/container'; import Card from '../src/components/Card.astro'; const container = AstroContainer.create(); await container.renderToString(Card); // the string will not contain `` await container.renderToString(Card, { partial: false }); // the string will contain `` ``` ### [`v4.16.5`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4165) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.4...astro@4.16.5) ##### Patch Changes - [#​12232](https://redirect.github.com/withastro/astro/pull/12232) [`ff68ba5`](https://redirect.github.com/withastro/astro/commit/ff68ba5e1ca00f06d1afd5fbf89acea3092bb660) Thanks [@​martrapp](https://redirect.github.com/martrapp)! - Fixes an issue with cssesc in dev mode when setting `vite.ssr.noExternal: true` ### [`v4.16.4`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4164) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.3...astro@4.16.4) ##### Patch Changes - [#​12223](https://redirect.github.com/withastro/astro/pull/12223) [`79ffa5d`](https://redirect.github.com/withastro/astro/commit/79ffa5d9f75c16465134aa4ed4a3d1d59908ba8b) Thanks [@​ArmandPhilippot](https://redirect.github.com/ArmandPhilippot)! - Fixes a false positive reported by the dev toolbar Audit app where a label was considered missing when associated with a button The `button` element can be [used with a label](https://www.w3.org/TR/2011/WD-html5-author-20110809/forms.html#category-label) (e.g. to create a switch) and should not be reported as an accessibility issue when used as a child of a `label`. - [#​12199](https://redirect.github.com/withastro/astro/pull/12199) [`c351352`](https://redirect.github.com/withastro/astro/commit/c3513523608f319b43c050e391be08e68b801329) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a regression in the computation of `Astro.currentLocale` - [#​12222](https://redirect.github.com/withastro/astro/pull/12222) [`fb55695`](https://redirect.github.com/withastro/astro/commit/fb5569583b11ef585cd0a79e97e7e9dc653f6afa) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes an issue where the edge middleware couldn't correctly compute the client IP address when calling `ctx.clientAddress()` ### [`v4.16.3`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4163) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.2...astro@4.16.3) ##### Patch Changes - [#​12220](https://redirect.github.com/withastro/astro/pull/12220) [`b049359`](https://redirect.github.com/withastro/astro/commit/b0493596dc338377198d0a39efc813dad515b624) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Fixes accidental internal `setOnSetGetEnv` parameter rename that caused runtime errors - [#​12197](https://redirect.github.com/withastro/astro/pull/12197) [`2aa2dfd`](https://redirect.github.com/withastro/astro/commit/2aa2dfd05dc7b7e6ad13451e6cc2afa9b1c92a32) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fix a regression where a port was incorrectly added to the `Astro.url` ### [`v4.16.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4162) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@4.16.1...astro@4.16.2) ##### Patch Changes - [#​12206](https://redirect.github.com/withastro/astro/pull/12206) [`12b0022`](https://redirect.github.com/withastro/astro/commit/12b00225067445629e5ae451d763d03f70065f88) Thanks [@​bluwy](https://redirect.github.com/bluwy)! - Reverts [https://github.com/withastro/astro/pull/12173](https://redirect.github.com/withastro/astro/pull/12173) which caused `Can't modify immutable headers` warnings and 500 errors on Cloudflare Pages
--- ### 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 | 24 ++++++++++++------------ website/package.json | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index cb838815a9f..1448fc67f3b 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -14,7 +14,7 @@ "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.2", "@playform/compress": "0.1.1", - "astro": "4.16.1", + "astro": "4.16.7", "astro-better-image-service": "2.0.37", "astro-integration-lottie": "0.3.1", "astro-robots-txt": "1.0.0", @@ -3025,23 +3025,23 @@ } }, "node_modules/astro": { - "version": "4.16.1", - "resolved": "https://registry.npmjs.org/astro/-/astro-4.16.1.tgz", - "integrity": "sha512-ZeZd+L147HHgHmvoSkve7KM3EutV+hY0mOCa4PwARHEFAAh+omo4MUNoTWsFkfq7ozTgR0PCXQwslrZduoWHNg==", + "version": "4.16.7", + "resolved": "https://registry.npmjs.org/astro/-/astro-4.16.7.tgz", + "integrity": "sha512-nON+8MUEkWTFwXbS4zsQIq4t0Fs42eulM4x236AL+qNnWfqNAOOqAnFxO1dxfJ1q+XopIBbbT9Mtev+0zH47PQ==", "license": "MIT", "dependencies": { "@astrojs/compiler": "^2.10.3", "@astrojs/internal-helpers": "0.4.1", "@astrojs/markdown-remark": "5.3.0", "@astrojs/telemetry": "3.1.0", - "@babel/core": "^7.25.7", + "@babel/core": "^7.25.8", "@babel/plugin-transform-react-jsx": "^7.25.7", - "@babel/types": "^7.25.7", + "@babel/types": "^7.25.8", "@oslojs/encoding": "^1.1.0", "@rollup/pluginutils": "^5.1.2", "@types/babel__core": "^7.20.5", "@types/cookie": "^0.6.0", - "acorn": "^8.12.1", + "acorn": "^8.13.0", "aria-query": "^5.3.2", "axobject-query": "^4.1.0", "boxen": "8.0.1", @@ -3067,7 +3067,7 @@ "http-cache-semantics": "^4.1.1", "js-yaml": "^4.1.0", "kleur": "^4.1.5", - "magic-string": "^0.30.11", + "magic-string": "^0.30.12", "magicast": "^0.3.5", "micromatch": "^4.0.8", "mrmime": "^2.0.0", @@ -3080,12 +3080,12 @@ "rehype": "^13.0.2", "semver": "^7.6.3", "shiki": "^1.22.0", - "tinyexec": "^0.3.0", - "tsconfck": "^3.1.3", + "tinyexec": "^0.3.1", + "tsconfck": "^3.1.4", "unist-util-visit": "^5.0.0", "vfile": "^6.0.3", - "vite": "^5.4.8", - "vitefu": "^1.0.2", + "vite": "^5.4.9", + "vitefu": "^1.0.3", "which-pm": "^3.0.0", "xxhash-wasm": "^1.0.2", "yargs-parser": "^21.1.1", diff --git a/website/package.json b/website/package.json index 231a87a01e9..773726c460e 100644 --- a/website/package.json +++ b/website/package.json @@ -23,7 +23,7 @@ "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.2", "@playform/compress": "0.1.1", - "astro": "4.16.1", + "astro": "4.16.7", "astro-better-image-service": "2.0.37", "astro-integration-lottie": "0.3.1", "astro-robots-txt": "1.0.0",