Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @astrojs/starlight from 0.16.0 to 0.22.2 #64

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

therev3l4
Copy link
Owner

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

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

  • The recommended version was released on a month ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Improper Access Control
SNYK-JS-VITE-6531286
402 Proof of Concept
Release notes
Package name: @astrojs/starlight
  • 0.22.2 - 2024-05-06

    Patch Changes

  • 0.22.1 - 2024-05-01

    Patch Changes

    • 1c0fc384 Thanks @ HiDeoo! - Fixes an issue where the siteTitle property would not be set when using the <StarlightPage /> component.
  • 0.22.0 - 2024-04-30

    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 title

      ⚠️ Potentially breaking change: The shape of the title 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 new siteTitle 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 new draft frontmatter option to exclude a page from production builds.

    • #640 7dc503ea Thanks @ HiDeoo! - Updates the default line-height from 1.8 to 1.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:

      :root {
      	--sl-line-height: 1.8;
      }
    • #1720 749ddf85 Thanks @ jacobdalamb! - Updates astro-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 of hast.

      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 Markdoc

    Patch Changes

  • 0.21.5 - 2024-04-09
  • 0.21.4 - 2024-04-05
  • 0.21.3 - 2024-04-01
  • 0.21.2 - 2024-03-20
  • 0.21.1 - 2024-03-04
  • 0.21.0 - 2024-03-01
  • 0.20.1 - 2024-02-24
  • 0.20.0 - 2024-02-23
  • 0.19.1 - 2024-02-20
  • 0.19.0 - 2024-02-16
  • 0.18.1 - 2024-02-14
  • 0.18.0 - 2024-02-09
  • 0.17.4 - 2024-02-08
  • 0.17.3 - 2024-02-06
  • 0.17.2 - 2024-01-31
  • 0.17.1 - 2024-01-29
  • 0.17.0 - 2024-01-26
  • 0.16.0 - 2024-01-19
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.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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.16.0 to 0.22.2.

See this package in npm:
@astrojs/starlight

See this project in Snyk:
https://app.snyk.io/org/waiphyoaung1050223/project/b04a5d55-c58a-456b-9d09-531f47ad64af?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.

2 participants