[Snyk] Upgrade @astrojs/starlight from 0.21.5 to 0.22.2 #25
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade @astrojs/starlight from 0.21.5 to 0.22.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 3 versions ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: @astrojs/starlight
-
0.22.2 - 2024-05-06
-
-
-
0.22.1 - 2024-05-01
-
0.22.0 - 2024-04-30
-
-
⚠️ Potentially breaking change: The shape of the
---
-
-
-
-
-
-
-
-
-
-
-
-
-
0.21.5 - 2024-04-09
-
-
-
-
from @astrojs/starlight GitHub release notesPatch Changes
#1811
fe06aa13Thanks @ HiDeoo! - Fixes a<Tabs>sync issue when inconsistently using theiconprop or not on<TabItem>components.#1826
52ea7381Thanks @ dragomano! - Updates Russian UI translationsPatch Changes
1c0fc384Thanks @ HiDeoo! - Fixes an issue where thesiteTitleproperty would not be set when using the<StarlightPage />component.Minor Changes
#640
7dc503eaThanks @ HiDeoo! - Adds support for syncing multiple sets of tabs on the same page.#1620
ca0678caThanks @ emjio! - Adds support for translating the site titletitlefield on Starlight’s internal config object has changed. This used to be a string, but is now an object.If you are relying on
config.title(for example in a custom<SiteTitle>or<Head>component), you will need to update your code. We recommend using the newsiteTitleprop available to component overrides:import type { Props } from '@ astrojs/starlight/props';
// The site title for this page’s language:
const { siteTitle } = Astro.props;
---
#1613
61493e55Thanks @ HiDeoo! - Adds newdraftfrontmatter option to exclude a page from production builds.#640
7dc503eaThanks @ HiDeoo! - Updates the defaultline-heightfrom1.8to1.75. This change avoids having a line height with a fractional part which can cause scripts accessing dimensions involving the line height to get an inconsistent rounded value in various browsers.If you want to preserve the previous
line-height, you can add the following custom CSS to your site:#1720
749ddf85Thanks @ jacobdalamb! - Updatesastro-expressive-codedependency to the latest minor release (0.35) and exposes a new@ astrojs/starlight/expressive-code/hastmodule for users who need to use Expressive Code’s version ofhast.This includes a potentially breaking change if you use custom Expressive Code plugins. See the Expressive Code release notes for full details.
#1769
bd5f1cbdThanks @ ncjones! - Adds support for accessing frontmatter data as a variable when using MarkdocPatch Changes
#1788
681a4273Thanks @ dragomano! - Adds Russian translations for Expressive Code labels#1780
4db6025aThanks @ MiahaCybersec! - Adds 1 new icon:signal#1785
65009c9cThanks @ dreyfus92! - Adds 5 new icons:node,cloudflare,vercel,netlifyanddeno#1786
d05d693aThanks @ delucis! - Fixes type inference for i18n strings added by extending the default schema#1777
6949404bThanks @ HiDeoo! - Fixes an issue where TypeScript could fail to serialize the frontmatter schema when configured to emit declaration files#1734
4493dcfaThanks @ delucis! - Refactors<ThemeSelect>custom element logic to improve performance#1731
f08b0dffThanks @ techfg! - Fixes responding to system color scheme changes when theme isauto#1793
2616f0c7Thanks @ Mrahmani71! - Updates the Farsi UI translationsPatch Changes
#1728
0a75680dThanks @ delucis! - Adds 1 new icon:pkl#1709
c5cd1811Thanks @ HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English.#1723
3b29b3abThanks @ OliverSpeir! - Fixes accessibility by usingaria-selected="false"for inactive tabs instead of removingaria-selected="true"in the tablist of Starlight’s<Tabs>component#1706
f171ac4dThanks @ jorenbroekema! - Fixes some minor type errorsImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: