Repo Added
|
Files
59
|
Badge
README BADGES
|
push
github
Bump the dependabot group in /website with 3 updates (#346) Bumps the dependabot group in /website with 3 updates: [@astrojs/starlight](https://github.com/withastro/starlight/tree/HEAD/packages/starlight), [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) and [rehype-mathjax](https://github.com/remarkjs/remark-math). Updates `@astrojs/starlight` from 0.31.1 to 0.32.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/withastro/starlight/releases"><code>@astrojs/starlight</code>'s releases</a>.</em></p> <blockquote> <h2><code>@astrojs/starlight</code><a href="https://github.com/0"><code>@0</code></a>.32.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/withastro/starlight/pull/2390">#2390</a> <a href="https://github.com/withastro/starlight/commit/f493361d7"><code>f493361</code></a> Thanks <a href="https://github.com/delucis"><code>@delucis</code></a>! - Moves route data to <code>Astro.locals</code> instead of passing it down via component props</p> <p>⚠️ <strong>Breaking change:</strong> Previously, all of Starlight’s templating components, including user or plugin overrides, had access to a data object for the current route via <code>Astro.props</code>. This data is now available as <code>Astro.locals.starlightRoute</code> instead.</p> <p>To update, refactor any component overrides you have:</p> <ul> <li>Remove imports of <code>@astrojs/starlight/props</code>, which is now deprecated.</li> <li>Update code that accesses <code>Astro.props</code> to use <code>Astro.locals.starlightRoute</code> instead.</li> <li>Remove any spreading of <code>{...Astro.props}</code> into child components, which is no longer required.</li> </ul> <p>In the following example, a custom override for Starlight’s <code>LastUpdated</code> component is updated for the new style:</p> <pre lang="diff"><code>--- import Default from '@astrojs/starlight/component... (continued)
2566 of 3103 relevant lines covered (82.69%)
0.83 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|