@remix-run/router 1.21.2-pre-v6.0 → 1.22.0-pre-v6.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 +12 -0
- package/dist/router.cjs.js +4 -3
- package/dist/router.cjs.js.map +1 -1
- package/dist/router.js +4 -3
- package/dist/router.js.map +1 -1
- package/dist/router.umd.js +4 -3
- package/dist/router.umd.js.map +1 -1
- package/dist/router.umd.min.js +2 -2
- package/dist/router.umd.min.js.map +1 -1
- package/dist/utils.d.ts +1 -0
- package/package.json +1 -1
- package/router.ts +3 -2
- package/utils.ts +1 -0
package/dist/router.umd.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/router v1.
|
|
2
|
+
* @remix-run/router v1.22.0-pre-v6.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -2858,7 +2858,7 @@
|
|
|
2858
2858
|
let abortController = new AbortController();
|
|
2859
2859
|
let fetchRequest = createClientSideRequest(init.history, path, abortController.signal, submission);
|
|
2860
2860
|
if (isFogOfWar) {
|
|
2861
|
-
let discoverResult = await discoverRoutes(requestMatches,
|
|
2861
|
+
let discoverResult = await discoverRoutes(requestMatches, new URL(fetchRequest.url).pathname, fetchRequest.signal);
|
|
2862
2862
|
if (discoverResult.type === "aborted") {
|
|
2863
2863
|
return;
|
|
2864
2864
|
} else if (discoverResult.type === "error") {
|
|
@@ -3044,7 +3044,7 @@
|
|
|
3044
3044
|
let abortController = new AbortController();
|
|
3045
3045
|
let fetchRequest = createClientSideRequest(init.history, path, abortController.signal);
|
|
3046
3046
|
if (isFogOfWar) {
|
|
3047
|
-
let discoverResult = await discoverRoutes(matches,
|
|
3047
|
+
let discoverResult = await discoverRoutes(matches, new URL(fetchRequest.url).pathname, fetchRequest.signal);
|
|
3048
3048
|
if (discoverResult.type === "aborted") {
|
|
3049
3049
|
return;
|
|
3050
3050
|
} else if (discoverResult.type === "error") {
|
|
@@ -3602,6 +3602,7 @@
|
|
|
3602
3602
|
let localManifest = manifest;
|
|
3603
3603
|
try {
|
|
3604
3604
|
await patchRoutesOnNavigationImpl({
|
|
3605
|
+
signal,
|
|
3605
3606
|
path: pathname,
|
|
3606
3607
|
matches: partialMatches,
|
|
3607
3608
|
patch: (routeId, children) => {
|