[Snyk] Upgrade @astrojs/starlight from 0.21.5 to 0.22.1 #23
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.1.
ℹ️ 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 2 versions ahead of your current version.
The recommended version was released 21 days ago, on 2024-05-01.
The recommended version fixes:
SNYK-JS-BRACES-6838727
Why? Proof of Concept exploit, Recently disclosed, CVSS 7.5
SNYK-JS-MICROMATCH-6838728
Why? Proof of Concept exploit, Recently disclosed, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: @astrojs/starlight
Patch Changes
1c0fc384
Thanks @ HiDeoo! - Fixes an issue where thesiteTitle
property would not be set when using the<StarlightPage />
component.Minor Changes
#640
7dc503ea
Thanks @ HiDeoo! - Adds support for syncing multiple sets of tabs on the same page.#1620
ca0678ca
Thanks @ emjio! - Adds support for translating the site titletitle
field 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 newsiteTitle
prop available to component overrides:import type { Props } from '@ astrojs/starlight/props';
// The site title for this page’s language:
const { siteTitle } = Astro.props;
---
#1613
61493e55
Thanks @ HiDeoo! - Adds newdraft
frontmatter option to exclude a page from production builds.#640
7dc503ea
Thanks @ HiDeoo! - Updates the defaultline-height
from1.8
to1.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
749ddf85
Thanks @ jacobdalamb! - Updatesastro-expressive-code
dependency to the latest minor release (0.35) and exposes a new@ astrojs/starlight/expressive-code/hast
module 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
bd5f1cbd
Thanks @ ncjones! - Adds support for accessing frontmatter data as a variable when using MarkdocPatch Changes
#1788
681a4273
Thanks @ dragomano! - Adds Russian translations for Expressive Code labels#1780
4db6025a
Thanks @ MiahaCybersec! - Adds 1 new icon:signal
#1785
65009c9c
Thanks @ dreyfus92! - Adds 5 new icons:node
,cloudflare
,vercel
,netlify
anddeno
#1786
d05d693a
Thanks @ delucis! - Fixes type inference for i18n strings added by extending the default schema#1777
6949404b
Thanks @ HiDeoo! - Fixes an issue where TypeScript could fail to serialize the frontmatter schema when configured to emit declaration files#1734
4493dcfa
Thanks @ delucis! - Refactors<ThemeSelect>
custom element logic to improve performance#1731
f08b0dff
Thanks @ techfg! - Fixes responding to system color scheme changes when theme isauto
#1793
2616f0c7
Thanks @ Mrahmani71! - Updates the Farsi UI translationsPatch Changes
#1728
0a75680d
Thanks @ delucis! - Adds 1 new icon:pkl
#1709
c5cd1811
Thanks @ HiDeoo! - Fixes a UI strings translation issue for sites configured with a single non-root language different from English.#1723
3b29b3ab
Thanks @ OliverSpeir! - Fixes accessibility by usingaria-selected="false"
for inactive tabs instead of removingaria-selected="true"
in the tablist of Starlight’s<Tabs>
component#1706
f171ac4d
Thanks @ jorenbroekema! - Fixes some minor type errorsNote: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs
Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.