react-router 7.15.1 → 7.16.0

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.
Files changed (72) hide show
  1. package/CHANGELOG.md +19 -2
  2. package/dist/development/{browser-BOdXz9dK.d.ts → browser-D3uq9sI1.d.ts} +2 -2
  3. package/dist/development/{browser-3AnU12UI.d.mts → browser-nIQ4Nsyi.d.mts} +2 -2
  4. package/dist/development/{chunk-66UKHEGQ.js → chunk-IBI7OMNB.js} +100 -99
  5. package/dist/development/{chunk-4N6VE7H7.mjs → chunk-QUQL4437.mjs} +12 -11
  6. package/dist/development/{chunk-RJYABSBD.mjs → chunk-S54KXAEJ.mjs} +6 -6
  7. package/dist/development/{chunk-D6LUOGOQ.js → chunk-SRID2YZ2.js} +10 -10
  8. package/dist/{production/chunk-Y6IFXO7V.js → development/chunk-XEJDWL2B.js} +7 -7
  9. package/dist/{production/context-ByvtofY2.d.mts → development/context-m8rizgnE.d.mts} +2 -2
  10. package/dist/development/{data-BqZ2x964.d.ts → data-D4xhSy90.d.ts} +1 -1
  11. package/dist/{production/data-BVUf681J.d.mts → development/data-U8FS-wNn.d.mts} +1 -1
  12. package/dist/development/dom-export.d.mts +3 -3
  13. package/dist/development/dom-export.d.ts +3 -3
  14. package/dist/development/dom-export.js +30 -30
  15. package/dist/development/dom-export.mjs +5 -5
  16. package/dist/{production/index-react-server-client-BS5F89FR.d.ts → development/index-react-server-client-BLiUx67a.d.ts} +3 -3
  17. package/dist/{production/index-react-server-client-DY04-103.d.mts → development/index-react-server-client-CdKROblb.d.mts} +3 -3
  18. package/dist/development/index-react-server-client.d.mts +3 -3
  19. package/dist/development/index-react-server-client.d.ts +3 -3
  20. package/dist/development/index-react-server-client.js +4 -4
  21. package/dist/development/index-react-server-client.mjs +2 -2
  22. package/dist/development/index-react-server.d.mts +1 -1
  23. package/dist/development/index-react-server.d.ts +1 -1
  24. package/dist/development/index-react-server.js +1 -1
  25. package/dist/development/index-react-server.mjs +1 -1
  26. package/dist/development/index.d.mts +18 -12
  27. package/dist/development/index.d.ts +18 -12
  28. package/dist/development/index.js +89 -89
  29. package/dist/development/index.mjs +3 -3
  30. package/dist/{production/instrumentation-cRWWLfsU.d.ts → development/instrumentation-1q4YhLGP.d.ts} +2 -2
  31. package/dist/development/lib/types/internal.d.mts +2 -2
  32. package/dist/development/lib/types/internal.d.ts +2 -2
  33. package/dist/development/lib/types/internal.js +1 -1
  34. package/dist/development/lib/types/internal.mjs +1 -1
  35. package/dist/development/{register-Bsscfj79.d.ts → register-CNAx3TXj.d.ts} +1 -1
  36. package/dist/development/{register-Df8okEea.d.mts → register-CqK96Zfk.d.mts} +1 -1
  37. package/dist/production/{browser-BOdXz9dK.d.ts → browser-D3uq9sI1.d.ts} +2 -2
  38. package/dist/production/{browser-3AnU12UI.d.mts → browser-nIQ4Nsyi.d.mts} +2 -2
  39. package/dist/{development/chunk-4YRVXM2U.js → production/chunk-EAQNHM3N.js} +7 -7
  40. package/dist/production/{chunk-6S4627ZB.mjs → chunk-NALGHHKE.mjs} +6 -6
  41. package/dist/production/{chunk-JAKZPQZC.mjs → chunk-Q65P7S7Y.mjs} +12 -11
  42. package/dist/production/{chunk-PNZCCTKT.js → chunk-SKEDDLRM.js} +100 -99
  43. package/dist/production/{chunk-HUBUW7R3.js → chunk-Y7DNFQZP.js} +10 -10
  44. package/dist/{development/context-ByvtofY2.d.mts → production/context-m8rizgnE.d.mts} +2 -2
  45. package/dist/production/{data-BqZ2x964.d.ts → data-D4xhSy90.d.ts} +1 -1
  46. package/dist/{development/data-BVUf681J.d.mts → production/data-U8FS-wNn.d.mts} +1 -1
  47. package/dist/production/dom-export.d.mts +3 -3
  48. package/dist/production/dom-export.d.ts +3 -3
  49. package/dist/production/dom-export.js +30 -30
  50. package/dist/production/dom-export.mjs +5 -5
  51. package/dist/{development/index-react-server-client-BS5F89FR.d.ts → production/index-react-server-client-BLiUx67a.d.ts} +3 -3
  52. package/dist/{development/index-react-server-client-DY04-103.d.mts → production/index-react-server-client-CdKROblb.d.mts} +3 -3
  53. package/dist/production/index-react-server-client.d.mts +3 -3
  54. package/dist/production/index-react-server-client.d.ts +3 -3
  55. package/dist/production/index-react-server-client.js +4 -4
  56. package/dist/production/index-react-server-client.mjs +2 -2
  57. package/dist/production/index-react-server.d.mts +1 -1
  58. package/dist/production/index-react-server.d.ts +1 -1
  59. package/dist/production/index-react-server.js +1 -1
  60. package/dist/production/index-react-server.mjs +1 -1
  61. package/dist/production/index.d.mts +18 -12
  62. package/dist/production/index.d.ts +18 -12
  63. package/dist/production/index.js +89 -89
  64. package/dist/production/index.mjs +3 -3
  65. package/dist/{development/instrumentation-cRWWLfsU.d.ts → production/instrumentation-1q4YhLGP.d.ts} +2 -2
  66. package/dist/production/lib/types/internal.d.mts +2 -2
  67. package/dist/production/lib/types/internal.d.ts +2 -2
  68. package/dist/production/lib/types/internal.js +1 -1
  69. package/dist/production/lib/types/internal.mjs +1 -1
  70. package/dist/production/{register-Bsscfj79.d.ts → register-CNAx3TXj.d.ts} +1 -1
  71. package/dist/production/{register-Df8okEea.d.mts → register-CqK96Zfk.d.mts} +1 -1
  72. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.15.1
