[Snyk] Upgrade starlight-links-validator from 0.14.3 to 0.17.0 #334
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 starlight-links-validator from 0.14.3 to 0.17.0.
ℹ️ 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 4 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SEMVER-3247795
SNYK-JS-INFLIGHT-6095116
Release notes
Package name: starlight-links-validator
Minor Changes
#108
82f8ec5
Thanks @ HiDeoo! - Adds support for excluding links from validation using a function.When using the function syntax, the function should return
true
for any link that should be excluded from validation orfalse
otherwise. The function will be called for each link to validate and will receive an object containing various properties to help determine whether to exclude the link or not.Check out the
exclude
configuration option documentation for more details and examples.Minor Changes
#104
cbeaa0f
Thanks @ HiDeoo! - Ignores query strings when checking for excluded links.Previously, to exclude links with query strings, you may have needed to rely on fairly loose glob patterns, e.g.
/playground/**
to exclude/playground/
,/playground/?id=foo
and/playground/?id=bar
. With this change, excluding/playground/
will ignore all query strings, so/playground/
,/playground/?id=foo
and/playground/?id=bar
will all be excluded.Patch Changes
88e66a8
Thanks @ HiDeoo! - Fixes a regression with version0.15.0
where theerrorOnLocalLinks
option was not being applied correctly.Minor Changes
#93⚠️ BREAKING CHANGE: The minimum supported version of Starlight is now version
6d7174b
Thanks @ HiDeoo! -0.32.0
.Please use the
@ astrojs/upgrade
command to upgrade your project:#100
b238cb7
Thanks @ HiDeoo! - Adds a newsameSitePolicy
option to configure how external links pointing to the same origin as the one configured in the Astrosite
option should be handled.The current default behavior to ignore all external links remains unchanged. This new option allows to error on such links so they can be rewritten without the origin or to validate them as if they were internal links.
#100
b238cb7
Thanks @ HiDeoo! - Adds a newcomponents
option to define additional components and their props to validate as links on top of the built-in<LinkButton>
and<LinkCard>
Starlight components.Patch Changes
56ea78c
Thanks @ HiDeoo! - Fixes validation issue with the Astrobase
option and theerrorOnFallbackPages
plugin option set tofalse
in a multilingual project.Patch Changes
1ef31b8
Thanks @ DaniFoldi! - Movesmdast-util-mdx-jsx
package to non-dev dependencies to prevent issues in monorepos with hoisting disabled.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:
Summary by Sourcery
Upgrade starlight-links-validator dependency to version 0.17.0
New Features:
Bug Fixes:
Build: