mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
Bumps [react-router](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router) from 7.9.5 to 7.9.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/releases">react-router's releases</a>.</em></p> <blockquote> <h2>v7.9.6</h2> <p>See the changelog for release notes: <a href="https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v796">https://github.com/remix-run/react-router/blob/main/CHANGELOG.md#v796</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/remix-run/react-router/blob/main/packages/react-router/CHANGELOG.md">react-router's changelog</a>.</em></p> <blockquote> <h2>7.9.6</h2> <h3>Patch Changes</h3> <ul> <li> <p>[UNSTABLE] Add <code>location</code>/<code>params</code> as arguments to client-side <code>unstable_onError</code> to permit enhanced error reporting. (<a href="https://redirect.github.com/remix-run/react-router/pull/14509">#14509</a>)</p> <p>⚠️ This is a breaking change if you've already adopted <code>unstable_onError</code>. The second <code>errorInfo</code> parameter is now an object with <code>location</code> and <code>params</code>:</p> <pre lang="tsx"><code>// Before function errorHandler(error: unknown, errorInfo?: React.errorInfo) { /*...*/ } <p>// After function errorHandler( error: unknown, info: { location: Location; params: Params; errorInfo?: React.ErrorInfo; }, ) { /<em>...</em>/ } </code></pre></p> </li> <li> <p>Properly handle ancestor thrown middleware errors before <code>next()</code> on fetcher submissions (<a href="https://redirect.github.com/remix-run/react-router/pull/14517">#14517</a>)</p> </li> <li> <p>Fix issue with splat routes interfering with multiple calls to patchRoutesOnNavigation (<a href="https://redirect.github.com/remix-run/react-router/pull/14487">#14487</a>)</p> </li> <li> <p>Normalize double-slashes in <code>resolvePath</code> (<a href="https://redirect.github.com/remix-run/react-router/pull/14529">#14529</a>)</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/remix-run/react-router/commit/e75da95e16ecf625f4e3bbc864b1a0a5202052c2"><code>e75da95</code></a> chore: Update version for release (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14538">#14538</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/6104e1fc91b5b9485573b7b0c17ab17ecda6ca33"><code>6104e1f</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14535">#14535</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/02e65a55daa6f9c0aa88d0de8732330e0b449dad"><code>02e65a5</code></a> Normalize double-slashes in resolvePath (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14529">#14529</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/092c872603c2cba6498144ef988437773ff89438"><code>092c872</code></a> chore: Update version for release (pre) (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14523">#14523</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/cd6eb8d4e034d9ee9038050c53d8b2d46a073988"><code>cd6eb8d</code></a> Fix bug with fetcher submission ancestor-thrown middleware errors (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14517">#14517</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/fc01722e301b909a736fe312ec5bac4c1f5c1c26"><code>fc01722</code></a> Add location/params arguments to client-side unstable_onError (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14509">#14509</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/7c115a6850a0b7652ff40086daec6544a9cb40a1"><code>7c115a6</code></a> Fix splat routes blocking multiple FOW calls (<a href="https://github.com/remix-run/react-router/tree/HEAD/packages/react-router/issues/14487">#14487</a>)</li> <li><a href="https://github.com/remix-run/react-router/commit/89e2bfe8232ad7c24cf610b0998e9028dcfa9ce8"><code>89e2bfe</code></a> chore: format</li> <li>See full diff in <a href="https://github.com/remix-run/react-router/commits/react-router@7.9.6/packages/react-router">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for react-router since your current version.</p> </details> <br /> [](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>