fix(website): update starlight-links-validator 0.12.4 → 0.13.0 (#28760)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator)
| dependencies | minor | [`0.12.4` ->
`0.13.0`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.12.4/0.13.0)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>HiDeoo/starlight-links-validator
(starlight-links-validator)</summary>

###
[`v0.13.0`](https://redirect.github.com/HiDeoo/starlight-links-validator/releases/tag/v0.13.0)

[Compare
Source](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/v0.12.4...v0.13.0)

#####    🚨 Breaking Changes

- Adds errors for local links, e.g. URLs with a hostname of `localhost`
or `127.0.0.1`  -  by
[@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)
[<samp>(80636)</samp>](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/806366c)

In previous versions, such links were silently ignored. They are now
considered as invalid links as they are usually used for development
purposes and should not be present in production.
If you want to preserve the previous behaviour, you can set the
`errorOnLocalLinks` option to `false` in your `astro.config.mjs` file:

    ```ts
    export default defineConfig({
      integrations: [
        starlight({
          plugins: [
            starlightLinksValidator({
              errorOnLocalLinks: false,
            }),
          ],
        }),
      ],
    });
    ```

#####     [View changes on
GitHub](https://redirect.github.com/HiDeoo/starlight-links-validator/compare/v0.12.4...v0.13.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuMyIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInJlbm92YXRlL2NvbnRhaW5lciIsInR5cGUvbWlub3IiXX0=-->
This commit is contained in:
TrueCharts Bot
2024-11-03 13:23:39 +01:00
committed by GitHub
parent c9b75c650d
commit 4496c424c5
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -23,7 +23,7 @@
"sharp": "0.33.5",
"starlight-blog": "0.14.1",
"starlight-image-zoom": "0.8.0",
"starlight-links-validator": "0.12.4",
"starlight-links-validator": "0.13.0",
"tailwindcss": "3.4.14",
"typescript": "5.6.3"
}
@@ -8541,9 +8541,9 @@
}
},
"node_modules/starlight-links-validator": {
"version": "0.12.4",
"resolved": "https://registry.npmjs.org/starlight-links-validator/-/starlight-links-validator-0.12.4.tgz",
"integrity": "sha512-4MJ/BoTpdlKxfCL/pk931TGHYf7kNt812gRyNbhnIdwubjjzUy4J6J57TBY1yXcDVizWjHpGqHrqTeK0QhbemQ==",
"version": "0.13.0",
"resolved": "https://registry.npmjs.org/starlight-links-validator/-/starlight-links-validator-0.13.0.tgz",
"integrity": "sha512-+kG/SO3j5190k7du5dd1Lcj9ZWvrjk9dhpsedEFC8AhfujkwuSkYm0b3u/jl3Yu9mA6zYA2JPlizAr9GtQssRg==",
"license": "MIT",
"dependencies": {
"@types/picomatch": "2.3.3",
+1 -1
View File
@@ -32,7 +32,7 @@
"sharp": "0.33.5",
"starlight-blog": "0.14.1",
"starlight-image-zoom": "0.8.0",
"starlight-links-validator": "0.12.4",
"starlight-links-validator": "0.13.0",
"tailwindcss": "3.4.14",
"typescript": "5.6.3"
}