2
+ * react-router v7.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -28,7 +28,7 @@ import {
28
28
  isSession,
29
29
  routeRSCServerRequest,
30
30
  setDevServerHooks
31
- } from "./chunk-RJYABSBD.mjs";
31
+ } from "./chunk-S54KXAEJ.mjs";
32
32
  import {
33
33
  Action,
34
34
  Await,
@@ -142,7 +142,7 @@ import {
142
142
  withComponentProps,
143
143
  withErrorBoundaryProps,
144
144
  withHydrateFallbackProps
145
- } from "./chunk-4N6VE7H7.mjs";
145
+ } from "./chunk-QUQL4437.mjs";
146
146
  export {
147
147
  Await,
148
148
  BrowserRouter,
@@ -1,4 +1,4 @@
1
- import { e as RouteObject, f as History, g as MaybePromise, c as RouterContextProvider, h as MapRoutePropertiesFunction, i as Action, L as Location, D as DataRouteMatch, j as Submission, k as RouteData, l as DataStrategyFunction, m as PatchRoutesOnNavigationFunction, n as DataRouteObject, o as RouteBranch, p as RouteManifest, U as UIMatch, T as To, q as HTMLFormMethod, F as FormEncType, r as Path, s as LoaderFunctionArgs, t as MiddlewareEnabled, u as AppLoadContext } from './data-BqZ2x964.js';
1
+ import { e as RouteObject, f as History, g as MaybePromise, c as RouterContextProvider, h as MapRoutePropertiesFunction, i as Action, L as Location, D as DataRouteMatch, j as Submission, k as RouteData, l as DataStrategyFunction, m as PatchRoutesOnNavigationFunction, n as DataRouteObject, o as RouteBranch, p as RouteManifest, U as UIMatch, T as To, q as HTMLFormMethod, F as FormEncType, r as Path, s as LoaderFunctionArgs, t as MiddlewareEnabled, u as AppLoadContext } from './data-D4xhSy90.js';
2
2
 
3
3
  /**
4
4
  * A Router instance manages all navigation and data loading/mutations
@@ -712,4 +712,4 @@ type RequestHandlerInstrumentationInfo = Readonly<{
712
712
  context: ReadonlyContext | undefined;
713
713
  }>;
714
714
 
715
- export { type BlockerFunction as B, type ClientInstrumentation as C, type Fetcher as F, type GetScrollPositionFunction as G, type HydrationState as H, type InstrumentRequestHandlerFunction as I, type NavigationStates as N, type RouterInit as R, type StaticHandler as S, type Router as a, type Blocker as b, type RelativeRoutingType as c, type Navigation as d, type RouterState as e, type GetScrollRestorationKeyFunction as f, type StaticHandlerContext as g, type RouterSubscriber as h, type RouterNavigateOptions as i, type RouterFetchOptions as j, type RevalidationState as k, type ServerInstrumentation as l, type InstrumentRouterFunction as m, type InstrumentRouteFunction as n, type InstrumentationHandlerResult as o, IDLE_NAVIGATION as p, IDLE_FETCHER as q, IDLE_BLOCKER as r, createRouter as s, type FutureConfig as t, type CreateStaticHandlerOptions as u };
715
+ export { type BlockerFunction as B, type ClientInstrumentation as C, type Fetcher as F, type GetScrollPositionFunction as G, type HydrationState as H, type InstrumentRequestHandlerFunction as I, type NavigationStates as N, type RouterInit as R, type StaticHandler as S, type Router as a, type Blocker as b, type RelativeRoutingType as c, type RouterState as d, type GetScrollRestorationKeyFunction as e, type StaticHandlerContext as f, type Navigation as g, type RouterSubscriber as h, type RouterNavigateOptions as i, type RouterFetchOptions as j, type RevalidationState as k, type ServerInstrumentation as l, type InstrumentRouterFunction as m, type InstrumentRouteFunction as n, type InstrumentationHandlerResult as o, IDLE_NAVIGATION as p, IDLE_FETCHER as q, IDLE_BLOCKER as r, createRouter as s, type FutureConfig as t, type CreateStaticHandlerOptions as u };
@@ -1,5 +1,5 @@
1
- import { R as RouteModule, e as LinkDescriptor, L as Location, F as Func, f as Pretty, g as MetaDescriptor, G as GetLoaderData, h as ServerDataFunctionArgs, i as MiddlewareNextFunction, j as ClientDataFunctionArgs, D as DataStrategyResult, k as ServerDataFrom, N as Normalize, l as GetActionData } from '../../data-BVUf681J.mjs';
2
- import { R as RouteFiles, P as Pages } from '../../register-Df8okEea.mjs';
1
+ import { R as RouteModule, e as LinkDescriptor, L as Location, F as Func, f as Pretty, g as MetaDescriptor, G as GetLoaderData, h as ServerDataFunctionArgs, i as MiddlewareNextFunction, j as ClientDataFunctionArgs, D as DataStrategyResult, k as ServerDataFrom, N as Normalize, l as GetActionData } from '../../data-U8FS-wNn.mjs';
2
+ import { R as RouteFiles, P as Pages } from '../../register-CqK96Zfk.mjs';
3
3
  import 'react';
4
4
 
5
5
  type MaybePromise<T> = T | Promise<T>;
@@ -1,5 +1,5 @@
1
- import { R as RouteModule, v as LinkDescriptor, L as Location, w as Func, x as Pretty, y as MetaDescriptor, G as GetLoaderData, z as ServerDataFunctionArgs, B as MiddlewareNextFunction, E as ClientDataFunctionArgs, I as DataStrategyResult, J as ServerDataFrom, N as Normalize, K as GetActionData } from '../../data-BqZ2x964.js';
2
- import { R as RouteFiles, P as Pages } from '../../register-Bsscfj79.js';
1
+ import { R as RouteModule, v as LinkDescriptor, L as Location, w as Func, x as Pretty, y as MetaDescriptor, G as GetLoaderData, z as ServerDataFunctionArgs, B as MiddlewareNextFunction, E as ClientDataFunctionArgs, I as DataStrategyResult, J as ServerDataFrom, N as Normalize, K as GetActionData } from '../../data-D4xhSy90.js';
2
+ import { R as RouteFiles, P as Pages } from '../../register-CNAx3TXj.js';
3
3
  import 'react';
4
4
 
5
5
  type MaybePromise<T> = T | Promise<T>;
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * react-router v7.15.1
2
+ * react-router v7.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.15.1
2
+ * react-router v7.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { R as RouteModule } from './data-BqZ2x964.js';
1
+ import { R as RouteModule } from './data-D4xhSy90.js';
2
2
 
3
3
  /**
4
4
  * Apps can use this interface to "register" app-wide types for React Router via interface declaration merging and module augmentation.
@@ -1,4 +1,4 @@
1
- import { R as RouteModule } from './data-BVUf681J.mjs';
1
+ import { R as RouteModule } from './data-U8FS-wNn.mjs';
2
2
 
3
3
  /**
4
4
  * Apps can use this interface to "register" app-wide types for React Router via interface declaration merging and module augmentation.
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { R as RouterInit } from './instrumentation-cRWWLfsU.js';
3
- import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-BqZ2x964.js';
2
+ import { R as RouterInit } from './instrumentation-1q4YhLGP.js';
3
+ import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-D4xhSy90.js';
4
4
 
5
5
  declare function getRequest(): Request;
6
6
  type RSCRouteConfigEntryBase = {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { R as RouterInit } from './context-ByvtofY2.mjs';
3
- import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-BVUf681J.mjs';
2
+ import { R as RouterInit } from './context-m8rizgnE.mjs';
3
+ import { L as Location, C as ClientActionFunction, a as ClientLoaderFunction, b as LinksFunction, M as MetaFunction, S as ShouldRevalidateFunction, P as Params, c as RouterContextProvider, A as ActionFunction, H as HeadersFunction, d as LoaderFunction } from './data-U8FS-wNn.mjs';
4
4
 
5
5
  declare function getRequest(): Request;
6
6
  type RSCRouteConfigEntryBase = {
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }/**
2
- * react-router v7.15.1
2
+ * react-router v7.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkD6LUOGOQjs = require('./chunk-D6LUOGOQ.js');
17
+ var _chunkY7DNFQZPjs = require('./chunk-Y7DNFQZP.js');
18
18
 
19
19
  // lib/dom/ssr/hydration.tsx
20
20
  function getHydrationData({
@@ -29,12 +29,12 @@ function getHydrationData({
29
29
  ...state,
30
30
  loaderData: { ...state.loaderData }
31
31
  };
32
- let initialMatches = _chunkD6LUOGOQjs.matchRoutes.call(void 0, routes, location, basename);
32
+ let initialMatches = _chunkY7DNFQZPjs.matchRoutes.call(void 0, routes, location, basename);
33
33
  if (initialMatches) {
34
34
  for (let match of initialMatches) {
35
35
  let routeId = match.route.id;
36
36
  let routeInfo = getRouteInfo(routeId);
37
- if (_chunkD6LUOGOQjs.shouldHydrateRouteLoader.call(void 0,
37
+ if (_chunkY7DNFQZPjs.shouldHydrateRouteLoader.call(void 0,
38
38
  routeId,
39
39
  routeInfo.clientLoader,
40
40
  routeInfo.hasLoader,
@@ -112,7 +112,7 @@ function RSCDefaultRootErrorBoundaryImpl({
112
112
  }
113
113
  }
114
114
  );
115
- if (_chunkD6LUOGOQjs.isRouteErrorResponse.call(void 0, error)) {
115
+ if (_chunkY7DNFQZPjs.isRouteErrorResponse.call(void 0, error)) {
116
116
  return /* @__PURE__ */ _react2.default.createElement(
117
117
  ErrorWrapper,
118
118
  {
@@ -120,7 +120,7 @@ function RSCDefaultRootErrorBoundaryImpl({
120
120
  title: "Unhandled Thrown Response!"
121
121
  },
122
122
  /* @__PURE__ */ _react2.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
123
- _chunkD6LUOGOQjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
123
+ _chunkY7DNFQZPjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
124
124
  );
125
125
  }
126
126
  let errorInstance;
@@ -146,7 +146,7 @@ function RSCDefaultRootErrorBoundaryImpl({
146
146
  function RSCDefaultRootErrorBoundary({
147
147
  hasRootLayout
148
148
  }) {
149
- let error = _chunkD6LUOGOQjs.useRouteError.call(void 0, );
149
+ let error = _chunkY7DNFQZPjs.useRouteError.call(void 0, );
150
150
  if (hasRootLayout === void 0) {
151
151
  throw new Error("Missing 'hasRootLayout' prop");
152
152
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.15.1
2
+ * react-router v7.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -54,7 +54,7 @@ import {
54
54
  withComponentProps,
55
55
  withErrorBoundaryProps,
56
56
  withHydrateFallbackProps
57
- } from "./chunk-JAKZPQZC.mjs";
57
+ } from "./chunk-Q65P7S7Y.mjs";
58
58
 
59
59
  // lib/dom/ssr/server.tsx
60
60
  import * as React from "react";
@@ -144,7 +144,7 @@ function createRoutesStub(routes, _context) {
144
144
  future: {
145
145
  v8_passThroughRequests: future?.v8_passThroughRequests === true,
146
146
  v8_middleware: future?.v8_middleware === true,
147
- unstable_trailingSlashAwareDataRequests: future?.unstable_trailingSlashAwareDataRequests === true
147
+ v8_trailingSlashAwareDataRequests: future?.v8_trailingSlashAwareDataRequests === true
148
148
  },
149
149
  manifest: {
150
150
  routes: {},
@@ -856,7 +856,7 @@ function getNormalizedPath(request, basename, future) {
856
856
  basename = basename || "/";
857
857
  let url = new URL(request.url);
858
858
  let pathname = url.pathname;
859
- if (future?.unstable_trailingSlashAwareDataRequests) {
859
+ if (future?.v8_trailingSlashAwareDataRequests) {
860
860
  if (pathname.endsWith("/_.data")) {
861
861
  pathname = pathname.replace(/_\.data$/, "");
862
862
  } else {
@@ -1252,7 +1252,7 @@ function derive(build, mode) {
1252
1252
  build.routeDiscovery.manifestPath,
1253
1253
  build.basename
1254
1254
  );
1255
- if (requestUrl.pathname === manifestUrl) {
1255
+ if (build.routeDiscovery.mode === "lazy" && requestUrl.pathname === manifestUrl) {
1256
1256
  try {
1257
1257
  let res = await handleManifestRequest(
1258
1258
  build,
@@ -2451,7 +2451,7 @@ function RSCStaticRouter({ getPayload }) {
2451
2451
  // These flags have no runtime impact so can always be false. If we add
2452
2452
  // flags that drive runtime behavior they'll need to be proxied through.
2453
2453
  v8_middleware: false,
2454
- unstable_trailingSlashAwareDataRequests: true,
2454
+ v8_trailingSlashAwareDataRequests: true,
2455
2455
  // always on for RSC
2456
2456
  v8_passThroughRequests: true
2457
2457
  // always on for RSC
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.15.1
2
+ * react-router v7.16.0
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -325,7 +325,7 @@ function getUrlBasedHistory(getLocation, createHref2, validateLocation, options
325
325
  }
326
326
  }
327
327
  function createURL(to) {
328
- return createBrowserURLImpl(to);
328
+ return createBrowserURLImpl(window2, to);
329
329
  }
330
330
  let history = {
331
331
  get action() {
@@ -365,10 +365,10 @@ function getUrlBasedHistory(getLocation, createHref2, validateLocation, options
365
365
  };
366
366
  return history;
367
367
  }
368
- function createBrowserURLImpl(to, isAbsolute = false) {
368
+ function createBrowserURLImpl(windowImpl, to, isAbsolute = false) {
369
369
  let base = "http://localhost";
370
- if (typeof window !== "undefined") {
371
- base = window.location.origin !== "null" ? window.location.origin : window.location.href;
370
+ if (windowImpl) {
371
+ base = windowImpl.location.origin !== "null" ? windowImpl.location.origin : windowImpl.location.href;
372
372
  }
373
373
  invariant(base, "No window.location.(origin|href) available to create URL");
374
374
  let href = typeof to === "string" ? to : createPath(to);
@@ -2856,7 +2856,7 @@ function createRouter(init) {
2856
2856
  if (redirect2.response.headers.has("X-Remix-Reload-Document")) {
2857
2857
  isDocumentReload = true;
2858
2858
  } else if (isAbsoluteUrl(location)) {
2859
- const url = createBrowserURLImpl(location, true);
2859
+ const url = createBrowserURLImpl(routerWindow, location, true);
2860
2860
  isDocumentReload = // Hard reload if it's an absolute URL to a new origin
2861
2861
  url.origin !== routerWindow.location.origin || // Hard reload if it's an absolute URL that does not match our basename
2862
2862
  stripBasename(url.pathname, basename) == null;
@@ -9727,7 +9727,7 @@ function RSCPrefetchPageLinksImpl({
9727
9727
  let url = singleFetchUrl(
9728
9728
  page,
9729
9729
  basename,
9730
- future.unstable_trailingSlashAwareDataRequests,
9730
+ future.v8_trailingSlashAwareDataRequests,
9731
9731
  "rsc"
9732
9732
  );
9733
9733
  let hasSomeRoutesWithShouldRevalidate = false;
@@ -9745,7 +9745,7 @@ function RSCPrefetchPageLinksImpl({
9745
9745
  return [url.pathname + url.search];
9746
9746
  }, [
9747
9747
  basename,
9748
- future.unstable_trailingSlashAwareDataRequests,
9748
+ future.v8_trailingSlashAwareDataRequests,
9749
9749
  page,
9750
9750
  location,
9751
9751
  nextMatches
@@ -9808,7 +9808,7 @@ function PrefetchPageLinksImpl({
9808
9808
  let url = singleFetchUrl(
9809
9809
  page,
9810
9810
  basename,
9811
- future.unstable_trailingSlashAwareDataRequests,
9811
+ future.v8_trailingSlashAwareDataRequests,
9812
9812
  "data"
9813
9813
  );
9814
9814
  if (foundOptOutRoute && routesParams.size > 0) {
@@ -9820,7 +9820,7 @@ function PrefetchPageLinksImpl({
9820
9820
  return [url.pathname + url.search];
9821
9821
  }, [
9822
9822
  basename,
9823
- future.unstable_trailingSlashAwareDataRequests,
9823
+ future.v8_trailingSlashAwareDataRequests,
9824
9824
  loaderData,
9825
9825
  location,
9826
9826
  manifest,
@@ -10233,7 +10233,7 @@ var isBrowser2 = typeof window !== "undefined" && typeof window.document !== "un
10233
10233
  try {
10234
10234
  if (isBrowser2) {
10235
10235
  window.__reactRouterVersion = // @ts-expect-error
10236
- "7.15.1";
10236
+ "7.16.0";
10237
10237
  }
10238
10238
  } catch (e) {
10239
10239
  }
@@ -11282,6 +11282,7 @@ function createStaticRouter(routes, context, opts = {}) {
11282
11282
  return {
11283
11283
  v8_middleware: false,
11284
11284
  v8_passThroughRequests: false,
11285
+ v8_trailingSlashAwareDataRequests: false,
11285
11286
  ...opts?.future
11286
11287
  };
11287
11288
  },