[Snyk] Upgrade: , sharp, astro, sass #230
Open
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.
Snyk has created this PR to upgrade multiple dependencies.
👯 The following dependencies are linked and will therefore be updated together.ℹ️ 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.
@astrojs/starlight
from 0.16.0 to 0.26.1 | 41 versions ahead of your current version | a month ago
on 2024-08-16
sharp
from 0.32.6 to 0.33.5 | 24 versions ahead of your current version | a month ago
on 2024-08-16
astro
from 4.2.4 to 4.14.5 | 92 versions ahead of your current version | 24 days ago
on 2024-08-22
sass
from 1.69.6 to 1.77.8 | 17 versions ahead of your current version | 2 months ago
on 2024-07-11
Issues fixed by the recommended upgrade:
SNYK-JS-BRACES-6838727
SNYK-JS-DSET-7116691
SNYK-JS-MICROMATCH-6838728
SNYK-JS-ASTRO-7547139
SNYK-JS-VITE-6531286
Release notes
Package name: @astrojs/starlight
Patch Changes
74d4716
Thanks @ HiDeoo! - Fixes a sidebar persistence issue when navigating between pages with different sidebar content.Minor Changes
#1784
68f56a7
Thanks @ HiDeoo! - Adds<LinkButton>
component for visually distinct and emphasized call to action links#2150
9368494
Thanks @ delucis! - Adds state persistence across page navigations to the main site sidebar#2087
caa84ea
Thanks @ HiDeoo! - Adds persistence to synced<Tabs>
so that a user's choices are reflected across page navigations.#2051
ec3b579
Thanks @ HiDeoo! - Adds a guideline to the last step of the<Steps>
component.If you want to preserve the previous behaviour and hide the guideline on final steps, you can add the following custom CSS to your site:
#1784
68f56a7
Thanks @ HiDeoo! - Changes the hero component action button default variant fromminimal
toprimary
.variant
will need to be updated to include thevariant
property with the valueminimal
.hero: actions: - text: View on GitHub link: https://github.com/astronaut/my-project icon: external + variant: minimal
#2168⚠️ BREAKING CHANGE: Updates the
e044fee
Thanks @ HiDeoo! -<StarlightPage />
componentsidebar
prop to accept an array ofSidebarItem
s like the main Starlightsidebar
configuration inastro.config.mjs
.This change simplifies the definition of sidebar items in the
<StarlightPage />
component, allows for shared sidebar configuration between the globalsidebar
option and<StarlightPage />
component, and also enables the usage of autogenerated sidebar groups with the<StarlightPage />
component.If you are using the
<StarlightPage />
component with a customsidebar
configuration, you will need to update thesidebar
prop to an array ofSidebarItem
objects.For example, the following custom page with a custom
sidebar
configuration defines a “Resources” group with a “New” badge, a link to the “Showcase” page which is part of thedocs
content collection, and a link to the Starlight website:// src/pages/custom-page/example.astro
---
<StarlightPage
frontmatter={{ title: 'My custom page' }}
sidebar={[
{
type: 'group',
label: 'Resources',
badge: { text: 'New' },
items: [
{ type: 'link', label: 'Showcase', href: '/showcase/' },
{
type: 'link',
label: 'Starlight',
href: 'https://starlight.astro.build/',
},
],
},
]}
>
<p>This is a custom page with a custom component.</p>
</StarlightPage>
This configuration will now need to be updated to the following:
// src/pages/custom-page/example.astro
---
<StarlightPage
frontmatter={{ title: 'My custom page' }}
sidebar={[
{
label: 'Resources',
badge: { text: 'New' },
items: [
'showcase',
{ label: 'Starlight', link: 'https://starlight.astro.build/' },
],
},
]}
>
<p>This is a custom page with a custom component.</p>
</StarlightPage>
See the “Sidebar Navigation” guide to learn more about the available options for customizing the sidebar.
Patch Changes
#2171
c8258d7
Thanks @ delucis! - Improves build performance slightly for bigger sites#2199
91557fd
Thanks @ connorjs! - Adds Azure DevOps (azureDevOps
) icon for use in social links.Patch Changes
#2155
8bed886
Thanks @ delucis! - Improves page load performance on slower devices#2167
9ac7725
Thanks @ delucis! - Fixes an issue detecting the built-in locale when running Starlight in a web container environment on Firefox#2166
4f12049
Thanks @ delucis! - Updates@ astrojs/mdx
,@ astrojs/sitemap
,astro-expressive-code
,unified
, andvfile
dependencies to the latest versionPackage name: sharp
No content.
No content.
No content.
No content.
No content.
No content.
No content.
No content.
No content.
No content.
Package name: astro
Minor Changes
7d70ba3
Thanks @ florian-lefebvre! - Updates the default Astro config with// @ ts-check
if the Typescript preset isstrict
orstrictest
Package name: sass
To install Sass 1.77.8, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
See the full changelog for changes in earlier releases.
See sass/sass#3885
…264)
To install Sass 1.77.5, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
@ extend
.See the full changelog for changes in earlier releases.
To install Sass 1.77.4, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Embedded Sass
Support passing
Version
input forfatalDeprecations
as string over embedded protocol.Fix a bug in the JS Embedded Host where
Version
could be incorrectly accepted as input forsilenceDeprecations
andfutureDeprecations
in pure JS.See the full changelog for changes in earlier releases.
Important
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: