Bump astro from 4.13.1 to 5.15.9 #4

Open
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/astro-5.15.9 into main
dependabot[bot] commented 2025-11-19 15:16:56 -05:00 (Migrated from github.com)

Bumps astro from 4.13.1 to 5.15.9.

Release notes

Sourced from astro's releases.

astro@5.15.9

Patch Changes

  • #14786 758a891 Thanks @​mef! - Add handling of invalid encrypted props and slots in server islands.

  • #14783 504958f Thanks @​florian-lefebvre! - Improves the experimental Fonts API build log to show the number of downloaded files. This can help spotting excessive downloading because of misconfiguration

  • #14791 9e9c528 Thanks @​Princesseuh! - Changes the remote protocol checks for images to require explicit authorization in order to use data URIs.

    In order to allow data URIs for remote images, you will need to update your astro.config.mjs file to include the following configuration:

    // astro.config.mjs
    import { defineConfig } from 'astro/config';
    

    export default defineConfig({ images: { remotePatterns: [ { protocol: 'data', }, ], }, });

  • #14787 0f75f6b Thanks @​matthewp! - Fixes wildcard hostname pattern matching to correctly reject hostnames without dots

    Previously, hostnames like localhost or other single-part names would incorrectly match patterns like *.example.com. The wildcard matching logic has been corrected to ensure that only valid subdomains matching the pattern are accepted.

  • #14776 3537876 Thanks @​ktym4a! - Fixes the behavior of passthroughImageService so it does not generate webp.

  • Updated dependencies [9e9c528, 0f75f6b]:

    • @​astrojs/internal-helpers@​0.7.5
    • @​astrojs/markdown-remark@​6.3.9

astro@5.15.8

Patch Changes

  • #14772 00c579a Thanks @​matthewp! - Improves the security of Server Islands slots by encrypting them before transmission to the browser, matching the security model used for props. This improves the integrity of slot content and prevents injection attacks, even when component templates don't explicitly support slots.

    Slots continue to work as expected for normal usage—this change has no breaking changes for legitimate requests.

  • #14771 6f80081 Thanks @​matthewp! - Fix middleware pathname matching by normalizing URL-encoded paths

    Middleware now receives normalized pathname values, ensuring that encoded paths like /%61dmin are properly decoded to /admin before middleware checks. This prevents potential security issues where middleware checks might be bypassed through URL encoding.

astro@5.15.7

Patch Changes

... (truncated)

Changelog

Sourced from astro's changelog.

4.16.16

Patch Changes

4.16.15

Patch Changes

4.16.14

Patch Changes

4.16.13

Patch Changes

  • #12436 453ec6b Thanks @​martrapp! - Fixes a potential null access in the clientside router

  • #12392 0462219 Thanks @​apatel369! - Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same entrypoint and different pattern

4.16.12

Patch Changes

  • #12420 acac0af Thanks @​ematipico! - Fixes an issue where the dev server returns a 404 status code when a user middleware returns a valid Response.

4.16.11

