react-router-dom-v5-compat 6.23.1-pre.0 → 6.23.1-pre.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # `react-router-dom-v5-compat`
2
2
 
3
+ ## 6.23.1-pre.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies:
8
+ - `react-router-dom@6.23.1-pre.1`
9
+ - `react-router@6.23.1-pre.1`
10
+
3
11
  ## 6.23.1-pre.0
4
12
 
5
13
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * React Router DOM v5 Compat v6.23.1-pre.0
2
+ * React Router DOM v5 Compat v6.23.1-pre.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -422,7 +422,7 @@ function RouterProvider(_ref) {
422
422
  fetcherData.current.set(key, fetcher.data);
423
423
  }
424
424
  });
425
- let isViewTransitionUnavailable = router.window == null || typeof router.window.document.startViewTransition !== "function";
425
+ let isViewTransitionUnavailable = router.window == null || router.window.document == null || typeof router.window.document.startViewTransition !== "function";
426
426
  // If this isn't a view transition or it's not available in this browser,
427
427
  // just update and be done with it
428
428
  if (!viewTransitionOpts || isViewTransitionUnavailable) {