Skip to content

Commit

Permalink
chore(deps): update dependency starlight-links-validator to ^0.13.0 (#…
Browse files Browse the repository at this point in the history
…1247)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[starlight-links-validator](https://redirect.github.com/HiDeoo/starlight-links-validator)
| [`^0.12.0` ->
`^0.13.0`](https://renovatebot.com/diffs/npm/starlight-links-validator/0.12.3/0.13.0)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/starlight-links-validator/0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/starlight-links-validator/0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/starlight-links-validator/0.12.3/0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/starlight-links-validator/0.12.3/0.13.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### 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)

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

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

#####    🐞 Bug Fixes

- Ignores links in draft pages  -  by
[@&#8203;HiDeoo](https://redirect.github.com/HiDeoo)
[<samp>(da925)</samp>](https://redirect.github.com/HiDeoo/starlight-links-validator/commit/da925d5)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, 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 was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/knope-dev/knope).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xNDIuNCIsInVwZGF0ZWRJblZlciI6IjM4LjE0Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Nov 5, 2024
1 parent 208cf53 commit 8e059bb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/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 docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@astrojs/starlight": "^0.28.0",
"astro": "^4.0.3",
"sharp": "^0.33.0",
"starlight-links-validator": "^0.12.0",
"starlight-links-validator": "^0.13.0",
"typescript": "^5.2.2"
},
"devDependencies": {
Expand Down

0 comments on commit 8e059bb

Please sign in to comment.