Commit 566a1dd
authored
chore(deps): bump astro from 5.11.0 to 5.13.5 (#157)
Bumps
[astro](https://github.com/withastro/astro/tree/HEAD/packages/astro)
from 5.11.0 to 5.13.5.
<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.13.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14286">#14286</a>
<a
href="https://github.com/withastro/astro/commit/09c5db37d12862eef8d4ecf62389e10f30a22de9"><code>09c5db3</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@ematipico</code></a>! -
<strong>BREAKING CHANGES only to the experimental CSP
feature</strong></p>
<p>The following runtime APIs of the <code>Astro</code> global have been
renamed:</p>
<ul>
<li><code>Astro.insertDirective</code> to
<code>Astro.csp.insertDirective</code></li>
<li><code>Astro.insertStyleResource</code> to
<code>Astro.csp.insertStyleResource</code></li>
<li><code>Astro.insertStyleHash</code> to
<code>Astro.csp.insertStyleHash</code></li>
<li><code>Astro.insertScriptResource</code> to
<code>Astro.csp.insertScriptResource</code></li>
<li><code>Astro.insertScriptHash</code> to
<code>Astro.csp.insertScriptHash</code></li>
</ul>
<p>The following runtime APIs of the <code>APIContext</code> have been
renamed:</p>
<ul>
<li><code>ctx.insertDirective</code> to
<code>ctx.csp.insertDirective</code></li>
<li><code>ctx.insertStyleResource</code> to
<code>ctx.csp.insertStyleResource</code></li>
<li><code>ctx.insertStyleHash</code> to
<code>ctx.csp.insertStyleHash</code></li>
<li><code>ctx.insertScriptResource</code> to
<code>ctx.csp.insertScriptResource</code></li>
<li><code>ctx.insertScriptHash</code> to
<code>ctx.csp.insertScriptHash</code></li>
</ul>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14283">#14283</a>
<a
href="https://github.com/withastro/astro/commit/3224637eca5c065872d92449216cb33baac2dbfd"><code>3224637</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@ematipico</code></a>! -
Fixes an issue where CSP headers were incorrectly injected in the
development server.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14275">#14275</a>
<a
href="https://github.com/withastro/astro/commit/3e2f20d07e92b1acfadb1357a59b6952e85227f3"><code>3e2f20d</code></a>
Thanks <a
href="https://github.com/florian-lefebvre"><code>@florian-lefebvre</code></a>!
- Adds support for experimental CSP when using experimental fonts</p>
<p>Experimental fonts now integrate well with experimental CSP by
injecting hashes for the styles it generates, as well as
<code>font-src</code> directives.</p>
<p>No action is required to benefit from it.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14280">#14280</a>
<a
href="https://github.com/withastro/astro/commit/4b9fb736dab42b8864012db0a981d3441366c388"><code>4b9fb73</code></a>
Thanks <a
href="https://github.com/ascorbic"><code>@ascorbic</code></a>! - Fixes
a bug that caused cookies to not be correctly set when using middleware
sequences</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14276">#14276</a>
<a
href="https://github.com/withastro/astro/commit/77281c4616b65959715dcbac42bf948bebfee755"><code>77281c4</code></a>
Thanks <a
href="https://github.com/ArmandPhilippot"><code>@ArmandPhilippot</code></a>!
- Adds a missing export for <code>resolveSrc</code>, a documented image
services utility.</p>
</li>
</ul>
<h2>astro@5.13.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14260">#14260</a>
<a
href="https://github.com/withastro/astro/commit/86a1e40ce21b629a956057b059d06ba78bd89402"><code>86a1e40</code></a>
Thanks <a href="https://github.com/jp-knj"><code>@jp-knj</code></a>! -
Fixes <code>Astro.url.pathname</code> to respect <code>trailingSlash:
'never'</code> configuration when using a base path. Previously, the
root path with a base would incorrectly return <code>/base/</code>
instead of <code>/base</code> when <code>trailingSlash</code> was set to
'never'.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14248">#14248</a>
<a
href="https://github.com/withastro/astro/commit/e81c4bd1cca6739192d33068cbfb2c9e4ced1ffe"><code>e81c4bd</code></a>
Thanks <a
href="https://github.com/julesyoungberg"><code>@julesyoungberg</code></a>!
- Fixes a bug where actions named 'apply' do not work due to being a
function prototype method.</p>
</li>
</ul>
<h2>astro@5.13.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14239">#14239</a>
<a
href="https://github.com/withastro/astro/commit/d7d93e19fbfa52cf74dee40f5af6b7ea6a7503d2"><code>d7d93e1</code></a>
Thanks <a href="https://github.com/wtchnm"><code>@wtchnm</code></a>! -
Fixes a bug where the types for the live content collections were not
being generated correctly in dev mode</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14221">#14221</a>
<a
href="https://github.com/withastro/astro/commit/eadc9dd277d0075d7bff0e33c7a86f3fb97fdd61"><code>eadc9dd</code></a>
Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>!
- Fixes JSON schema support for content collections using the
<code>file()</code> loader</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14229">#14229</a>
<a
href="https://github.com/withastro/astro/commit/1a9107a4049f43c1e4e9f40e07033f6bfe4398e4"><code>1a9107a</code></a>
Thanks <a
href="https://github.com/jonmichaeldarby"><code>@jonmichaeldarby</code></a>!
- Ensures <code>Astro.currentLocale</code> returns the correct locale
during SSG for pages that use a locale param (such as
<code>[locale].astro</code> or <code>[locale]/index.astro</code>, which
produce <code>[locale].html</code>)</p>
</li>
</ul>
<h2>astro@5.13.2</h2>
<!-- 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.md">astro's
changelog</a>.</em></p>
<blockquote>
<h2>5.13.5</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14286">#14286</a>
<a
href="https://github.com/withastro/astro/commit/09c5db37d12862eef8d4ecf62389e10f30a22de9"><code>09c5db3</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@ematipico</code></a>! -
<strong>BREAKING CHANGES only to the experimental CSP
feature</strong></p>
<p>The following runtime APIs of the <code>Astro</code> global have been
renamed:</p>
<ul>
<li><code>Astro.insertDirective</code> to
<code>Astro.csp.insertDirective</code></li>
<li><code>Astro.insertStyleResource</code> to
<code>Astro.csp.insertStyleResource</code></li>
<li><code>Astro.insertStyleHash</code> to
<code>Astro.csp.insertStyleHash</code></li>
<li><code>Astro.insertScriptResource</code> to
<code>Astro.csp.insertScriptResource</code></li>
<li><code>Astro.insertScriptHash</code> to
<code>Astro.csp.insertScriptHash</code></li>
</ul>
<p>The following runtime APIs of the <code>APIContext</code> have been
renamed:</p>
<ul>
<li><code>ctx.insertDirective</code> to
<code>ctx.csp.insertDirective</code></li>
<li><code>ctx.insertStyleResource</code> to
<code>ctx.csp.insertStyleResource</code></li>
<li><code>ctx.insertStyleHash</code> to
<code>ctx.csp.insertStyleHash</code></li>
<li><code>ctx.insertScriptResource</code> to
<code>ctx.csp.insertScriptResource</code></li>
<li><code>ctx.insertScriptHash</code> to
<code>ctx.csp.insertScriptHash</code></li>
</ul>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14283">#14283</a>
<a
href="https://github.com/withastro/astro/commit/3224637eca5c065872d92449216cb33baac2dbfd"><code>3224637</code></a>
Thanks <a
href="https://github.com/ematipico"><code>@ematipico</code></a>! -
Fixes an issue where CSP headers were incorrectly injected in the
development server.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14275">#14275</a>
<a
href="https://github.com/withastro/astro/commit/3e2f20d07e92b1acfadb1357a59b6952e85227f3"><code>3e2f20d</code></a>
Thanks <a
href="https://github.com/florian-lefebvre"><code>@florian-lefebvre</code></a>!
- Adds support for experimental CSP when using experimental fonts</p>
<p>Experimental fonts now integrate well with experimental CSP by
injecting hashes for the styles it generates, as well as
<code>font-src</code> directives.</p>
<p>No action is required to benefit from it.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14280">#14280</a>
<a
href="https://github.com/withastro/astro/commit/4b9fb736dab42b8864012db0a981d3441366c388"><code>4b9fb73</code></a>
Thanks <a
href="https://github.com/ascorbic"><code>@ascorbic</code></a>! - Fixes
a bug that caused cookies to not be correctly set when using middleware
sequences</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14276">#14276</a>
<a
href="https://github.com/withastro/astro/commit/77281c4616b65959715dcbac42bf948bebfee755"><code>77281c4</code></a>
Thanks <a
href="https://github.com/ArmandPhilippot"><code>@ArmandPhilippot</code></a>!
- Adds a missing export for <code>resolveSrc</code>, a documented image
services utility.</p>
</li>
</ul>
<h2>5.13.4</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14260">#14260</a>
<a
href="https://github.com/withastro/astro/commit/86a1e40ce21b629a956057b059d06ba78bd89402"><code>86a1e40</code></a>
Thanks <a href="https://github.com/jp-knj"><code>@jp-knj</code></a>! -
Fixes <code>Astro.url.pathname</code> to respect <code>trailingSlash:
'never'</code> configuration when using a base path. Previously, the
root path with a base would incorrectly return <code>/base/</code>
instead of <code>/base</code> when <code>trailingSlash</code> was set to
'never'.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14248">#14248</a>
<a
href="https://github.com/withastro/astro/commit/e81c4bd1cca6739192d33068cbfb2c9e4ced1ffe"><code>e81c4bd</code></a>
Thanks <a
href="https://github.com/julesyoungberg"><code>@julesyoungberg</code></a>!
- Fixes a bug where actions named 'apply' do not work due to being a
function prototype method.</p>
</li>
</ul>
<h2>5.13.3</h2>
<h3>Patch Changes</h3>
<ul>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14239">#14239</a>
<a
href="https://github.com/withastro/astro/commit/d7d93e19fbfa52cf74dee40f5af6b7ea6a7503d2"><code>d7d93e1</code></a>
Thanks <a href="https://github.com/wtchnm"><code>@wtchnm</code></a>! -
Fixes a bug where the types for the live content collections were not
being generated correctly in dev mode</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14221">#14221</a>
<a
href="https://github.com/withastro/astro/commit/eadc9dd277d0075d7bff0e33c7a86f3fb97fdd61"><code>eadc9dd</code></a>
Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>!
- Fixes JSON schema support for content collections using the
<code>file()</code> loader</p>
</li>
<li>
<p><a
href="https://redirect.github.com/withastro/astro/pull/14229">#14229</a>
<a
href="https://github.com/withastro/astro/commit/1a9107a4049f43c1e4e9f40e07033f6bfe4398e4"><code>1a9107a</code></a>
Thanks <a
href="https://github.com/jonmichaeldarby"><code>@jonmichaeldarby</code></a>!
- Ensures <code>Astro.currentLocale</code> returns the correct locale
during SSG for pages that use a locale param (such as
<code>[locale].astro</code> or <code>[locale]/index.astro</code>, which
produce <code>[locale].html</code>)</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/withastro/astro/commit/71562f28c9e26a7c1b4421c94597aa0fcde22d14"><code>71562f2</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14277">#14277</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/e21da85744dbd43d9c4feb4b3207c392d5878830"><code>e21da85</code></a>
[ci] format</li>
<li><a
href="https://github.com/withastro/astro/commit/4b9fb736dab42b8864012db0a981d3441366c388"><code>4b9fb73</code></a>
fix: don't lose cookies in middleware sequences (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14280">#14280</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/77281c4616b65959715dcbac42bf948bebfee755"><code>77281c4</code></a>
fix: add missing export for a documented image service utility (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14276">#14276</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/72ab59ba96e72615c046f9bb0b833dbe3a7e1465"><code>72ab59b</code></a>
[ci] format</li>
<li><a
href="https://github.com/withastro/astro/commit/09c5db37d12862eef8d4ecf62389e10f30a22de9"><code>09c5db3</code></a>
refactor(csp): move methods inside <code>csp</code> getter (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14286">#14286</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/3224637eca5c065872d92449216cb33baac2dbfd"><code>3224637</code></a>
fix(csp): CSP headers in development server (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14283">#14283</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/3e2f20d07e92b1acfadb1357a59b6952e85227f3"><code>3e2f20d</code></a>
feat(fonts): csp 2 (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14275">#14275</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/24b04c159ff2e5e1b15efcf8f3a77a131b5a9f92"><code>24b04c1</code></a>
[ci] release (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14267">#14267</a>)</li>
<li><a
href="https://github.com/withastro/astro/commit/4823c426c4e3c63765098f53c93fcb1bb3a4faaf"><code>4823c42</code></a>
feat(netlify): dev context (<a
href="https://github.com/withastro/astro/tree/HEAD/packages/astro/issues/14269">#14269</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/withastro/astro/commits/astro@5.13.5/packages/astro">compare
view</a></li>
</ul>
</details>
<br />
[](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/jargonsdev/jargons.dev/network/alerts).
</details>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent 954ffbd commit 566a1dd
2 files changed
Lines changed: 45 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments