Commit e8e87c4
Merge #1203
1203: Bump react-router-dom from 6.10.0 to 6.14.2 r=bidoubiwa a=dependabot[bot]
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.10.0 to 6.14.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router-dom's releases</a>.</em></p>
<blockquote>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies
<ul>
<li><code>[email protected]</code></li>
<li><code>[email protected]</code></li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<h3>Patch Changes</h3>
<ul>
<li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version
<ul>
<li>[email protected]</li>
<li>[email protected]</li>
</ul>
</li>
</ul>
<h2>[email protected]</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md">react-router-dom's changelog</a>.</em></p>
<blockquote>
<h2>6.14.2</h2>
<h3>Patch Changes</h3>
<ul>
<li>Properly decode element id when emulating hash scrolling via <code><ScrollRestoration></code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10682">#10682</a>)</li>
<li>Add missing <code><Form state></code> prop to populate <code>history.state</code> on submission navigations (<a href="https://redirect.github.com/remix-run/react-router/pull/10630">#10630</a>)</li>
<li>Support proper hydration of <code>Error</code> subclasses such as <code>ReferenceError</code>/<code>TypeError</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10633">#10633</a>)</li>
<li>Updated dependencies:
<ul>
<li><code>`@remix-run/[email protected]</code></li>`
<li><code>[email protected]</code></li>
</ul>
</li>
</ul>
<h2>6.14.1</h2>
<h3>Patch Changes</h3>
<ul>
<li>Updated dependencies:
<ul>
<li><code>[email protected]</code></li>
<li><code>`@remix-run/[email protected]</code></li>`
</ul>
</li>
</ul>
<h2>6.14.0</h2>
<h3>Minor Changes</h3>
<ul>
<li>
<p>Add support for <code>application/json</code> and <code>text/plain</code> encodings for <code>useSubmit</code>/<code>fetcher.submit</code>. To reflect these additional types, <code>useNavigation</code>/<code>useFetcher</code> now also contain <code>navigation.json</code>/<code>navigation.text</code> and <code>fetcher.json</code>/<code>fetcher.text</code> which include the json/text submission if applicable (<a href="https://redirect.github.com/remix-run/react-router/pull/10413">#10413</a>)</p>
<pre lang="jsx"><code>// The default behavior will still serialize as FormData
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit({ key: "value" }, { method: "post" });
// navigation.formEncType => "application/x-www-form-urlencoded"
// navigation.formData => FormData instance
}
<p>async function action({ request }) {
// request.headers.get("Content-Type") => "application/x-www-form-urlencoded"
// await request.formData() => FormData instance
}
</code></pre></p>
<pre lang="js"><code>// Opt-into JSON encoding with `encType: "application/json"`
function Component() {
let navigation = useNavigation();
let submit = useSubmit();
submit({ key: "value" }, { method: "post", encType: "application/json" });
// navigation.formEncType => "application/json"
// navigation.json => { key: "value" }
}
</code></pre>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/remix-run/react-router/commit/1acea8b2759a68e939cd163c046e02717a24f540"><code>1acea8b</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10711">#10711</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/a9d12638c8e8e24be04a98d13b98680edf6681e2"><code>a9d1263</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10710">#10710</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/3cda182074fa5ec21f97fac293ff6e809ec0796f"><code>3cda182</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10692">#10692</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/4e4c08a76ed1bfaae68a45517cad64139ed8d3db"><code>4e4c08a</code></a> Properly decode element id when emulating hash scrolling (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10682">#10682</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/bbc77157eb48c46cd3f8ffeddb6124effdb80c75"><code>bbc7715</code></a> Add missing <Form state> prop (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10630">#10630</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/499af9a740f571be15257a47f7efa633ac042450"><code>499af9a</code></a> Merge branch 'release-next' into dev</li>
<li><a href="https://github.com/remix-run/react-router/commit/8be5e51772b2953b67bec739387f8192c57949f5"><code>8be5e51</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10659">#10659</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/1f06a02acfc45971ce7b9b69025d399fe0a4ae56"><code>1f06a02</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10658">#10658</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/af41cdacb511a1d13111d649c0a0ae7efee3f582"><code>af41cda</code></a> Hydrate proper error type for subclasses of Error (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10633">#10633</a>)</li>
<li><a href="https://github.com/remix-run/react-router/commit/cbda9cff254e682e8b42b15346e0249b63c7d647"><code>cbda9cf</code></a> Fix issue with reused blockers on subsequent navigations (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10656">#10656</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
You can trigger a rebase of this PR by commenting ``@dependabot` rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- ``@dependabot` rebase` will rebase this PR
- ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it
- ``@dependabot` merge` will merge this PR after your CI passes on it
- ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it
- ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging
- ``@dependabot` reopen` will reopen this PR if it is closed
- ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2 files changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2749 | 2749 | | |
2750 | 2750 | | |
2751 | 2751 | | |
2752 | | - | |
2753 | | - | |
2754 | | - | |
2755 | | - | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
| 2755 | + | |
2756 | 2756 | | |
2757 | 2757 | | |
2758 | 2758 | | |
| |||
12371 | 12371 | | |
12372 | 12372 | | |
12373 | 12373 | | |
12374 | | - | |
12375 | | - | |
12376 | | - | |
12377 | | - | |
| 12374 | + | |
| 12375 | + | |
| 12376 | + | |
| 12377 | + | |
12378 | 12378 | | |
12379 | | - | |
12380 | | - | |
| 12379 | + | |
| 12380 | + | |
12381 | 12381 | | |
12382 | | - | |
12383 | | - | |
12384 | | - | |
12385 | | - | |
| 12382 | + | |
| 12383 | + | |
| 12384 | + | |
| 12385 | + | |
12386 | 12386 | | |
12387 | | - | |
| 12387 | + | |
12388 | 12388 | | |
12389 | 12389 | | |
12390 | 12390 | | |
| |||
0 commit comments