From c69e5d03afa2bfe6b459df670926d5a4d86bdca0 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 27 Jun 2023 21:44:19 +0000
Subject: [PATCH] chore(deps): update react-router monorepo to v6.13.0 (#4066)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [react-router](https://togithub.com/remix-run/react-router) |
[`6.11.2` ->
`6.13.0`](https://renovatebot.com/diffs/npm/react-router/6.11.2/6.13.0)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/compatibility-slim/6.11.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router/6.13.0/confidence-slim/6.11.2)](https://docs.renovatebot.com/merge-confidence/)
|
| [react-router-dom](https://togithub.com/remix-run/react-router) |
[`6.11.2` ->
`6.13.0`](https://renovatebot.com/diffs/npm/react-router-dom/6.11.2/6.13.0)
|
[![age](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/compatibility-slim/6.11.2)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/react-router-dom/6.13.0/confidence-slim/6.11.2)](https://docs.renovatebot.com/merge-confidence/)
|
---
### Release Notes
remix-run/react-router (react-router)
###
[`v6.13.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6130)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.12.1...react-router@6.13.0)
##### Minor Changes
- Move
[`React.startTransition`](https://react.dev/reference/react/startTransition)
usage behind a [future
flag](https://reactrouter.com/en/main/guides/api-development-strategy)
to avoid issues with existing incompatible `Suspense` usages. We
recommend folks adopting this flag to be better compatible with React
concurrent mode, but if you run into issues you can continue without the
use of `startTransition` until v7. Issues usually boils down to creating
net-new promises during the render cycle, so if you run into issues you
should either lift your promise creation out of the render cycle or put
it behind a `useMemo`.
([#10596](https://togithub.com/remix-run/react-router/pull/10596))
Existing behavior will no longer include `React.startTransition`:
```jsx
{/*...*/}
```
If you wish to enable `React.startTransition`, pass the future flag to
your component:
```jsx
{/*...*/}
```
##### Patch Changes
- Work around webpack/terser `React.startTransition` minification bug in
production mode
([#10588](https://togithub.com/remix-run/react-router/pull/10588))
###
[`v6.12.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6121)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.12.0...react-router@6.12.1)
> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version
suffers from a `webpack`/`terser` minification issue resulting in
invalid minified code in your resulting production bundles which can
cause issues in your application. See
[#10579](https://togithub.com/remix-run/react-router/issues/10579)
for more details.
##### Patch Changes
- Adjust feature detection of `React.startTransition` to fix webpack +
react 17 compilation error
([#10569](https://togithub.com/remix-run/react-router/pull/10569))
###
[`v6.12.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router/CHANGELOG.md#6120)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router@6.11.2...react-router@6.12.0)
##### Minor Changes
- Wrap internal router state updates with `React.startTransition` if it
exists
([#10438](https://togithub.com/remix-run/react-router/pull/10438))
##### Patch Changes
- Updated dependencies:
- `@remix-run/router@1.6.3`
remix-run/react-router (react-router-dom)
###
[`v6.13.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6130)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.12.1...react-router-dom@6.13.0)
##### Minor Changes
- Move
[`React.startTransition`](https://react.dev/reference/react/startTransition)
usage behind a [future
flag](https://reactrouter.com/en/main/guides/api-development-strategy)
to avoid issues with existing incompatible `Suspense` usages. We
recommend folks adopting this flag to be better compatible with React
concurrent mode, but if you run into issues you can continue without the
use of `startTransition` until v7. Issues usually boils down to creating
net-new promises during the render cycle, so if you run into issues you
should either lift your promise creation out of the render cycle or put
it behind a `useMemo`.
([#10596](https://togithub.com/remix-run/react-router/pull/10596))
Existing behavior will no longer include `React.startTransition`:
```jsx
{/*...*/}
```
If you wish to enable `React.startTransition`, pass the future flag to
your component:
```jsx
{/*...*/}
```
##### Patch Changes
- Work around webpack/terser `React.startTransition` minification bug in
production mode
([#10588](https://togithub.com/remix-run/react-router/pull/10588))
- Updated dependencies:
- `react-router@6.13.0`
###
[`v6.12.1`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6121)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.12.0...react-router-dom@6.12.1)
> **Warning**
> Please use version `6.13.0` or later instead of `6.12.1`. This version
suffers from a `webpack`/`terser` minification issue resulting in
invalid minified code in your resulting production bundles which can
cause issues in your application. See
[#10579](https://togithub.com/remix-run/react-router/issues/10579)
for more details.
##### Patch Changes
- Adjust feature detection of `React.startTransition` to fix webpack +
react 17 compilation error
([#10569](https://togithub.com/remix-run/react-router/pull/10569))
- Updated dependencies:
- `react-router@6.12.1`
###
[`v6.12.0`](https://togithub.com/remix-run/react-router/blob/HEAD/packages/react-router-dom/CHANGELOG.md#6120)
[Compare
Source](https://togithub.com/remix-run/react-router/compare/react-router-dom@6.11.2...react-router-dom@6.12.0)
##### Minor Changes
- Wrap internal router state updates with `React.startTransition` if it
exists
([#10438](https://togithub.com/remix-run/react-router/pull/10438))
##### Patch Changes
- Re-throw `DOMException` (`DataCloneError`) when attempting to perform
a `PUSH` navigation with non-serializable state.
([#10427](https://togithub.com/remix-run/react-router/pull/10427))
- Updated dependencies:
- `@remix-run/router@1.6.3`
- `react-router@6.12.0`
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Enabled.
â™» **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] If you want to rebase/retry this PR, check
this box
---
This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/Unleash/unleash).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
frontend/package.json | 2 +-
frontend/yarn.lock | 30 +++++++++++++++---------------
website/package.json | 2 +-
website/yarn.lock | 18 +++++++++---------
4 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/frontend/package.json b/frontend/package.json
index 57492eb6cc..86283e78f1 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -100,7 +100,7 @@
"react-joyride": "^2.5.3",
"react-linkify": "^1.0.0-alpha",
"react-markdown": "^8.0.4",
- "react-router-dom": "6.11.2",
+ "react-router-dom": "6.13.0",
"react-table": "7.8.0",
"react-test-renderer": "17.0.2",
"react-timeago": "7.1.0",
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 49db863ce0..44a6030a14 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -2055,10 +2055,10 @@
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45"
integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==
-"@remix-run/router@1.6.2":
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.6.2.tgz#bbe75f8c59e0b7077584920ce2cc76f8f354934d"
- integrity sha512-LzqpSrMK/3JBAVBI9u3NWtOhWNw5AMQfrUFYB0+bDHTSw17z++WJLsPsxAuK+oSddsxk4d7F/JcdDPM1M5YAhA==
+"@remix-run/router@1.6.3":
+ version "1.6.3"
+ resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.6.3.tgz#8205baf6e17ef93be35bf62c37d2d594e9be0dad"
+ integrity sha512-EXJysQ7J3veRECd0kZFQwYYd5sJMcq2O/m60zu1W2l3oVQ9xtub8jTOtYRE0+M2iomyG/W3Ps7+vp2kna0C27Q==
"@rollup/plugin-commonjs@~22.0.2":
version "22.0.2"
@@ -8033,20 +8033,20 @@ react-refresh@^0.14.0:
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.0.tgz#4e02825378a5f227079554d4284889354e5f553e"
integrity sha512-wViHqhAd8OHeLS/IRMJjTSDHF3U9eWi62F/MledQGPdJGDhodXJ9PBLNGr6WWL7qlH12Mt3TyTpbS+hGXMjCzQ==
-react-router-dom@6.11.2:
- version "6.11.2"
- resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.11.2.tgz#324d55750ffe2ecd54ca4ec6b7bc7ab01741f170"
- integrity sha512-JNbKtAeh1VSJQnH6RvBDNhxNwemRj7KxCzc5jb7zvDSKRnPWIFj9pO+eXqjM69gQJ0r46hSz1x4l9y0651DKWw==
+react-router-dom@6.13.0:
+ version "6.13.0"
+ resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.13.0.tgz#6651f456bb2af42ef14f6880123b1f575539e81f"
+ integrity sha512-6Nqoqd7fgwxxVGdbiMHTpDHCYPq62d7Wk1Of7B82vH7ZPwwsRaIa22zRZKPPg413R5REVNiyuQPKDG1bubcOFA==
dependencies:
- "@remix-run/router" "1.6.2"
- react-router "6.11.2"
+ "@remix-run/router" "1.6.3"
+ react-router "6.13.0"
-react-router@6.11.2:
- version "6.11.2"
- resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.11.2.tgz#006301c4da1a173d7ad76b7ecd2da01b9dd3837a"
- integrity sha512-74z9xUSaSX07t3LM+pS6Un0T55ibUE/79CzfZpy5wsPDZaea1F8QkrsiyRnA2YQ7LwE/umaydzXZV80iDCPkMg==
+react-router@6.13.0:
+ version "6.13.0"
+ resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.13.0.tgz#7e4427a271dae0cafbdb88c56ccbd9b1434ee93f"
+ integrity sha512-Si6KnfEnJw7gUQkNa70dlpI1bul46FuSxX5t5WwlUBxE25DAz2BjVkwaK8Y2s242bQrZPXCpmwLPtIO5pv4tXg==
dependencies:
- "@remix-run/router" "1.6.2"
+ "@remix-run/router" "1.6.3"
react-shallow-renderer@^16.13.1:
version "16.15.0"
diff --git a/website/package.json b/website/package.json
index 52aa1cb7cb..85ebdd4dd3 100644
--- a/website/package.json
+++ b/website/package.json
@@ -80,7 +80,7 @@
"@tsconfig/docusaurus": "1.0.7",
"babel-loader": "9.1.2",
"enhanced-resolve": "5.15.0",
- "react-router": "6.11.2",
+ "react-router": "6.13.0",
"replace-in-file": "6.3.5",
"storybook-addon-root-attribute": "1.0.2",
"typescript": "4.8.4"
diff --git a/website/yarn.lock b/website/yarn.lock
index 5daf33c833..08c76262b6 100644
--- a/website/yarn.lock
+++ b/website/yarn.lock
@@ -2609,10 +2609,10 @@
redux-thunk "^2.4.2"
reselect "^4.1.7"
-"@remix-run/router@1.6.2":
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.6.2.tgz#bbe75f8c59e0b7077584920ce2cc76f8f354934d"
- integrity sha512-LzqpSrMK/3JBAVBI9u3NWtOhWNw5AMQfrUFYB0+bDHTSw17z++WJLsPsxAuK+oSddsxk4d7F/JcdDPM1M5YAhA==
+"@remix-run/router@1.6.3":
+ version "1.6.3"
+ resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.6.3.tgz#8205baf6e17ef93be35bf62c37d2d594e9be0dad"
+ integrity sha512-EXJysQ7J3veRECd0kZFQwYYd5sJMcq2O/m60zu1W2l3oVQ9xtub8jTOtYRE0+M2iomyG/W3Ps7+vp2kna0C27Q==
"@sideway/address@^4.1.3":
version "4.1.4"
@@ -12971,12 +12971,12 @@ react-router@5.3.4, react-router@^5.3.3:
tiny-invariant "^1.0.2"
tiny-warning "^1.0.0"
-react-router@6.11.2:
- version "6.11.2"
- resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.11.2.tgz#006301c4da1a173d7ad76b7ecd2da01b9dd3837a"
- integrity sha512-74z9xUSaSX07t3LM+pS6Un0T55ibUE/79CzfZpy5wsPDZaea1F8QkrsiyRnA2YQ7LwE/umaydzXZV80iDCPkMg==
+react-router@6.13.0:
+ version "6.13.0"
+ resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.13.0.tgz#7e4427a271dae0cafbdb88c56ccbd9b1434ee93f"
+ integrity sha512-Si6KnfEnJw7gUQkNa70dlpI1bul46FuSxX5t5WwlUBxE25DAz2BjVkwaK8Y2s242bQrZPXCpmwLPtIO5pv4tXg==
dependencies:
- "@remix-run/router" "1.6.2"
+ "@remix-run/router" "1.6.3"
react-textarea-autosize@^8.3.2:
version "8.4.0"