Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency astro to v4.10.1 (#247)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [astro](https://astro.build) ([source](https://togithub.com/withastro/astro/tree/HEAD/packages/astro)) | [`4.9.2` -> `4.10.1`](https://renovatebot.com/diffs/npm/astro/4.9.2/4.10.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/astro/4.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/astro/4.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/astro/4.9.2/4.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/astro/4.9.2/4.10.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v4.10.1`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4101) [Compare Source](https://togithub.com/withastro/astro/compare/[email protected]@4.10.1) ##### Patch Changes - [#​11198](https://togithub.com/withastro/astro/pull/11198) [`8b9a499`](https://togithub.com/withastro/astro/commit/8b9a499d3733e9d0fc6a0bd067ece19bd36f4726) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Fixes a case where `astro:env` `getSecret` would not retrieve environment variables properly in dev and build modes - [#​11206](https://togithub.com/withastro/astro/pull/11206) [`734b98f`](https://togithub.com/withastro/astro/commit/734b98fecf0212cd76be3c935a49f84a9a7dab34) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - **BREAKING CHANGE to the experimental `astro:env` feature only** Updates the adapter `astro:env` entrypoint from `astro:env/setup` to `astro/env/setup` - [#​11205](https://togithub.com/withastro/astro/pull/11205) [`8c45391`](https://togithub.com/withastro/astro/commit/8c4539145f0b6a735b65852b2f2b1a7e9f5a9c3f) Thanks [@​Nin3lee](https://togithub.com/Nin3lee)! - Fixes a typo in the config reference ### [`v4.10.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4100) [Compare Source](https://togithub.com/withastro/astro/compare/[email protected]@4.10.0) ##### Minor Changes - [#​10974](https://togithub.com/withastro/astro/pull/10974) [`2668ef9`](https://togithub.com/withastro/astro/commit/2668ef984104574f25f29ef75e2572a0745d1666) Thanks [@​florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds experimental support for the `astro:env` API. The `astro:env` API lets you configure a type-safe schema for your environment variables, and indicate whether they should be available on the server or the client. Import and use your defined variables from the appropriate `/client` or `/server` module: ### [`v4.9.3`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#493) [Compare Source](https://togithub.com/withastro/astro/compare/[email protected]@4.9.3) ##### Patch Changes - [#​11171](https://togithub.com/withastro/astro/pull/11171) [`ff8004f`](https://togithub.com/withastro/astro/commit/ff8004f6a7b2aab4c6ac367f13744a341c3c5462) Thanks [@​Princesseuh](https://togithub.com/Princesseuh)! - Guard globalThis.astroAsset usage in proxy code to avoid errors in wonky situations - [#​11178](https://togithub.com/withastro/astro/pull/11178) [`1734c49`](https://togithub.com/withastro/astro/commit/1734c49f516ff7d778d6724a0db6d39649921b4b) Thanks [@​theoephraim](https://togithub.com/theoephraim)! - Improves `isPromise` utility to check the presence of `then` on an object before trying to access it - which can cause undesired side-effects on Proxy objects - [#​11183](https://togithub.com/withastro/astro/pull/11183) [`3cfa2ac`](https://togithub.com/withastro/astro/commit/3cfa2ac7e51d7bea96980403c393f9bcda1e9375) Thanks [@​66Leo66](https://togithub.com/66Leo66)! - Suggest `pnpm dlx` instead of `pnpx` in update check. - [#​11147](https://togithub.com/withastro/astro/pull/11147) [`2d93902`](https://togithub.com/withastro/astro/commit/2d93902f4c51dcc62b077b0546ead688e6f32c63) Thanks [@​kitschpatrol](https://togithub.com/kitschpatrol)! - Fixes invalid MIME types in Picture source elements for jpg and svg extensions, which was preventing otherwise valid source variations from being shown by the browser - [#​11141](https://togithub.com/withastro/astro/pull/11141) [`19df89f`](https://togithub.com/withastro/astro/commit/19df89f87c74205ebc76aeac43ca20b00694acec) Thanks [@​ematipico](https://togithub.com/ematipico)! - Fixes an internal error that prevented the `AstroContainer` to render the `Content` component. You can now write code similar to the following to render content collections: ```js const entry = await getEntry(collection, slug); const { Content } = await entry.render(); const content = await container.renderToString(Content); ``` - [#​11170](https://togithub.com/withastro/astro/pull/11170) [`ba20c71`](https://togithub.com/withastro/astro/commit/ba20c718a4ccd1009bdf81f8265956bff1d19d05) Thanks [@​matthewp](https://togithub.com/matthewp)! - Retain client scripts in content cache </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/Tuhura-Tech/wiki). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODguMSIsInVwZGF0ZWRJblZlciI6IjM3LjM5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information