fix(website): update astro 5.9.1 → 5.9.2 (#36143)
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 | [`5.9.1` -> `5.9.2`](https://renovatebot.com/diffs/npm/astro/5.9.1/5.9.2) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. Add the preset `:preserveSemverRanges` to your config if you don't want to pin your dependencies. --- ### Release Notes <details> <summary>withastro/astro (astro)</summary> ### [`v5.9.2`](https://redirect.github.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#592) [Compare Source](https://redirect.github.com/withastro/astro/compare/astro@5.9.1...astro@5.9.2) ##### Patch Changes - [#​13919](https://redirect.github.com/withastro/astro/pull/13919) [`423fe60`](https://redirect.github.com/withastro/astro/commit/423fe6048dfb4c24d198611f60a5815459efacd3) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - Fixes a bug where Astro added quotes to the CSP resources. Only certain resources require quotes (e.g. `'self'` but not `https://cdn.example.com`), so Astro no longer adds quotes to any resources. You must now provide the quotes yourself for resources such as `'self'` when necessary: ```diff export default defineConfig({ experimental: { csp: { styleDirective: { resources: [ - "self", + "'self'", "https://cdn.example.com" ] } } } }) ``` - [#​13914](https://redirect.github.com/withastro/astro/pull/13914) [`76c5480`](https://redirect.github.com/withastro/astro/commit/76c5480ac0ab1f64df38c23a848f8d28f7640562) Thanks [@​ematipico](https://redirect.github.com/ematipico)! - **BREAKING CHANGE to the experimental Content Security Policy feature only** Removes support for experimental Content Security Policy (CSP) when using the `<ClientRouter />` component for view transitions. It is no longer possible to enable experimental CSP while using Astro's view transitions. Support was already unstable with the `<ClientRouter />` because CSP required making its underlying implementation asynchronous. This caused breaking changes for several users and therefore, this PR removes support completely. If you are currently using the component for view transitions, please remove the experimental CSP flag as they cannot be used together. ```diff import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { - csp: true } }); ``` Alternatively, to continue using experimental CSP in your project, you can [consider migrating to the browser native View Transition API](https://events-3bg.pages.dev/jotter/astro-view-transitions/) and remove the `<ClientRouter />` from your project. You may be able to achieve similar results if you are not using Astro's enhancements to the native View Transitions and Navigation APIs. Support might be reintroduced in future releases. You can follow this experimental feature's development in [the CSP RFC](https://redirect.github.com/withastro/roadmap/blob/feat/rfc-csp/proposals/0055-csp.md). </details> --- ### 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. --- - [ ] <!-- rebase-check -->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). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4yMzguMCIsInVwZGF0ZWRJblZlciI6IjM5LjIzOC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvcGF0Y2giXX0=-->
This commit is contained in:
Generated
+5
-5
@@ -14,7 +14,7 @@
|
||||
"@astrojs/starlight-tailwind": "3.0.1",
|
||||
"@astrojs/tailwind": "6.0.2",
|
||||
"@playform/compress": "0.1.9",
|
||||
"astro": "5.9.1",
|
||||
"astro": "5.9.2",
|
||||
"astro-better-image-service": "2.1.6",
|
||||
"astro-integration-lottie": "0.3.2",
|
||||
"astro-robots-txt": "1.0.0",
|
||||
@@ -2865,12 +2865,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/astro": {
|
||||
"version": "5.9.1",
|
||||
"resolved": "https://registry.npmjs.org/astro/-/astro-5.9.1.tgz",
|
||||
"integrity": "sha512-wxoJcTbuDZNFSv6EaL0PAlrp0Wx6VnOAULCXvy0scsV70oWMeUkdxuBxfO54JxO5Qgyvwj9h99y6E0elqOpGtA==",
|
||||
"version": "5.9.2",
|
||||
"resolved": "https://registry.npmjs.org/astro/-/astro-5.9.2.tgz",
|
||||
"integrity": "sha512-K/zZlQOWMpamfLDOls5jvG7lrsjH1gkk3ESRZyZDCkVBtKHMF4LbjwCicm/iBb3mX3V/PerqRYzLbOy3/4JLCQ==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@astrojs/compiler": "^2.12.1",
|
||||
"@astrojs/compiler": "^2.12.2",
|
||||
"@astrojs/internal-helpers": "0.6.1",
|
||||
"@astrojs/markdown-remark": "6.3.2",
|
||||
"@astrojs/telemetry": "3.3.0",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"@astrojs/starlight-tailwind": "3.0.1",
|
||||
"@astrojs/tailwind": "6.0.2",
|
||||
"@playform/compress": "0.1.9",
|
||||
"astro": "5.9.1",
|
||||
"astro": "5.9.2",
|
||||
"astro-better-image-service": "2.1.6",
|
||||
"astro-integration-lottie": "0.3.2",
|
||||
"astro-robots-txt": "1.0.0",
|
||||
|
||||
Reference in New Issue
Block a user