@remix-run/router 1.16.0 → 1.16.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 +6 -0
- package/dist/router.cjs.js +4 -3
- package/dist/router.cjs.js.map +1 -1
- package/dist/router.d.ts +1 -0
- 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/package.json +1 -1
- package/router.ts +12 -3
package/dist/router.d.ts
CHANGED
package/dist/router.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @remix-run/router v1.16.
|
|
2
|
+
* @remix-run/router v1.16.1
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -2997,7 +2997,8 @@ function createStaticHandler(routes, opts) {
|
|
|
2997
2997
|
async function queryRoute(request, _temp4) {
|
|
2998
2998
|
let {
|
|
2999
2999
|
routeId,
|
|
3000
|
-
requestContext
|
|
3000
|
+
requestContext,
|
|
3001
|
+
unstable_dataStrategy
|
|
3001
3002
|
} = _temp4 === void 0 ? {} : _temp4;
|
|
3002
3003
|
let url = new URL(request.url);
|
|
3003
3004
|
let method = request.method;
|
|
@@ -3025,7 +3026,7 @@ function createStaticHandler(routes, opts) {
|
|
|
3025
3026
|
pathname: location.pathname
|
|
3026
3027
|
});
|
|
3027
3028
|
}
|
|
3028
|
-
let result = await queryImpl(request, location, matches, requestContext, null, false, match);
|
|
3029
|
+
let result = await queryImpl(request, location, matches, requestContext, unstable_dataStrategy || null, false, match);
|
|
3029
3030
|
if (isResponse(result)) {
|
|
3030
3031
|
return result;
|
|
3031
3032
|
}
|