Browse Source

Merge #884

884: Bump react-router-dom from 6.0.2 to 6.1.1 in /taker-frontend r=thomaseizinger a=dependabot[bot]

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.0.2 to 6.1.1.
<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>v6.1.1</h2>
<p>In v6.1.0 we inadvertently shipped a new, undocumented API that will likely introduce bugs (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/7586">#7586</a>). We have flagged <code>HistoryRouter</code> as <code>unstable_HistoryRouter</code>, as this API will likely need to change before a new major release.</p>
<p><strong>Full Changelog</strong>: <a href="https://github.com/remix-run/react-router/compare/v6.1.0...v6.1.1">https://github.com/remix-run/react-router/compare/v6.1.0...v6.1.1</a></p>
<h2>v6.1.0</h2>
<h2>🐛 Bug fixes</h2>
<ul>
<li>Fixed a bug that broke support for base64 encoded IDs on nested routes (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8291">#8291</a>)</li>
</ul>
<h2> Features</h2>
<ul>
<li><code>&lt;Outlet&gt;</code> can now receive a <code>context</code> prop. This value is passed to child routes and is accessible via the new <code>useOutletContext</code> hook. See <a href="https://reactrouter.com/docs/en/v6/api#useoutletcontext">the API docs</a> for details. (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8461">#8461</a>)</li>
<li><code>&lt;NavLink&gt;</code> can now receive a child function for access to its props. (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8164">#8164</a>)</li>
</ul>
<h2>💅 Enhancements</h2>
<ul>
<li>Improved TypeScript signature for <code>useMatch</code> and <code>matchPath</code>. For example, when you call <code>useMatch(&quot;foo/:bar/:baz&quot;)</code>, the path is parsed and the return type will be <code>PathMatch&lt;&quot;bar&quot; | &quot;baz&quot;&gt;</code>. (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8030">#8030</a>)</li>
<li>A few error message improvements (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8202">#8202</a>)</li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/rwieruch"><code>`@​rwieruch</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8244">remix-run/react-router#8244</a></li>
<li><a href="https://github.com/codeiotic"><code>`@​codeiotic</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8247">remix-run/react-router#8247</a></li>
<li><a href="https://github.com/Sannnao"><code>`@​Sannnao</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8263">remix-run/react-router#8263</a></li>
<li><a href="https://github.com/mattmazzola"><code>`@​mattmazzola</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8255">remix-run/react-router#8255</a></li>
<li><a href="https://github.com/ngokevin"><code>`@​ngokevin</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8267">remix-run/react-router#8267</a></li>
<li><a href="https://github.com/TimisRobert"><code>`@​TimisRobert</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8269">remix-run/react-router#8269</a></li>
<li><a href="https://github.com/mikeldking"><code>`@​mikeldking</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8279">remix-run/react-router#8279</a></li>
<li><a href="https://github.com/fishmandev"><code>`@​fishmandev</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8289">remix-run/react-router#8289</a></li>
<li><a href="https://github.com/rjerue"><code>`@​rjerue</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8304">remix-run/react-router#8304</a></li>
<li><a href="https://github.com/rockingskier"><code>`@​rockingskier</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8314">remix-run/react-router#8314</a></li>
<li><a href="https://github.com/arinthros"><code>`@​arinthros</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8337">remix-run/react-router#8337</a></li>
<li><a href="https://github.com/noisypigeon"><code>`@​noisypigeon</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8361">remix-run/react-router#8361</a></li>
<li><a href="https://github.com/elylucas"><code>`@​elylucas</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8368">remix-run/react-router#8368</a></li>
<li><a href="https://github.com/paulsmithkc"><code>`@​paulsmithkc</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8357">remix-run/react-router#8357</a></li>
<li><a href="https://github.com/sanketshah19"><code>`@​sanketshah19</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8372">remix-run/react-router#8372</a></li>
<li><a href="https://github.com/JakubDrozd"><code>`@​JakubDrozd</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8402">remix-run/react-router#8402</a></li>
<li><a href="https://github.com/markivancho"><code>`@​markivancho</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8414">remix-run/react-router#8414</a></li>
<li><a href="https://github.com/turansky"><code>`@​turansky</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8420">remix-run/react-router#8420</a></li>
<li><a href="https://github.com/shivamsinghchahar"><code>`@​shivamsinghchahar</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8423">remix-run/react-router#8423</a></li>
<li><a href="https://github.com/petersendidit"><code>`@​petersendidit</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8436">remix-run/react-router#8436</a></li>
<li><a href="https://github.com/Ajayff4"><code>`@​Ajayff4</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8373">remix-run/react-router#8373</a></li>
<li><a href="https://github.com/RobHannay"><code>`@​RobHannay</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8455">remix-run/react-router#8455</a></li>
<li><a href="https://github.com/kddnewton"><code>`@​kddnewton</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8030">remix-run/react-router#8030</a></li>
<li><a href="https://github.com/brockross"><code>`@​brockross</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8462">remix-run/react-router#8462</a></li>
<li><a href="https://github.com/sergiodxa"><code>`@​sergiodxa</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8164">remix-run/react-router#8164</a></li>
<li><a href="https://github.com/baozouai"><code>`@​baozouai</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8171">remix-run/react-router#8171</a></li>
<li><a href="https://github.com/liuhanqu"><code>`@​liuhanqu</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/remix-run/react-router/pull/8374">remix-run/react-router#8374</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/remix-run/react-router/compare/v6.0.1...v6.1.0">https://github.com/remix-run/react-router/compare/v6.0.1...v6.1.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="cc433e0178"><code>cc433e0</code></a> Version 6.1.1</li>
<li><a href="8e3fdb5263"><code>8e3fdb5</code></a> chore: comments</li>
<li><a href="746a61449c"><code>746a614</code></a> fix: flag <code>HistoryRouter</code> as unstable</li>
<li><a href="f909895506"><code>f909895</code></a> Version 6.1.0</li>
<li><a href="17f8e8e977"><code>17f8e8e</code></a> Use <code>Pick</code> instead of <code>Omit</code> (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8374">#8374</a>)</li>
<li><a href="75f8e2d3fb"><code>75f8e2d</code></a> feat: Allow NavLink to receive a children function (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/8164">#8164</a>)</li>
<li><a href="11aad9d1b3"><code>11aad9d</code></a> [v6] Add &lt;HistoryRouter&gt; for standalone history objects (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/7586">#7586</a>)</li>
<li><a href="744d03773c"><code>744d037</code></a> Version 6.0.2</li>
<li>See full diff in <a href="https://github.com/remix-run/react-router/commits/v6.1.1/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.0.2&new-version=6.1.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
test-force-close-without-fake-clock
bors[bot] 3 years ago
committed by GitHub
parent
commit
984794ebd0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      taker-frontend/package.json
  2. 18
      taker-frontend/yarn.lock

2
taker-frontend/package.json

@ -28,7 +28,7 @@
"react-dom": "^17.0.2", "react-dom": "^17.0.2",
"react-icons": "^4.3.1", "react-icons": "^4.3.1",
"react-refresh": "^0.11.0", "react-refresh": "^0.11.0",
"react-router-dom": "6.0.2", "react-router-dom": "6.1.1",
"react-scripts": "4.0.3", "react-scripts": "4.0.3",
"react-sse-hooks": "^1.0.5", "react-sse-hooks": "^1.0.5",
"react-use-websocket": "^2.9.1", "react-use-websocket": "^2.9.1",

18
taker-frontend/yarn.lock

@ -10692,18 +10692,18 @@ react-remove-scroll@2.4.1:
use-callback-ref "^1.2.3" use-callback-ref "^1.2.3"
use-sidecar "^1.0.1" use-sidecar "^1.0.1"
react-router-dom@6.0.2: react-router-dom@6.1.1:
version "6.0.2" version "6.1.1"
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.0.2.tgz#860cefa697b9d4965eced3f91e82cdbc5995f3ad" resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.1.1.tgz#ed59376ff9115bc49227e87982a32e91e9530ca3"
integrity sha512-cOpJ4B6raFutr0EG8O/M2fEoyQmwvZWomf1c6W2YXBZuFBx8oTk/zqjXghwScyhfrtnt0lANXV2182NQblRxFA== integrity sha512-O3UH89DI4o+swd2q6lF4dSmpuNCxwkUXcj0zAFcVc1H+YoPE6T7uwoFMX0ws1pUvCY8lYDucFpOqCCdal6VFzg==
dependencies: dependencies:
history "^5.1.0" history "^5.1.0"
react-router "6.0.2" react-router "6.1.1"
react-router@6.0.2: react-router@6.1.1:
version "6.0.2" version "6.1.1"
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.0.2.tgz#bd2b0fa84fd1d152671e9f654d9c0b1f5a7c86da" resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.1.1.tgz#16f41bf54e87d995bcd4d447720a693f77d8fcb9"
integrity sha512-8/Wm3Ed8t7TuedXjAvV39+c8j0vwrI5qVsYqjFr5WkJjsJpEvNSoLRUbtqSEYzqaTUj1IV+sbPJxvO+accvU0Q== integrity sha512-55o96RiDZmC0uD17DPqVmzzfdNd2Dc+EjkYvMAmHl43du/GItaTdFr5WwjTryNWPXZ+OOVQxQhwAX25UwxpHtw==
dependencies: dependencies:
history "^5.1.0" history "^5.1.0"

Loading…
Cancel
Save