Skip to content

Commit e8e87c4

Browse files
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>&lt;ScrollRestoration&gt;</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/10682">#10682</a>)</li> <li>Add missing <code>&lt;Form state&gt;</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: &quot;value&quot; }, { method: &quot;post&quot; }); // navigation.formEncType =&gt; &quot;application/x-www-form-urlencoded&quot; // navigation.formData =&gt; FormData instance } <p>async function action({ request }) { // request.headers.get(&quot;Content-Type&quot;) =&gt; &quot;application/x-www-form-urlencoded&quot; // await request.formData() =&gt; FormData instance } </code></pre></p> <pre lang="js"><code>// Opt-into JSON encoding with `encType: &quot;application/json&quot;` function Component() { let navigation = useNavigation(); let submit = useSubmit(); submit({ key: &quot;value&quot; }, { method: &quot;post&quot;, encType: &quot;application/json&quot; }); // navigation.formEncType =&gt; &quot;application/json&quot; // navigation.json =&gt; { key: &quot;value&quot; } } </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 &lt;Form state&gt; 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 /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router-dom&package-manager=npm_and_yarn&previous-version=6.10.0&new-version=6.14.2)](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 parents 2947a6e + fa4ced2 commit e8e87c4

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

playgrounds/local-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"react": "^17.0.1",
3030
"react-dom": "^17.0.1",
3131
"react-instantsearch-dom": "^6.39.1",
32-
"react-router-dom": "^6.10.0"
32+
"react-router-dom": "^6.14.2"
3333
},
3434
"devDependencies": {
3535
"@babel/core": "^7.20.5",

yarn.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2749,10 +2749,10 @@
27492749
"@parcel/utils" "^1.11.0"
27502750
physical-cpu-count "^2.0.0"
27512751

2752-
"@remix-run/router@1.5.0":
2753-
version "1.5.0"
2754-
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.5.0.tgz#57618e57942a5f0131374a9fdb0167e25a117fdc"
2755-
integrity sha512-bkUDCp8o1MvFO+qxkODcbhSqRa6P2GXgrGZVpt0dCXNW2HCSCqYI0ZoAqEOSAjRWmmlKcYgFvN4B4S+zo/f8kg==
2752+
"@remix-run/router@1.7.2":
2753+
version "1.7.2"
2754+
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.7.2.tgz#cba1cf0a04bc04cb66027c51fa600e9cbc388bc8"
2755+
integrity sha512-7Lcn7IqGMV+vizMPoEl5F0XDshcdDYtMI6uJLQdQz5CfZAwy3vvGKYSUk789qndt5dEC4HfSjviSYlSoHGL2+A==
27562756

27572757
"@rollup/plugin-commonjs@^17.1.0":
27582758
version "17.1.0"
@@ -12371,20 +12371,20 @@ react-is@^18.0.0:
1237112371
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b"
1237212372
integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==
1237312373

12374-
react-router-dom@^6.10.0:
12375-
version "6.10.0"
12376-
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.10.0.tgz#090ddc5c84dc41b583ce08468c4007c84245f61f"
12377-
integrity sha512-E5dfxRPuXKJqzwSe/qGcqdwa18QiWC6f3H3cWXM24qj4N0/beCIf/CWTipop2xm7mR0RCS99NnaqPNjHtrAzCg==
12374+
react-router-dom@^6.14.2:
12375+
version "6.14.2"
12376+
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.14.2.tgz#88f520118b91aa60233bd08dbd3fdcaea3a68488"
12377+
integrity sha512-5pWX0jdKR48XFZBuJqHosX3AAHjRAzygouMTyimnBPOLdY3WjzUSKhus2FVMihUFWzeLebDgr4r8UeQFAct7Bg==
1237812378
dependencies:
12379-
"@remix-run/router" "1.5.0"
12380-
react-router "6.10.0"
12379+
"@remix-run/router" "1.7.2"
12380+
react-router "6.14.2"
1238112381

12382-
react-router@6.10.0:
12383-
version "6.10.0"
12384-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.10.0.tgz#230f824fde9dd0270781b5cb497912de32c0a971"
12385-
integrity sha512-Nrg0BWpQqrC3ZFFkyewrflCud9dio9ME3ojHCF/WLsprJVzkq3q3UeEhMCAW1dobjeGbWgjNn/PVF6m46ANxXQ==
12382+
react-router@6.14.2:
12383+
version "6.14.2"
12384+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.14.2.tgz#1f60994d8c369de7b8ba7a78d8f7ec23df76b300"
12385+
integrity sha512-09Zss2dE2z+T1D03IheqAFtK4UzQyX8nFPWx6jkwdYzGLXd5ie06A6ezS2fO6zJfEb/SpG6UocN2O1hfD+2urQ==
1238612386
dependencies:
12387-
"@remix-run/router" "1.5.0"
12387+
"@remix-run/router" "1.7.2"
1238812388

1238912389
react@^17.0.1:
1239012390
version "17.0.2"

0 commit comments

Comments
 (0)