0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00

Update dependency react-router to v7.1.4 (#22086)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://redirect.github.com/remix-run/react-router)
([source](https://redirect.github.com/remix-run/react-router/tree/HEAD/packages/react-router))
| [`7.1.3` ->
`7.1.4`](https://renovatebot.com/diffs/npm/react-router/7.1.3/7.1.4) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/react-router/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/react-router/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/react-router/7.1.3/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/react-router/7.1.3/7.1.4?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>remix-run/react-router (react-router)</summary>

###
[`v7.1.4`](https://redirect.github.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#714)

[Compare
Source](https://redirect.github.com/remix-run/react-router/compare/react-router@7.1.3...react-router@7.1.4)

##### Patch Changes

- Internal reorg to clean up some duplicated route module types
([#&#8203;12799](https://redirect.github.com/remix-run/react-router/pull/12799))

- Properly handle status codes that cannot have a body in single fetch
responses (204, etc.)
([#&#8203;12760](https://redirect.github.com/remix-run/react-router/pull/12760))

- Stop erroring on resource routes that return raw strings/objects and
instead serialize them as `text/plain` or `application/json` responses
([#&#8203;12848](https://redirect.github.com/remix-run/react-router/pull/12848))

- This only applies when accessed as a resource route without the
`.data` extension
- When accessed from a Single Fetch `.data` request, they will still be
encoded via `turbo-stream`

- REMOVE: limit matchRoutes optimization to client side
([#&#8203;12882](https://redirect.github.com/remix-run/react-router/pull/12882))

- Optimize Lazy Route Discovery path discovery to favor a single
`querySelectorAll` call at the `body` level instead of many calls at the
sub-tree level
([#&#8203;12731](https://redirect.github.com/remix-run/react-router/pull/12731))

- - Properly bubble headers as `errorHeaders` when throwing a `data()`
result
([#&#8203;12846](https://redirect.github.com/remix-run/react-router/pull/12846))
- Avoid duplication of `Set-Cookie` headers could be duplicated if also
returned from `headers`

- Optimize route matching by skipping redundant `matchRoutes` calls when
possible
([#&#8203;12800](https://redirect.github.com/remix-run/react-router/pull/12800))

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, 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/TryGhost/Ghost).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNDUuMCIsInVwZGF0ZWRJblZlciI6IjM5LjE0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
renovate[bot] 2025-01-30 17:55:28 +00:00 committed by GitHub
parent 4e4651ae07
commit 6e6d6d2230
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -91,7 +91,7 @@
"@vitejs/plugin-react": "4.2.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router": "7.1.3",
"react-router": "7.1.4",
"vite": "4.5.3",
"vite-plugin-css-injected-by-js": "^3.3.0",
"vite-plugin-svgr": "3.3.0",

View file

@ -27590,10 +27590,10 @@ react-remove-scroll@^2.6.1:
use-callback-ref "^1.3.3"
use-sidecar "^1.1.2"
react-router@7.1.3:
version "7.1.3"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.1.3.tgz#6c15c28838b799cb3058943e8e8015dbd6c16c7b"
integrity sha512-EezYymLY6Guk/zLQ2vRA8WvdUhWFEj5fcE3RfWihhxXBW7+cd1LsIiA3lmx+KCmneAGQuyBv820o44L2+TtkSA==
react-router@7.1.4:
version "7.1.4"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.1.4.tgz#dcac613c1acd623f8aa314e7ea54db88c7968b1e"
integrity sha512-aJWVrKoLI0nIK1lfbTU3d5al1ZEUiwtSus/xjYL8K5sv2hyPesiOIojHM7QnaNLVtroOB1McZsWk37fMQVoc6A==
dependencies:
"@types/cookie" "^0.6.0"
cookie "^1.0.1"