react-router 0.0.0-experimental-4e44d47 → 0.0.0-experimental-3df673e
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/dist/{production/chunk-IZVJSKMU.mjs → development/chunk-27W3PGKT.mjs} +3 -3
- package/dist/development/{chunk-XVVWTPHF.mjs → chunk-5FNKA3AJ.mjs} +20 -18
- package/dist/{production/chunk-UNIYMJFU.js → development/chunk-HMTR6AB3.js} +134 -134
- package/dist/development/{chunk-7B7CUJYE.js → chunk-OAO2BCWA.js} +19 -17
- package/dist/development/dom-export.d.mts +1 -1
- package/dist/development/dom-export.d.ts +1 -1
- package/dist/development/dom-export.js +3 -3
- package/dist/development/dom-export.mjs +3 -3
- package/dist/development/{index-react-server-client-83aVZHgI.d.ts → index-react-server-client-CCykjjOv.d.ts} +2 -2
- package/dist/{production/index-react-server-client-BDG19ZQl.d.mts → development/index-react-server-client-vPxdwQO-.d.mts} +2 -2
- package/dist/development/index-react-server-client.d.mts +3 -3
- package/dist/development/index-react-server-client.d.ts +3 -3
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +3 -3
- package/dist/development/index-react-server.d.ts +3 -3
- package/dist/development/index-react-server.js +11 -11
- package/dist/development/index-react-server.mjs +11 -11
- package/dist/development/index.d.mts +6 -6
- package/dist/development/index.d.ts +6 -6
- package/dist/development/index.js +99 -99
- package/dist/development/index.mjs +3 -3
- package/dist/development/{instrumentation-XYmrzhe3.d.ts → instrumentation-BsMyG4uF.d.ts} +2 -2
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +2 -2
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/{production/routeModules-Bu1JamQV.d.ts → development/routeModules-BsBQDHG4.d.ts} +3 -3
- package/dist/development/{routeModules-CtCOLGtG.d.mts → routeModules-DSpLybMz.d.mts} +3 -3
- package/dist/development/{router-2BoB34m1.d.mts → router-B02dMGKy.d.mts} +2 -2
- package/dist/{development/chunk-MTLWRICG.js → production/chunk-BJWGLTLV.js} +134 -134
- package/dist/{development/chunk-PSQFTIPQ.mjs → production/chunk-IFXZKZUN.mjs} +3 -3
- package/dist/production/{chunk-OXRQQZPR.js → chunk-NZTFTCSL.js} +19 -17
- package/dist/production/{chunk-GSSVRQ6M.mjs → chunk-XWLYGPB7.mjs} +20 -18
- package/dist/production/dom-export.d.mts +1 -1
- package/dist/production/dom-export.d.ts +1 -1
- package/dist/production/dom-export.js +3 -3
- package/dist/production/dom-export.mjs +3 -3
- package/dist/production/{index-react-server-client-83aVZHgI.d.ts → index-react-server-client-CCykjjOv.d.ts} +2 -2
- package/dist/{development/index-react-server-client-BDG19ZQl.d.mts → production/index-react-server-client-vPxdwQO-.d.mts} +2 -2
- package/dist/production/index-react-server-client.d.mts +3 -3
- package/dist/production/index-react-server-client.d.ts +3 -3
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +3 -3
- package/dist/production/index-react-server.d.ts +3 -3
- package/dist/production/index-react-server.js +11 -11
- package/dist/production/index-react-server.mjs +11 -11
- package/dist/production/index.d.mts +6 -6
- package/dist/production/index.d.ts +6 -6
- package/dist/production/index.js +99 -99
- package/dist/production/index.mjs +3 -3
- package/dist/production/{instrumentation-XYmrzhe3.d.ts → instrumentation-BsMyG4uF.d.ts} +2 -2
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +2 -2
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/{development/routeModules-Bu1JamQV.d.ts → production/routeModules-BsBQDHG4.d.ts} +3 -3
- package/dist/production/{routeModules-CtCOLGtG.d.mts → routeModules-DSpLybMz.d.mts} +3 -3
- package/dist/production/{router-2BoB34m1.d.mts → router-B02dMGKy.d.mts} +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-3df673e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
isSession,
|
|
32
32
|
routeRSCServerRequest,
|
|
33
33
|
setDevServerHooks
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-27W3PGKT.mjs";
|
|
35
35
|
import {
|
|
36
36
|
Action,
|
|
37
37
|
Await,
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
withComponentProps,
|
|
142
142
|
withErrorBoundaryProps,
|
|
143
143
|
withHydrateFallbackProps
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-5FNKA3AJ.mjs";
|
|
145
145
|
export {
|
|
146
146
|
Await,
|
|
147
147
|
BrowserRouter,
|
|
@@ -396,7 +396,7 @@ interface DataFunctionArgs<Context> {
|
|
|
396
396
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
397
397
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
398
398
|
*/
|
|
399
|
-
|
|
399
|
+
unstable_pattern: string;
|
|
400
400
|
/**
|
|
401
401
|
* {@link https://reactrouter.com/start/framework/routing#dynamic-segments Dynamic route params} for the current route.
|
|
402
402
|
* @example
|
|
@@ -1078,7 +1078,7 @@ type RouteHandlerInstrumentationInfo = Readonly<{
|
|
|
1078
1078
|
headers: Pick<Headers, "get">;
|
|
1079
1079
|
};
|
|
1080
1080
|
params: LoaderFunctionArgs["params"];
|
|
1081
|
-
|
|
1081
|
+
unstable_pattern: string;
|
|
1082
1082
|
context: Pick<RouterContextProvider, "get">;
|
|
1083
1083
|
}>;
|
|
1084
1084
|
interface InstrumentLazyFunction extends GenericInstrumentFunction {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteModule, L as LinkDescriptor, F as Func, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, C as ClientDataFunctionArgs, a as ServerDataFrom, N as Normalize, b as GetActionData } from '../../routeModules-
|
|
2
|
-
import { L as Location, M as MiddlewareNextFunction, D as DataStrategyResult } from '../../router-
|
|
1
|
+
import { R as RouteModule, L as LinkDescriptor, F as Func, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, C as ClientDataFunctionArgs, a as ServerDataFrom, N as Normalize, b as GetActionData } from '../../routeModules-DSpLybMz.mjs';
|
|
2
|
+
import { L as Location, M as MiddlewareNextFunction, D as DataStrategyResult } from '../../router-B02dMGKy.mjs';
|
|
3
3
|
import { R as RouteFiles, P as Pages } from '../../register-DiOIlEq5.mjs';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RouteModule, L as LinkDescriptor, F as Func, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, C as ClientDataFunctionArgs, a as ServerDataFrom, N as Normalize, b as GetActionData } from '../../routeModules-
|
|
2
|
-
import { L as Location, M as MiddlewareNextFunction, D as DataStrategyResult } from '../../instrumentation-
|
|
1
|
+
import { R as RouteModule, L as LinkDescriptor, F as Func, P as Pretty, M as MetaDescriptor, G as GetLoaderData, S as ServerDataFunctionArgs, C as ClientDataFunctionArgs, a as ServerDataFrom, N as Normalize, b as GetActionData } from '../../routeModules-BsBQDHG4.js';
|
|
2
|
+
import { L as Location, M as MiddlewareNextFunction, D as DataStrategyResult } from '../../instrumentation-BsMyG4uF.js';
|
|
3
3
|
import { R as RouteFiles, P as Pages } from '../../register-DiOIlEq5.js';
|
|
4
4
|
import 'react';
|
|
5
5
|
|
package/dist/{production/routeModules-Bu1JamQV.d.ts → development/routeModules-BsBQDHG4.d.ts}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ComponentType, ReactElement } from 'react';
|
|
3
|
-
import { A as AgnosticRouteObject, H as History, a as MaybePromise, R as RouterContextProvider, u as unstable_ClientInstrumentation, b as MapRoutePropertiesFunction, c as Action, L as Location, d as AgnosticDataRouteMatch, S as Submission, e as RouteData, f as DataStrategyFunction, g as AgnosticPatchRoutesOnNavigationFunction, h as AgnosticDataRouteObject, U as UIMatch, T as To, i as HTMLFormMethod, F as FormEncType, P as Path, j as unstable_ServerInstrumentation, I as InitialEntry, k as LazyRouteFunction, l as Params, m as TrackedPromise, n as AgnosticNonIndexRouteObject, o as AgnosticIndexRouteObject, p as LazyRouteDefinition, q as AgnosticRouteMatch, r as AgnosticPatchRoutesOnNavigationFunctionArgs, s as DataWithResponseInit, t as MiddlewareEnabled, v as ActionFunctionArgs, w as LoaderFunctionArgs, x as ActionFunction, y as LoaderFunction, z as MiddlewareFunction, D as DataStrategyResult, B as ShouldRevalidateFunction } from './instrumentation-
|
|
3
|
+
import { A as AgnosticRouteObject, H as History, a as MaybePromise, R as RouterContextProvider, u as unstable_ClientInstrumentation, b as MapRoutePropertiesFunction, c as Action, L as Location, d as AgnosticDataRouteMatch, S as Submission, e as RouteData, f as DataStrategyFunction, g as AgnosticPatchRoutesOnNavigationFunction, h as AgnosticDataRouteObject, U as UIMatch, T as To, i as HTMLFormMethod, F as FormEncType, P as Path, j as unstable_ServerInstrumentation, I as InitialEntry, k as LazyRouteFunction, l as Params, m as TrackedPromise, n as AgnosticNonIndexRouteObject, o as AgnosticIndexRouteObject, p as LazyRouteDefinition, q as AgnosticRouteMatch, r as AgnosticPatchRoutesOnNavigationFunctionArgs, s as DataWithResponseInit, t as MiddlewareEnabled, v as ActionFunctionArgs, w as LoaderFunctionArgs, x as ActionFunction, y as LoaderFunction, z as MiddlewareFunction, D as DataStrategyResult, B as ShouldRevalidateFunction } from './instrumentation-BsMyG4uF.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* An object of unknown type for route loaders and actions provided by the
|
|
@@ -1782,7 +1782,7 @@ type ClientDataFunctionArgs<Params> = {
|
|
|
1782
1782
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
1783
1783
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
1784
1784
|
*/
|
|
1785
|
-
|
|
1785
|
+
unstable_pattern: string;
|
|
1786
1786
|
/**
|
|
1787
1787
|
* When `future.v8_middleware` is not enabled, this is undefined.
|
|
1788
1788
|
*
|
|
@@ -1815,7 +1815,7 @@ type ServerDataFunctionArgs<Params> = {
|
|
|
1815
1815
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
1816
1816
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
1817
1817
|
*/
|
|
1818
|
-
|
|
1818
|
+
unstable_pattern: string;
|
|
1819
1819
|
/**
|
|
1820
1820
|
* Without `future.v8_middleware` enabled, this is the context passed in
|
|
1821
1821
|
* to your server adapter's `getLoadContext` function. It's a way to bridge the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, ReactElement } from 'react';
|
|
2
|
-
import { c as RouterContextProvider, d as DataWithResponseInit, e as MiddlewareEnabled, A as ActionFunctionArgs, f as LoaderFunctionArgs, g as ActionFunction, h as LoaderFunction, P as Params, L as Location, i as DataRouteMatch, j as MiddlewareFunction, D as DataStrategyResult, S as ShouldRevalidateFunction } from './router-
|
|
2
|
+
import { c as RouterContextProvider, d as DataWithResponseInit, e as MiddlewareEnabled, A as ActionFunctionArgs, f as LoaderFunctionArgs, g as ActionFunction, h as LoaderFunction, P as Params, L as Location, i as DataRouteMatch, j as MiddlewareFunction, D as DataStrategyResult, S as ShouldRevalidateFunction } from './router-B02dMGKy.mjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An object of unknown type for route loaders and actions provided by the
|
|
@@ -200,7 +200,7 @@ type ClientDataFunctionArgs<Params> = {
|
|
|
200
200
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
201
201
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
unstable_pattern: string;
|
|
204
204
|
/**
|
|
205
205
|
* When `future.v8_middleware` is not enabled, this is undefined.
|
|
206
206
|
*
|
|
@@ -233,7 +233,7 @@ type ServerDataFunctionArgs<Params> = {
|
|
|
233
233
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
234
234
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
235
235
|
*/
|
|
236
|
-
|
|
236
|
+
unstable_pattern: string;
|
|
237
237
|
/**
|
|
238
238
|
* Without `future.v8_middleware` enabled, this is the context passed in
|
|
239
239
|
* to your server adapter's `getLoadContext` function. It's a way to bridge the
|
|
@@ -398,7 +398,7 @@ interface DataFunctionArgs<Context> {
|
|
|
398
398
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
399
399
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
400
400
|
*/
|
|
401
|
-
|
|
401
|
+
unstable_pattern: string;
|
|
402
402
|
/**
|
|
403
403
|
* {@link https://reactrouter.com/start/framework/routing#dynamic-segments Dynamic route params} for the current route.
|
|
404
404
|
* @example
|
|
@@ -2099,7 +2099,7 @@ type RouteHandlerInstrumentationInfo = Readonly<{
|
|
|
2099
2099
|
headers: Pick<Headers, "get">;
|
|
2100
2100
|
};
|
|
2101
2101
|
params: LoaderFunctionArgs["params"];
|
|
2102
|
-
|
|
2102
|
+
unstable_pattern: string;
|
|
2103
2103
|
context: Pick<RouterContextProvider, "get">;
|
|
2104
2104
|
}>;
|
|
2105
2105
|
interface InstrumentLazyFunction extends GenericInstrumentFunction {
|