Skip to content

Conversation

@nerdy-tech-com-gitub
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @astrojs/starlight from 0.34.8 to 0.36.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 7 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: @astrojs/starlight
  • 0.36.2 - 2025-10-31

    Patch Changes

  • 0.36.1 - 2025-10-15

    Patch Changes

  • 0.36.0 - 2025-09-19

    Minor Changes

    • #3427 c3b2d0f Thanks @ delucis! - Fixes styling of labels that wrap across multiple lines in <Tabs> component

      ⚠️ Potentially breaking change: Tab labels now have a narrower line-height and additional vertical padding. If you have custom CSS targetting the <Tabs> component, you may want to double check the visual appearance of your tabs when updating.

      If you want to preserve the previous styling, you can add the following custom CSS to your site:

      .tab > [role='tab'] {
        line-height: var(--sl-line-height);
        padding-block: 0;
      }
    • #3380 3364af3 Thanks @ HiDeoo! - Makes head entry parsing stricter in Starlight config and content frontmatter.

      ⚠️ Potentially breaking change: Previously Starlight would accept a head entry for a meta tag defining some content which generates invalid HTML as <meta> is a void element which cannot have any child nodes. Now, it is an error to define a meta tag including some content.

      If you see errors after updating, look for head entries in the Starlight configuration in the astro.config.mjs file or in the frontmatter of your content files that include a content property for a meta tag. To fix the error, move the content property to the attrs object with at least an additional attribute to identify the kind of metadata it represents:

      head: {
        tag: 'meta',
      - content: 'foo',
        attrs: {
          name: 'my-meta',
      +   content: 'foo',
        },
      },
    • #3340 2018c31 Thanks @ HiDeoo! - Adds missing vertical spacing between Markdown content and UI Framework components using client directives.

      ⚠️ Potentially breaking change: By default, Starlight applies some vertical spacing (--sl-content-gap-y) between Markdown content blocks. This change introduces similar spacing between Markdown content blocks and UI Framework components using client directives which was not present before.

      If you were relying on the previous behavior, you can manually override the spacing by manually specifying the top margin on the component using custom CSS, e.g. by relying on a CSS class to target the component.

      .my-custom-component {
        margin-top: 0;
      }

    Patch Changes

    • #3423 a0d0670 Thanks @ andersk! - Fixes HTML validity in sidebar groups by ensuring <summary> is the first child of <details>
  • 0.35.3 - 2025-09-13

    Patch Changes

  • 0.35.2 - 2025-07-29

    Patch Changes

    • #3341 10f6fe2 Thanks @ HiDeoo! - Prevents potential build issues with the Astro Cloudflare adapter due to the dependency on Node.js builtins.

    • #3327 bf58c60 Thanks @ delucis! - Fixes a routing bug for docs pages with a slug authored with non-normalized composition. This could occur for filenames containing diacritics in some circumstances, causing 404s.

  • 0.35.1 - 2025-07-18
  • 0.35.0 - 2025-07-16
  • 0.34.8 - 2025-07-16
from @astrojs/starlight GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade @astrojs/starlight from 0.34.8 to 0.36.2.

See this package in npm:
@astrojs/starlight

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/27d60f0d-8a4e-4ea4-9359-2d1b28be776c?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants