From ea93f4996b300f78be7d37174809ef07cc0d0c02 Mon Sep 17 00:00:00 2001 From: TrueCharts Bot Date: Wed, 23 Oct 2024 21:01:52 +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=20(#28229)?= 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) | 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 | 52 +++++++++++++++++++++++++++++++++++---- website/package.json | 2 +- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/website/package-lock.json b/website/package-lock.json index cc59eed4757..c2d18de8952 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@astrojs/check": "0.9.3", "@astrojs/sitemap": "3.1.6", - "@astrojs/starlight": "0.27.1", + "@astrojs/starlight": "0.28.3", "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.0", "@playform/compress": "0.1.1", @@ -213,9 +213,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", @@ -229,6 +229,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", @@ -241,7 +242,7 @@ "vfile": "^6.0.2" }, "peerDependencies": { - "astro": "^4.8.6" + "astro": "^4.14.0" } }, "node_modules/@astrojs/starlight-tailwind": { @@ -567,6 +568,18 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/runtime": { + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.9.tgz", + "integrity": "sha512-4zpTHZ9Cm6L9L+uIqghQX8ZXg8HKFcjYO3qHoO8zTmRm6HQUJ8SSJ+KRvbMBZn0EGVlT4DRYeQ/6hjlyXBh+Kg==", + "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", @@ -5376,6 +5389,29 @@ "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", "license": "BSD-2-Clause" }, + "node_modules/i18next": { + "version": "23.16.2", + "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.16.2.tgz", + "integrity": "sha512-dFyxwLXxEQK32f6tITBMaRht25mZPJhQ0WbC0p3bO2mWBal9lABTMqSka5k+GLSRWLzeJBKDpH7BeIA9TZI7Jg==", + "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", @@ -8052,6 +8088,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", diff --git a/website/package.json b/website/package.json index 5343065800d..fe6c3348fee 100644 --- a/website/package.json +++ b/website/package.json @@ -19,7 +19,7 @@ "dependencies": { "@astrojs/check": "0.9.3", "@astrojs/sitemap": "3.1.6", - "@astrojs/starlight": "0.27.1", + "@astrojs/starlight": "0.28.3", "@astrojs/starlight-tailwind": "2.0.3", "@astrojs/tailwind": "5.1.0", "@playform/compress": "0.1.1",