Patch Changes

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for astro since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 4.13.1 to 5.15.9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/releases">astro's releases</a>.</em></p> <blockquote> <h2>astro@5.15.9</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14786">#14786</a> <a href="https://github.com/withastro/astro/commit/758a891112839a108479fd0489a1785640b31ecf"><code>758a891</code></a> Thanks <a href="https://github.com/mef"><code>@​mef</code></a>! - Add handling of invalid encrypted props and slots in server islands.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14783">#14783</a> <a href="https://github.com/withastro/astro/commit/504958fe7fccd7bffc177a1f4b1bf4e22989470e"><code>504958f</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Improves the experimental Fonts API build log to show the number of downloaded files. This can help spotting excessive downloading because of misconfiguration</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14791">#14791</a> <a href="https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533"><code>9e9c528</code></a> Thanks <a href="https://github.com/Princesseuh"><code>@​Princesseuh</code></a>! - Changes the remote protocol checks for images to require explicit authorization in order to use data URIs.</p> <p>In order to allow data URIs for remote images, you will need to update your <code>astro.config.mjs</code> file to include the following configuration:</p> <pre lang="js"><code>// astro.config.mjs import { defineConfig } from 'astro/config'; <p>export default defineConfig({ images: { remotePatterns: [ { protocol: 'data', }, ], }, }); </code></pre></p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14787">#14787</a> <a href="https://github.com/withastro/astro/commit/0f75f6bc637d547e07324e956db21d9f245a3e8e"><code>0f75f6b</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Fixes wildcard hostname pattern matching to correctly reject hostnames without dots</p> <p>Previously, hostnames like <code>localhost</code> or other single-part names would incorrectly match patterns like <code>*.example.com</code>. The wildcard matching logic has been corrected to ensure that only valid subdomains matching the pattern are accepted.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14776">#14776</a> <a href="https://github.com/withastro/astro/commit/3537876fde3bdb2a0ded99cc9b00d53f66160a7f"><code>3537876</code></a> Thanks <a href="https://github.com/ktym4a"><code>@​ktym4a</code></a>! - Fixes the behavior of <code>passthroughImageService</code> so it does not generate webp.</p> </li> <li> <p>Updated dependencies [<a href="https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533"><code>9e9c528</code></a>, <a href="https://github.com/withastro/astro/commit/0f75f6bc637d547e07324e956db21d9f245a3e8e"><code>0f75f6b</code></a>]:</p> <ul> <li><code>@​astrojs/internal-helpers</code><a href="https://github.com/0"><code>@​0</code></a>.7.5</li> <li><code>@​astrojs/markdown-remark</code><a href="https://github.com/6"><code>@​6</code></a>.3.9</li> </ul> </li> </ul> <h2>astro@5.15.8</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14772">#14772</a> <a href="https://github.com/withastro/astro/commit/00c579a23322d92459e4ccad0ec365c4d1980a5d"><code>00c579a</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Improves the security of Server Islands slots by encrypting them before transmission to the browser, matching the security model used for props. This improves the integrity of slot content and prevents injection attacks, even when component templates don't explicitly support slots.</p> <p>Slots continue to work as expected for normal usage—this change has no breaking changes for legitimate requests.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/14771">#14771</a> <a href="https://github.com/withastro/astro/commit/6f800813516b07bbe12c666a92937525fddb58ce"><code>6f80081</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Fix middleware pathname matching by normalizing URL-encoded paths</p> <p>Middleware now receives normalized pathname values, ensuring that encoded paths like <code>/%61dmin</code> are properly decoded to <code>/admin</code> before middleware checks. This prevents potential security issues where middleware checks might be bypassed through URL encoding.</p> </li> </ul> <h2>astro@5.15.7</h2> <h3>Patch Changes</h3> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG-v4.md">astro's changelog</a>.</em></p> <blockquote> <h2>4.16.16</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12542">#12542</a> <a href="https://github.com/withastro/astro/commit/65e50eb7b6d7b10a193bba7d292804ac0e55be18"><code>65e50eb</code></a> Thanks <a href="https://github.com/kadykov"><code>@​kadykov</code></a>! - Fix JPEG image size determination</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12525">#12525</a> <a href="https://github.com/withastro/astro/commit/cf0d8b08a0f16bba7310d1a92c82b5a276682e8c"><code>cf0d8b0</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes an issue where with <code>i18n</code> enabled, Astro couldn't render the <code>404.astro</code> component for non-existent routes.</p> </li> </ul> <h2>4.16.15</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12498">#12498</a> <a href="https://github.com/withastro/astro/commit/b140a3f6d821127f927b7cb938294549e41c5168"><code>b140a3f</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes a regression where Astro was trying to access <code>Request.headers</code></li> </ul> <h2>4.16.14</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12480">#12480</a> <a href="https://github.com/withastro/astro/commit/c3b7e7cfa13603c08eb923703f31a92d514e82db"><code>c3b7e7c</code></a> Thanks <a href="https://github.com/matthewp"><code>@​matthewp</code></a>! - Removes the default throw behavior in <code>astro:env</code></p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12444">#12444</a> <a href="https://github.com/withastro/astro/commit/28dd3ce5222a667fe113238254edf59318b3fa14"><code>28dd3ce</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes an issue where a server island hydration script might fail case the island ID misses from the DOM.</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12476">#12476</a> <a href="https://github.com/withastro/astro/commit/80a9a5299a9d51f2b09900d3200976d687feae8f"><code>80a9a52</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Fixes a case where the Content Layer <code>glob()</code> loader would not update when renaming or deleting an entry</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12418">#12418</a> <a href="https://github.com/withastro/astro/commit/25baa4ed0c5f55fa85c2c7e2c15848937ed1dc9b"><code>25baa4e</code></a> Thanks <a href="https://github.com/oliverlynch"><code>@​oliverlynch</code></a>! - Fix cached image redownloading if it is the first asset</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12477">#12477</a> <a href="https://github.com/withastro/astro/commit/46f6b386b3db6332f286d79958ef10261958cceb"><code>46f6b38</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes an issue where the SSR build was emitting the <code>dist/server/entry.mjs</code> file with an incorrect import at the top of the file/</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12365">#12365</a> <a href="https://github.com/withastro/astro/commit/a23985b02165c2ddce56d511b3f97b6815c452c9"><code>a23985b</code></a> Thanks <a href="https://github.com/apatel369"><code>@​apatel369</code></a>! - Fixes an issue where <code>Astro.currentLocale</code> was not correctly returning the locale for 404 and 500 pages.</p> </li> </ul> <h2>4.16.13</h2> <h3>Patch Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12436">#12436</a> <a href="https://github.com/withastro/astro/commit/453ec6b12f8c021e0bd0fd0ea9f71c8fc280f4b1"><code>453ec6b</code></a> Thanks <a href="https://github.com/martrapp"><code>@​martrapp</code></a>! - Fixes a potential null access in the clientside router</p> </li> <li> <p><a href="https://redirect.github.com/withastro/astro/pull/12392">#12392</a> <a href="https://github.com/withastro/astro/commit/0462219612183b65867aaaef9fa538d89f201999"><code>0462219</code></a> Thanks <a href="https://github.com/apatel369"><code>@​apatel369</code></a>! - Fixes an issue where scripts were not correctly injected during the build. The issue was triggered when there were injected routes with the same <code>entrypoint</code> and different <code>pattern</code></p> </li> </ul> <h2>4.16.12</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12420">#12420</a> <a href="https://github.com/withastro/astro/commit/acac0af53466f8a381ccdac29ed2ad735d7b4e79"><code>acac0af</code></a> Thanks <a href="https://github.com/ematipico"><code>@​ematipico</code></a>! - Fixes an issue where the dev server returns a 404 status code when a user middleware returns a valid <code>Response</code>.</li> </ul> <h2>4.16.11</h2> <h3>Patch Changes</h3> <ul> <li><a href="https://redirect.github.com/withastro/astro/pull/12305">#12305</a> <a href="https://github.com/withastro/astro/commit/f5f71094ec74961b4cca2ee451798abd830c617a"><code>f5f7109</code></a> Thanks <a href="https://github.com/florian-lefebvre"><code>@​florian-lefebvre</code></a>! - Fixes a case where the error overlay would not escape the message</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/withastro/astro/commit/7a07f0244c78a8f1889c1e08910ac2033c9a8c4c"><code>7a07f02</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14788">#14788</a>)</li> <li><a href="https://github.com/withastro/astro/commit/8cf3f0544fac865848bf6d5cc1d9e9d9b117aa7d"><code>8cf3f05</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/758a891112839a108479fd0489a1785640b31ecf"><code>758a891</code></a> fix(astro): handle invalid encrypted props in server island (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14786">#14786</a>)</li> <li><a href="https://github.com/withastro/astro/commit/3537876fde3bdb2a0ded99cc9b00d53f66160a7f"><code>3537876</code></a> fix: <code>passthroughImageService</code> generate webp (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14776">#14776</a>)</li> <li><a href="https://github.com/withastro/astro/commit/048e4dc764d0dc2aee4ce67c7a8bb582011980dd"><code>048e4dc</code></a> [ci] format</li> <li><a href="https://github.com/withastro/astro/commit/9e9c528191b6f5e06db9daf6ad26b8f68016e533"><code>9e9c528</code></a> fix: require explicit authorization to use data urls (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14791">#14791</a>)</li> <li><a href="https://github.com/withastro/astro/commit/0f75f6bc637d547e07324e956db21d9f245a3e8e"><code>0f75f6b</code></a> Fix wildcard hostname matching to reject hostnames without dots (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14787">#14787</a>)</li> <li><a href="https://github.com/withastro/astro/commit/504958fe7fccd7bffc177a1f4b1bf4e22989470e"><code>504958f</code></a> feat(fonts): log number of downloaded files (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14783">#14783</a>)</li> <li><a href="https://github.com/withastro/astro/commit/24e28d2aea9f8d3dbace85947e4712a06190568d"><code>24e28d2</code></a> fix(deps): update astro dependencies (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14779">#14779</a>)</li> <li><a href="https://github.com/withastro/astro/commit/60af4d0a1a56d8db56e3d737f4f9ea680203490e"><code>60af4d0</code></a> [ci] release (<a href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14773">#14773</a>)</li> <li>Additional commits viewable in <a href="https://github.com/withastro/astro/commits/astro@5.15.9/packages/astro">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for astro since your current version.</p> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=astro&package-manager=npm_and_yarn&previous-version=4.13.1&new-version=5.15.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/orpheuslummis/mistriver.org/network/alerts). </details>
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin dependabot/npm_and_yarn/astro-5.15.9:dependabot/npm_and_yarn/astro-5.15.9
git switch dependabot/npm_and_yarn/astro-5.15.9

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff dependabot/npm_and_yarn/astro-5.15.9
git switch dependabot/npm_and_yarn/astro-5.15.9
git rebase main
git switch main
git merge --ff-only dependabot/npm_and_yarn/astro-5.15.9
git switch dependabot/npm_and_yarn/astro-5.15.9
git rebase main
git switch main
git merge --no-ff dependabot/npm_and_yarn/astro-5.15.9
git switch main
git merge --squash dependabot/npm_and_yarn/astro-5.15.9
git switch main
git merge --ff-only dependabot/npm_and_yarn/astro-5.15.9
git switch main
git merge dependabot/npm_and_yarn/astro-5.15.9
git push origin main
Sign in to join this conversation.
No description provided.