Skip to content

Commit

Permalink
fix(website): update starlight-links-validator 0.12.4 → 0.13.0 (#28760)
Browse files Browse the repository at this point in the history
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=-->
  • Loading branch information
truecharts-admin authored Nov 3, 2024
1 parent c9b75c6 commit 4496c42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions website/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down

0 comments on commit 4496c42

Please sign in to comment.