react-router-dom 6.23.1-pre.0 → 6.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -3
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/main.js +1 -1
- package/dist/react-router-dom.development.js +2 -2
- package/dist/react-router-dom.development.js.map +1 -1
- package/dist/react-router-dom.production.min.js +2 -2
- package/dist/react-router-dom.production.min.js.map +1 -1
- package/dist/umd/react-router-dom.development.js +2 -2
- package/dist/umd/react-router-dom.development.js.map +1 -1
- package/dist/umd/react-router-dom.production.min.js +2 -2
- package/dist/umd/react-router-dom.production.min.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# `react-router-dom`
|
|
2
2
|
|
|
3
|
-
## 6.23.1
|
|
3
|
+
## 6.23.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- Check for `document` existence when checking `startViewTransition` ([#11544](https://github.com/remix-run/react-router/pull/11544))
|
|
7
8
|
- Change the `react-router-dom/server` import back to `react-router-dom` instead of `index.ts` ([#11514](https://github.com/remix-run/react-router/pull/11514))
|
|
8
9
|
- Updated dependencies:
|
|
9
|
-
- `@remix-run/router@1.16.1
|
|
10
|
-
- `react-router@6.23.1
|
|
10
|
+
- `@remix-run/router@1.16.1`
|
|
11
|
+
- `react-router@6.23.1`
|
|
11
12
|
|
|
12
13
|
## 6.23.0
|
|
13
14
|
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* React Router DOM v6.23.1
|
|
2
|
+
* React Router DOM v6.23.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -421,7 +421,7 @@ function RouterProvider(_ref) {
|
|
|
421
421
|
fetcherData.current.set(key, fetcher.data);
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
let isViewTransitionUnavailable = router.window == null || typeof router.window.document.startViewTransition !== "function";
|
|
424
|
+
let isViewTransitionUnavailable = router.window == null || router.window.document == null || typeof router.window.document.startViewTransition !== "function";
|
|
425
425
|
// If this isn't a view transition or it's not available in this browser,
|
|
426
426
|
// just update and be done with it
|
|
427
427
|
if (!viewTransitionOpts || isViewTransitionUnavailable) {
|