#172429c05ba4 Thanks @matthewp! - Fixes an error that could occur after the dev server restarts when using an adapter such as @astrojs/cloudflare, where a request would fail with a 500 referencing a missing pre-bundled dependency:
The file does not exist at "node_modules/.vite/deps_ssr/astro_compiler-runtime.js?v=6419660d" which is in the optimize deps directory. The dependency might be incompatible with the dep optimizer. Try adding it to `optimizeDeps.exclude`.
#17202c6d254d Thanks @matthewp! - Refactors path alias resolution to use Vite's native tsconfigPaths option
This is an internal change with no expected impact on user projects. Astro now defers tsconfig and jsconfig paths alias resolution to Vite, keeping a small fallback for a few CSS cases Vite does not yet handle.
#1712372e29bd Thanks @martrapp! - Fixes an issue where the ClientRouter wipes head elements after page transitions if the <head> contains a server:defer component.
#17232257505e Thanks @matthewp! - Fixes a bug where <style> tags from components such as a content collection's Content could be silently dropped from the output when an await appeared before the component in an .astro file's markup.
#17193a7352fd Thanks @jan-kubica! - Fixes the background dev server failing to start when astro is hoisted outside the project's node_modules (for example bun workspaces). The background process is now spawned from Astro's own resolved location instead of a path assumed under the project root.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [astro](https://astro.build) ([source](https://github.com/withastro/astro/tree/HEAD/packages/astro)) | [`7.0.4` → `7.0.5`](https://renovatebot.com/diffs/npm/astro/7.0.4/7.0.5) |  |  |
| [sharp](https://sharp.pixelplumbing.com) ([source](https://github.com/lovell/sharp), [changelog](https://github.com/lovell/sharp/blob/main/docs/src/content/docs/changelog.md)) | [`0.35.2` → `0.35.3`](https://renovatebot.com/diffs/npm/sharp/0.35.2/0.35.3) |  |  |
---
### Release Notes
<details>
<summary>withastro/astro (astro)</summary>
### [`v7.0.5`](https://github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#705)
[Compare Source](https://github.com/withastro/astro/compare/astro@7.0.4...astro@7.0.5)
##### Patch Changes
- [#​17242](https://github.com/withastro/astro/pull/17242) [`9c05ba4`](https://github.com/withastro/astro/commit/9c05ba474cee5e3ef5142d88e7e08d53acfbe431) Thanks [@​matthewp](https://github.com/matthewp)! - Fixes an error that could occur after the dev server restarts when using an adapter such as `@astrojs/cloudflare`, where a request would fail with a `500` referencing a missing pre-bundled dependency:
```
The file does not exist at "node_modules/.vite/deps_ssr/astro_compiler-runtime.js?v=6419660d" which is in the optimize deps directory. The dependency might be incompatible with the dep optimizer. Try adding it to `optimizeDeps.exclude`.
```
- [#​17202](https://github.com/withastro/astro/pull/17202) [`c6d254d`](https://github.com/withastro/astro/commit/c6d254dab889f9b15ec79eab84d8dbf7f7cd0007) Thanks [@​matthewp](https://github.com/matthewp)! - Refactors path alias resolution to use Vite's native `tsconfigPaths` option
This is an internal change with no expected impact on user projects. Astro now defers tsconfig and jsconfig `paths` alias resolution to Vite, keeping a small fallback for a few CSS cases Vite does not yet handle.
- [#​17123](https://github.com/withastro/astro/pull/17123) [`72e29bd`](https://github.com/withastro/astro/commit/72e29bd7f9d6c9f86febf5c9b97417bc90de5bb1) Thanks [@​martrapp](https://github.com/martrapp)! - Fixes an issue where the ClientRouter wipes head elements after page transitions if the `<head>` contains a `server:defer` component.
- [#​17232](https://github.com/withastro/astro/pull/17232) [`257505e`](https://github.com/withastro/astro/commit/257505ebfd8be87e6b11fd369340245edd0c937a) Thanks [@​matthewp](https://github.com/matthewp)! - Fixes a bug where `<style>` tags from components such as a content collection's `Content` could be silently dropped from the output when an `await` appeared before the component in an `.astro` file's markup.
- [#​17193](https://github.com/withastro/astro/pull/17193) [`a7352fd`](https://github.com/withastro/astro/commit/a7352fda1218bf48d8483a9893c6f7ed9bdf2060) Thanks [@​jan-kubica](https://github.com/jan-kubica)! - Fixes the background dev server failing to start when `astro` is hoisted outside the project's `node_modules` (for example bun workspaces). The background process is now spawned from Astro's own resolved location instead of a path assumed under the project root.
- [#​17255](https://github.com/withastro/astro/pull/17255) [`581d171`](https://github.com/withastro/astro/commit/581d17113cb192e8b34aa3ad9965fe733e3ca210) Thanks [@​astrobot-houston](https://github.com/astrobot-houston)! - Fixes prefetch not working for links inside `server:defer` components
</details>
<details>
<summary>lovell/sharp (sharp)</summary>
### [`v0.35.3`](https://github.com/lovell/sharp/releases/tag/v0.35.3)
[Compare Source](https://github.com/lovell/sharp/compare/v0.35.2...v0.35.3)
- Tighten verification of `text` dimensions, TIFF tile dimensions and `extend` values.
- Improve code bundler support by resolving path to libvips binary.
- Increase default concurrency when use of `MALLOC_ARENA_MAX` is detected.
- Emit warning about binaries provided by Electron for use on Linux.
- Add `hasAlpha` property to output `info`.
[#​4500](https://github.com/lovell/sharp/issues/4500)
- TypeScript: Return more precise `Buffer<ArrayBuffer>` from `toBuffer`.
[#​4520](https://github.com/lovell/sharp/pull/4520)
[@​Andarist](https://github.com/Andarist)
- Bound `clahe` width and height to avoid signed overflow.
[#​4551](https://github.com/lovell/sharp/pull/4551)
[@​metsw24-max](https://github.com/metsw24-max)
- Bound `trim` margin to avoid signed overflow.
[#​4552](https://github.com/lovell/sharp/pull/4552)
[@​metsw24-max](https://github.com/metsw24-max)
- Reject infinite values when validating numbers.
[#​4553](https://github.com/lovell/sharp/pull/4553)
[@​metsw24-max](https://github.com/metsw24-max)
- Bound extract region to libvips coordinate limit.
[#​4555](https://github.com/lovell/sharp/pull/4555)
[@​metsw24-max](https://github.com/metsw24-max)
- Verify background colour values are numbers.
[#​4556](https://github.com/lovell/sharp/pull/4556)
[@​metsw24-max](https://github.com/metsw24-max)
- Bound create and raw input dimensions to coordinate limit.
[#​4558](https://github.com/lovell/sharp/pull/4558)
[@​metsw24-max](https://github.com/metsw24-max)
- Tighten recomb and affine matrix verification.
[#​4560](https://github.com/lovell/sharp/pull/4560)
[@​chatman-media](https://github.com/chatman-media)
- Verify cache memory limit to avoid overflow.
[#​4561](https://github.com/lovell/sharp/pull/4561)
[@​metsw24-max](https://github.com/metsw24-max)
</details>
---
### Configuration
📅 **Schedule**: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 **Automerge**: Enabled.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4xNjMuMyIsInVwZGF0ZWRJblZlciI6IjQzLjE2My4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tYXRlZCIsImRlcGVuZGVuY2llcyJdfQ==-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
7.0.4→7.0.50.35.2→0.35.3Release Notes
withastro/astro (astro)
v7.0.5Compare Source
Patch Changes
#17242
9c05ba4Thanks @matthewp! - Fixes an error that could occur after the dev server restarts when using an adapter such as@astrojs/cloudflare, where a request would fail with a500referencing a missing pre-bundled dependency:#17202
c6d254dThanks @matthewp! - Refactors path alias resolution to use Vite's nativetsconfigPathsoptionThis is an internal change with no expected impact on user projects. Astro now defers tsconfig and jsconfig
pathsalias resolution to Vite, keeping a small fallback for a few CSS cases Vite does not yet handle.#17123
72e29bdThanks @martrapp! - Fixes an issue where the ClientRouter wipes head elements after page transitions if the<head>contains aserver:defercomponent.#17232
257505eThanks @matthewp! - Fixes a bug where<style>tags from components such as a content collection'sContentcould be silently dropped from the output when anawaitappeared before the component in an.astrofile's markup.#17193
a7352fdThanks @jan-kubica! - Fixes the background dev server failing to start whenastrois hoisted outside the project'snode_modules(for example bun workspaces). The background process is now spawned from Astro's own resolved location instead of a path assumed under the project root.#17255
581d171Thanks @astrobot-houston! - Fixes prefetch not working for links insideserver:defercomponentslovell/sharp (sharp)
v0.35.3Compare Source
Tighten verification of
textdimensions, TIFF tile dimensions andextendvalues.Improve code bundler support by resolving path to libvips binary.
Increase default concurrency when use of
MALLOC_ARENA_MAXis detected.Emit warning about binaries provided by Electron for use on Linux.
Add
hasAlphaproperty to outputinfo.#4500
TypeScript: Return more precise
Buffer<ArrayBuffer>fromtoBuffer.#4520
@Andarist
Bound
clahewidth and height to avoid signed overflow.#4551
@metsw24-max
Bound
trimmargin to avoid signed overflow.#4552
@metsw24-max
Reject infinite values when validating numbers.
#4553
@metsw24-max
Bound extract region to libvips coordinate limit.
#4555
@metsw24-max
Verify background colour values are numbers.
#4556
@metsw24-max
Bound create and raw input dimensions to coordinate limit.
#4558
@metsw24-max
Tighten recomb and affine matrix verification.
#4560
@chatman-media
Verify cache memory limit to avoid overflow.
#4561
@metsw24-max
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate.