Skip to content
This repository was archived by the owner on Jan 13, 2026. It is now read-only.

Commit 5602b07

Browse files
Bump react-router-dom from 6.16.0 to 6.17.0 in /dashboard (#6957)
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.16.0 to 6.17.0. <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>react-router-dom-v5-compat@6.4.0-pre.15</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.15</li> <li>react-router-dom@6.4.0-pre.15</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.11</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.11</li> <li>react-router-dom@6.4.0-pre.11</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.10</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.10</li> <li>react-router-dom@6.4.0-pre.10</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.9</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.9</li> <li>react-router-dom@6.4.0-pre.9</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.8</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li>react-router@6.4.0-pre.8</li> <li>react-router-dom@6.4.0-pre.8</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.7</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies <ul> <li><code>react-router@6.4.0-pre.7</code></li> <li><code>react-router-dom@6.4.0-pre.7</code></li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.6</h2> <h3>Patch Changes</h3> <ul> <li>44bce3c6: Fix <code>react-router-dom</code> peer dependency version <ul> <li>react-router@6.4.0-pre.6</li> <li>react-router-dom@6.4.0-pre.6</li> </ul> </li> </ul> <h2>react-router-dom-v5-compat@6.4.0-pre.5</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.17.0</h2> <h3>Minor Changes</h3> <ul> <li> <p>Add experimental support for the <a href="https://developer.mozilla.org/en-US/docs/Web/API/ViewTransition">View Transitions API</a> via <code>document.startViewTransition</code> to enable CSS animated transitions on SPA navigations in your application. (<a href="https://redirect.github.com/remix-run/react-router/pull/10916">#10916</a>)</p> <p>The simplest approach to enabling a View Transition in your React Router app is via the new <code>&lt;Link unstable_viewTransition&gt;</code> prop. This will cause the navigation DOM update to be wrapped in <code>document.startViewTransition</code> which will enable transitions for the DOM update. Without any additional CSS styles, you'll get a basic cross-fade animation for your page.</p> <p>If you need to apply more fine-grained styles for your animations, you can leverage the <code>unstable_useViewTransitionState</code> hook which will tell you when a transition is in progress and you can use that to apply classes or styles:</p> <pre lang="jsx"><code>function ImageLink(to, src, alt) { let isTransitioning = unstable_useViewTransitionState(to); return ( &lt;Link to={to} unstable_viewTransition&gt; &lt;img src={src} alt={alt} style={{ viewTransitionName: isTransitioning ? &quot;image-expand&quot; : &quot;&quot;, }} /&gt; &lt;/Link&gt; ); } </code></pre> <p>You can also use the <code>&lt;NavLink unstable_viewTransition&gt;</code> shorthand which will manage the hook usage for you and automatically add a <code>transitioning</code> class to the <code>&lt;a&gt;</code> during the transition:</p> <pre lang="css"><code>a.transitioning img { view-transition-name: &quot;image-expand&quot;; } </code></pre> <pre lang="jsx"><code>&lt;NavLink to={to} unstable_viewTransition&gt; &lt;img src={src} alt={alt} /&gt; &lt;/NavLink&gt; </code></pre> <p>For an example usage of View Transitions with React Router, check out <a href="https://github.com/brophdawg11/react-router-records">our fork</a> of the <a href="https://github.com/Charca/astro-records">Astro Records</a> demo.</p> <p>For more information on using the View Transitions API, please refer to the <a href="https://developer.chrome.com/docs/web-platform/view-transitions/">Smooth and simple transitions with the View Transitions API</a> guide from the Google Chrome team.</p> <p>Please note, that because the <code>ViewTransition</code> API is a DOM API, we now export a specific <code>RouterProvider</code> from <code>react-router-dom</code> with this functionality. If you are importing <code>RouterProvider</code> from <code>react-router</code>, then it will not support view transitions. (<a href="https://redirect.github.com/remix-run/react-router/pull/10928">#10928</a></p> </li> </ul> <h3>Patch Changes</h3> <ul> <li>Log a warning and fail gracefully in <code>ScrollRestoration</code> when <code>sessionStorage</code> is unavailable (<a href="https://redirect.github.com/remix-run/react-router/pull/10848">#10848</a>)</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/edd9ad4957321cfb260cee21ad98aab2becfe250"><code>edd9ad4</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10935">#10935</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/6cfbd0e571018bf1d8722c09d70e394d2602f5be"><code>6cfbd0e</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10934">#10934</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/c48341d6b75f4fd5b0ec60ed32c3c45ebb1e532f"><code>c48341d</code></a> Lift startViewTransition implementation to react-router-dom (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10928">#10928</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/b916689b4a211827cc324cf05994c334e25d380b"><code>b916689</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10931">#10931</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/b09c5d09198b1ee4a8bfbf8a2a8910fc8eed7d2c"><code>b09c5d0</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10924">#10924</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/feebfc0bf10614ba44ff43e2b9c69e22ad07a7a1"><code>feebfc0</code></a> Add startViewTransition support (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10916">#10916</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/da57748644da6400e2d051b2aa004df47beda1cf"><code>da57748</code></a> fix(docs): add backticks to element names (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10874">#10874</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/f8194fdb8e371b715d29d30a82e04a82a7648e9b"><code>f8194fd</code></a> Handle case when session storage is blocked (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom/issues/10848">#10848</a>)</li> <li>See full diff in <a href="https://github.com/remix-run/react-router/commits/react-router-dom@6.17.0/packages/react-router-dom">compare view</a></li> </ul> </details> <br /> <details> <summary>Most Recent Ignore Conditions Applied to This Pull Request</summary> | Dependency Name | Ignore Conditions | | --- | --- | | react-router-dom | [>= 6.8.a, < 6.9] | </details> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-router-dom&package-manager=npm_and_yarn&previous-version=6.16.0&new-version=6.17.0)](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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 686689c commit 5602b07

2 files changed

Lines changed: 16 additions & 16 deletions

File tree

dashboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"react-minimal-pie-chart": "^8.4.0",
5959
"react-monaco-editor": "^0.54.0",
6060
"react-redux": "^7.2.9",
61-
"react-router-dom": "^6.16.0",
61+
"react-router-dom": "^6.17.0",
6262
"react-router-hash-link": "^2.4.3",
6363
"react-tooltip": "^5.21.5",
6464
"react-transition-group": "^4.4.5",

dashboard/yarn.lock

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,10 +2124,10 @@
21242124
redux-thunk "^2.4.2"
21252125
reselect "^4.1.8"
21262126

2127-
"@remix-run/router@1.9.0":
2128-
version "1.9.0"
2129-
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.9.0.tgz#9033238b41c4cbe1e961eccb3f79e2c588328cf6"
2130-
integrity sha512-bV63itrKBC0zdT27qYm6SDZHlkXwFL1xMBuhkn+X7l0+IIhNaH5wuuvZKp6eKhCD4KFhujhfhCT1YxXW6esUIA==
2127+
"@remix-run/router@1.10.0":
2128+
version "1.10.0"
2129+
resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.10.0.tgz#e2170dc2049b06e65bbe883adad0e8ddf8291278"
2130+
integrity sha512-Lm+fYpMfZoEucJ7cMxgt4dYt8jLfbpwRCzAjm9UgSLOkmlqo9gupxt6YX3DY0Fk155NT9l17d/ydi+964uS9Lw==
21312131

21322132
"@rollup/plugin-babel@^5.2.0":
21332133
version "5.3.1"
@@ -12246,13 +12246,13 @@ react-refresh@^0.11.0:
1224612246
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046"
1224712247
integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==
1224812248

12249-
react-router-dom@^6.16.0:
12250-
version "6.16.0"
12251-
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.16.0.tgz#86f24658da35eb66727e75ecbb1a029e33ee39d9"
12252-
integrity sha512-aTfBLv3mk/gaKLxgRDUPbPw+s4Y/O+ma3rEN1u8EgEpLpPe6gNjIsWt9rxushMHHMb7mSwxRGdGlGdvmFsyPIg==
12249+
react-router-dom@^6.17.0:
12250+
version "6.17.0"
12251+
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.17.0.tgz#ea73f89186546c1cf72b10fcb7356d874321b2ad"
12252+
integrity sha512-qWHkkbXQX+6li0COUUPKAUkxjNNqPJuiBd27dVwQGDNsuFBdMbrS6UZ0CLYc4CsbdLYTckn4oB4tGDuPZpPhaQ==
1225312253
dependencies:
12254-
"@remix-run/router" "1.9.0"
12255-
react-router "6.16.0"
12254+
"@remix-run/router" "1.10.0"
12255+
react-router "6.17.0"
1225612256

1225712257
react-router-hash-link@^2.4.3:
1225812258
version "2.4.3"
@@ -12261,12 +12261,12 @@ react-router-hash-link@^2.4.3:
1226112261
dependencies:
1226212262
prop-types "^15.7.2"
1226312263

12264-
react-router@6.16.0:
12265-
version "6.16.0"
12266-
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.16.0.tgz#abbf3d5bdc9c108c9b822a18be10ee004096fb81"
12267-
integrity sha512-VT4Mmc4jj5YyjpOi5jOf0I+TYzGpvzERy4ckNSvSh2RArv8LLoCxlsZ2D+tc7zgjxcY34oTz2hZaeX5RVprKqA==
12264+
react-router@6.17.0:
12265+
version "6.17.0"
12266+
resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.17.0.tgz#7b680c4cefbc425b57537eb9c73bedecbdc67c1e"
12267+
integrity sha512-YJR3OTJzi3zhqeJYADHANCGPUu9J+6fT5GLv82UWRGSxu6oJYCKVmxUcaBQuGm9udpWmPsvpme/CdHumqgsoaA==
1226812268
dependencies:
12269-
"@remix-run/router" "1.9.0"
12269+
"@remix-run/router" "1.10.0"
1227012270

1227112271
react-scripts@^5.0.1:
1227212272
version "5.0.1"

0 commit comments

Comments
 (0)