react-router 7.18.3 → 7.18.5

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 (60) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/development/{browser-eq4RgLsD.d.ts → browser-7x6a6gQP.d.ts} +1 -1
  3. package/dist/development/{browser-BR5QG7ZC.d.mts → browser-CiGxXXOl.d.mts} +1 -1
  4. package/dist/development/{chunk-7SIULPXI.js → chunk-2ZBLYC7V.js} +35 -4
  5. package/dist/development/{chunk-BV7QT456.mjs → chunk-6KYCQHYJ.mjs} +35 -4
  6. package/dist/development/{chunk-QPXIKN46.js → chunk-IFHLIXZW.js} +7 -7
  7. package/dist/development/{chunk-HT4INDD5.mjs → chunk-JAHXRPFV.mjs} +16 -6
  8. package/dist/development/{chunk-YRTY65LJ.js → chunk-NDF5KBLP.js} +103 -103
  9. package/dist/{production/context-nqAapj74.d.mts → development/context-BlYKn1tE.d.mts} +2 -0
  10. package/dist/development/dom-export.d.mts +2 -2
  11. package/dist/development/dom-export.d.ts +2 -2
  12. package/dist/development/dom-export.js +34 -34
  13. package/dist/development/dom-export.mjs +3 -3
  14. package/dist/{production/index-react-server-client-BjY-eKuf.d.ts → development/index-react-server-client-BaaZU3sM.d.ts} +1 -1
  15. package/dist/{production/index-react-server-client-K63fpMH4.d.mts → development/index-react-server-client-KK-TR-t7.d.mts} +1 -1
  16. package/dist/development/index-react-server-client.d.mts +2 -2
  17. package/dist/development/index-react-server-client.d.ts +2 -2
  18. package/dist/development/index-react-server-client.js +4 -4
  19. package/dist/development/index-react-server-client.mjs +2 -2
  20. package/dist/development/index-react-server.d.mts +2 -0
  21. package/dist/development/index-react-server.d.ts +2 -0
  22. package/dist/development/index-react-server.js +38 -15
  23. package/dist/development/index-react-server.mjs +38 -15
  24. package/dist/development/index.d.mts +6 -6
  25. package/dist/development/index.d.ts +6 -6
  26. package/dist/development/index.js +102 -92
  27. package/dist/development/index.mjs +3 -3
  28. package/dist/{production/instrumentation-B7w3_Eo9.d.ts → development/instrumentation-CPkMwccd.d.ts} +2 -0
  29. package/dist/development/lib/types/internal.js +1 -1
  30. package/dist/development/lib/types/internal.mjs +1 -1
  31. package/dist/production/{browser-eq4RgLsD.d.ts → browser-7x6a6gQP.d.ts} +1 -1
  32. package/dist/production/{browser-BR5QG7ZC.d.mts → browser-CiGxXXOl.d.mts} +1 -1
  33. package/dist/production/{chunk-LNBCQR6O.js → chunk-75HN637G.js} +103 -103
  34. package/dist/production/{chunk-EFMJ2SG4.mjs → chunk-7RTFRKQW.mjs} +35 -4
  35. package/dist/production/{chunk-6XRGXNVQ.js → chunk-HNBICOIU.js} +35 -4
  36. package/dist/production/{chunk-UODOIDHR.mjs → chunk-IAM5GYT3.mjs} +16 -6
  37. package/dist/production/{chunk-SJHDA7OG.js → chunk-K3NA4NUH.js} +7 -7
  38. package/dist/{development/context-nqAapj74.d.mts → production/context-BlYKn1tE.d.mts} +2 -0
  39. package/dist/production/dom-export.d.mts +2 -2
  40. package/dist/production/dom-export.d.ts +2 -2
  41. package/dist/production/dom-export.js +34 -34
  42. package/dist/production/dom-export.mjs +3 -3
  43. package/dist/{development/index-react-server-client-BjY-eKuf.d.ts → production/index-react-server-client-BaaZU3sM.d.ts} +1 -1
  44. package/dist/{development/index-react-server-client-K63fpMH4.d.mts → production/index-react-server-client-KK-TR-t7.d.mts} +1 -1
  45. package/dist/production/index-react-server-client.d.mts +2 -2
  46. package/dist/production/index-react-server-client.d.ts +2 -2
  47. package/dist/production/index-react-server-client.js +4 -4
  48. package/dist/production/index-react-server-client.mjs +2 -2
  49. package/dist/production/index-react-server.d.mts +2 -0
  50. package/dist/production/index-react-server.d.ts +2 -0
  51. package/dist/production/index-react-server.js +38 -15
  52. package/dist/production/index-react-server.mjs +38 -15
  53. package/dist/production/index.d.mts +6 -6
  54. package/dist/production/index.d.ts +6 -6
  55. package/dist/production/index.js +102 -92
  56. package/dist/production/index.mjs +3 -3
  57. package/dist/{development/instrumentation-B7w3_Eo9.d.ts → production/instrumentation-CPkMwccd.d.ts} +2 -0
  58. package/dist/production/lib/types/internal.js +1 -1
  59. package/dist/production/lib/types/internal.mjs +1 -1
  60. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.18.3
2
+ * react-router v7.18.5
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -27,7 +27,7 @@ import {
27
27
  isSession,
28
28
  routeRSCServerRequest,
29
29
  setDevServerHooks
30
- } from "./chunk-HT4INDD5.mjs";
30
+ } from "./chunk-JAHXRPFV.mjs";
31
31
  import {
32
32
  Action,
33
33
  Await,
@@ -141,7 +141,7 @@ import {
141
141
  withComponentProps,
142
142
  withErrorBoundaryProps,
143
143
  withHydrateFallbackProps
144
- } from "./chunk-BV7QT456.mjs";
144
+ } from "./chunk-6KYCQHYJ.mjs";
145
145
  export {
146
146
  Await,
147
147
  BrowserRouter,
@@ -342,6 +342,8 @@ interface StaticHandler {
342
342
  * The set of data routes managed by this handler
343
343
  */
344
344
  dataRoutes: DataRouteObject[];
345
+ /** @private Estimated route metadata visits per regex match. */
346
+ readonly _matchCost?: number;
345
347
  /**
346
348
  * @private
347
349
  * PRIVATE - DO NOT USE
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * react-router v7.18.3
2
+ * react-router v7.18.5
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.18.3
2
+ * react-router v7.18.5
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { R as RouterInit } from './instrumentation-B7w3_Eo9.js';
2
+ import { R as RouterInit } from './instrumentation-CPkMwccd.js';
3
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-CjO11-hU.js';
4
4
 
5
5
  declare function getRequest(): Request;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { R as RouterInit } from './context-nqAapj74.mjs';
2
+ import { R as RouterInit } from './context-BlYKn1tE.mjs';
3
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-DEjBmEfD.mjs';
4
4
 
5
5
  declare function getRequest(): Request;