From d6f9d01f8b366403d10affbf092149367dd3fa55 Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Fri, 18 Oct 2024 15:24:03 +0200 Subject: [PATCH] =?UTF-8?q?fix(website):=20update=20@astrojs/starlight=200?= =?UTF-8?q?.27.1=20=E2=86=92=200.28.3=20by=20renovate=20(#27911)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@astrojs/starlight](https://starlight.astro.build) ([source](https://redirect.github.com/withastro/starlight/tree/HEAD/packages/starlight)) | dependencies | minor | [`0.27.1` -> `0.28.3`](https://renovatebot.com/diffs/npm/@astrojs%2fstarlight/0.27.1/0.28.3) | --- > [!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
withastro/starlight (@​astrojs/starlight) ### [`v0.28.3`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0283) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.28.2...@astrojs/starlight@0.28.3) ##### Patch Changes - [#​2408](https://redirect.github.com/withastro/starlight/pull/2408) [`0b4823d`](https://redirect.github.com/withastro/starlight/commit/0b4823d534abe517fac5efd97f6febb5965714fe) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes a link formatting issue when using the Astro `build.format` option set to `file` with a `base`. - [#​2380](https://redirect.github.com/withastro/starlight/pull/2380) [`7b451cf`](https://redirect.github.com/withastro/starlight/commit/7b451cff6979bef1c817f3a84392221ac884ba3d) Thanks [@​delucis](https://redirect.github.com/delucis)! - Loosen Starlight’s i18n schema to pass through unknown keys - [#​2388](https://redirect.github.com/withastro/starlight/pull/2388) [`6bba3d8`](https://redirect.github.com/withastro/starlight/commit/6bba3d8e02b95ecee7f9c945b6ee33b4c4ba755d) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes a potential type-checking issue in Starlight projects. - [#​2443](https://redirect.github.com/withastro/starlight/pull/2443) [`a0f40b3`](https://redirect.github.com/withastro/starlight/commit/a0f40b3c3c7ab0cb9f0f5f11b94e3679547f6ab4) Thanks [@​kevinzunigacuellar](https://redirect.github.com/kevinzunigacuellar)! - Fixes CSS issue where bottom padding is not applied in the search dialog. ### [`v0.28.2`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0282) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.28.1...@astrojs/starlight@0.28.2) ##### Patch Changes - [#​2377](https://redirect.github.com/withastro/starlight/pull/2377) [`a257b83`](https://redirect.github.com/withastro/starlight/commit/a257b83f1e5704ff41bcbe85482ac81a1a61ce1f) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes an issue with synced `` components containing nested `` causing tab panels to not render correctly. ### [`v0.28.1`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0281) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.28.0...@astrojs/starlight@0.28.1) ##### Patch Changes - [#​2334](https://redirect.github.com/withastro/starlight/pull/2334) [`79b9ade`](https://redirect.github.com/withastro/starlight/commit/79b9ade194cf704dad79267715a6970e0d7a7277) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Fixes an issue with Expressive Code UI labels not displaying correctly. ### [`v0.28.0`](https://redirect.github.com/withastro/starlight/blob/HEAD/packages/starlight/CHANGELOG.md#0280) [Compare Source](https://redirect.github.com/withastro/starlight/compare/@astrojs/starlight@0.27.1...@astrojs/starlight@0.28.0) ##### Minor Changes - [#​1923](https://redirect.github.com/withastro/starlight/pull/1923) [`5269aad`](https://redirect.github.com/withastro/starlight/commit/5269aad928773ae08b35ba8e19c0f2832d0d2c89) Thanks [@​HiDeoo](https://redirect.github.com/HiDeoo)! - Overhauls the built-in localization system which is now powered by the [`i18next`](https://www.i18next.com/) library and available to use anywhere in your documentation website. See the [“Using UI translations”](https://starlight.astro.build/guides/i18n/#using-ui-translations) guide to learn more about how to access built-in UI labels or your own custom strings in your project. Plugin authors can also use the new [`injectTranslations()`](https://starlight.astro.build/reference/plugins/#injecttranslations) helper to add or update translation strings. ⚠️ **BREAKING CHANGE:** The `Astro.props.labels` props has been removed from the props passed down to custom component overrides. If you are relying on `Astro.props.labels` (for example to read a built-in UI label), you will need to update your code to use the new [`Astro.locals.t()`](https://starlight.astro.build/guides/i18n/#using-ui-translations) helper instead.
--- ### 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. --- - [ ] 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). --- website/package-lock.json | 63 ++++++++++++++++++++++++++++++++------- website/package.json | 2 +- 2 files changed, 53 insertions(+), 12 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index d9af2a1eb40..b748ebd722e 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@astrojs/check": "0.9.4", "@astrojs/sitemap": "3.2.1", - "@astrojs/starlight": "0.27.1", + "@astrojs/starlight": "0.28.3", "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.2", "@playform/compress": "0.1.4", @@ -21,7 +21,7 @@ "lottie-web": "5.12.2", "prettier": "3.3.3", "sharp": "0.33.5", - "starlight-blog": "0.12.0", + "starlight-blog": "0.14.0", "starlight-image-zoom": "0.8.0", "starlight-links-validator": "0.12.3", "tailwindcss": "3.4.14", @@ -240,9 +240,9 @@ } }, "node_modules/@astrojs/starlight": { - "version": "0.27.1", - "resolved": "https://registry.npmjs.org/@astrojs/starlight/-/starlight-0.27.1.tgz", - "integrity": "sha512-L2hEgN/Tk7tfBDeaqUOgOpey5NcUL78FuQa06iNxyZ6RjyYyuXSniOoFxZYIo5PpY9O1dLdK22PkZyCDpO729g==", + "version": "0.28.3", + "resolved": "https://registry.npmjs.org/@astrojs/starlight/-/starlight-0.28.3.tgz", + "integrity": "sha512-GXXIPKSu5d50mLVtgI4jf6pb3FPQm8n4MI6ZXuQQqqnA0xg7PJQ76WFSVyrICeqM5fKABSqcBksp/glyEJes/A==", "license": "MIT", "dependencies": { "@astrojs/mdx": "^3.1.3", @@ -256,6 +256,7 @@ "hast-util-select": "^6.0.2", "hast-util-to-string": "^3.0.0", "hastscript": "^9.0.0", + "i18next": "^23.11.5", "mdast-util-directive": "^3.0.0", "mdast-util-to-markdown": "^2.1.0", "mdast-util-to-string": "^4.0.0", @@ -268,7 +269,7 @@ "vfile": "^6.0.2" }, "peerDependencies": { - "astro": "^4.8.6" + "astro": "^4.14.0" } }, "node_modules/@astrojs/starlight-tailwind": { @@ -594,6 +595,18 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/runtime": { + "version": "7.25.7", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.7.tgz", + "integrity": "sha512-FjoyLe754PMiYsFaN5C94ttGiOmBNYTf6pLr4xXHAT5uctHb092PBszndLDR5XA/jghQvn4n7JMHl7dmTgbm9w==", + "license": "MIT", + "dependencies": { + "regenerator-runtime": "^0.14.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/template": { "version": "7.25.7", "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.7.tgz", @@ -4770,6 +4783,29 @@ "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "license": "BSD-2-Clause" }, + "node_modules/i18next": { + "version": "23.16.0", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.0.tgz", + "integrity": "sha512-Ni3CG6c14teOogY19YNRl+kYaE/Rb59khy0VyHVn4uOZ97E2E/Yziyi6r3C3s9+wacjdLZiq/LLYyx+Cgd+FCw==", + "funding": [ + { + "type": "individual", + "url": "https://locize.com" + }, + { + "type": "individual", + "url": "https://locize.com/i18next.html" + }, + { + "type": "individual", + "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" + } + ], + "license": "MIT", + "dependencies": { + "@babel/runtime": "^7.23.2" + } + }, "node_modules/import-meta-resolve": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/import-meta-resolve/-/import-meta-resolve-4.1.0.tgz", @@ -7467,6 +7503,12 @@ "node": ">=8.10.0" } }, + "node_modules/regenerator-runtime": { + "version": "0.14.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz", + "integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw==", + "license": "MIT" + }, "node_modules/regex": { "version": "4.3.3", "resolved": "https://registry.npmjs.org/regex/-/regex-4.3.3.tgz", @@ -8093,9 +8135,9 @@ "license": "BSD-3-Clause" }, "node_modules/starlight-blog": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/starlight-blog/-/starlight-blog-0.12.0.tgz", - "integrity": "sha512-SSNkBQIM6RrumGQQqOv76L5Lcefm6faU2+4armlgQh2zod24aOvuCGUcFi3F//DxOWvIx3WRb7X/VRqs3yNO8A==", + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/starlight-blog/-/starlight-blog-0.14.0.tgz", + "integrity": "sha512-Eu7wuMTpfy/r09daaUx8IWG3z7BhfjVtl7vDfHPsXupiIKz6iB+pVoQqe3zUBUxVKkoPjOLJUx8QPDhw/3faZg==", "license": "MIT", "dependencies": { "@astrojs/rss": "4.0.5", @@ -8109,8 +8151,7 @@ "node": ">=18.14.1" }, "peerDependencies": { - "@astrojs/starlight": ">=0.24.0", - "astro": ">=4.8.6" + "@astrojs/starlight": ">=0.28.3" } }, "node_modules/starlight-image-zoom": { diff --git a/website/package.json b/website/package.json index b649f8d00d7..2fe05123d39 100644 --- a/website/package.json +++ b/website/package.json @@ -19,7 +19,7 @@ "dependencies": { "@astrojs/check": "0.9.4", "@astrojs/sitemap": "3.2.1", - "@astrojs/starlight": "0.27.1", + "@astrojs/starlight": "0.28.3", "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.2", "@playform/compress": "0.1.4",