react-router 7.5.0 → 7.5.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist/development/{chunk-KNED5TY2.mjs → chunk-LSOULM7L.mjs} +586 -346
  3. package/dist/development/{future-ldDp5FKH.d.ts → data-CQbyyGzl.d.mts} +1 -11
  4. package/dist/{production/future-ldDp5FKH.d.mts → development/data-CQbyyGzl.d.ts} +1 -11
  5. package/dist/development/dom-export.d.mts +2 -2
  6. package/dist/development/dom-export.d.ts +2 -2
  7. package/dist/development/dom-export.js +479 -311
  8. package/dist/development/dom-export.mjs +18 -6
  9. package/dist/{production/fog-of-war-1hWhK5ey.d.mts → development/fog-of-war-CyHis97d.d.mts} +3 -2
  10. package/dist/development/{fog-of-war-oa9CGk10.d.ts → fog-of-war-D4x86-Xc.d.ts} +3 -2
  11. package/dist/development/index.d.mts +12 -8
  12. package/dist/development/index.d.ts +12 -8
  13. package/dist/development/index.js +587 -346
  14. package/dist/development/index.mjs +4 -2
  15. package/dist/development/lib/types/route-module.d.mts +2 -2
  16. package/dist/development/lib/types/route-module.d.ts +2 -2
  17. package/dist/development/lib/types/route-module.js +1 -1
  18. package/dist/development/lib/types/route-module.mjs +1 -1
  19. package/dist/development/{route-data-5OzAzQtT.d.mts → route-data-OcOrqK13.d.mts} +30 -7
  20. package/dist/{production/route-data-5OzAzQtT.d.mts → development/route-data-OcOrqK13.d.ts} +30 -7
  21. package/dist/production/{chunk-ZIM7OIE3.mjs → chunk-SAWFLE7G.mjs} +586 -346
  22. package/dist/production/{future-ldDp5FKH.d.ts → data-CQbyyGzl.d.mts} +1 -11
  23. package/dist/{development/future-ldDp5FKH.d.mts → production/data-CQbyyGzl.d.ts} +1 -11
  24. package/dist/production/dom-export.d.mts +2 -2
  25. package/dist/production/dom-export.d.ts +2 -2
  26. package/dist/production/dom-export.js +479 -311
  27. package/dist/production/dom-export.mjs +18 -6
  28. package/dist/{development/fog-of-war-1hWhK5ey.d.mts → production/fog-of-war-CyHis97d.d.mts} +3 -2
  29. package/dist/production/{fog-of-war-oa9CGk10.d.ts → fog-of-war-D4x86-Xc.d.ts} +3 -2
  30. package/dist/production/index.d.mts +12 -8
  31. package/dist/production/index.d.ts +12 -8
  32. package/dist/production/index.js +587 -346
  33. package/dist/production/index.mjs +4 -2
  34. package/dist/production/lib/types/route-module.d.mts +2 -2
  35. package/dist/production/lib/types/route-module.d.ts +2 -2
  36. package/dist/production/lib/types/route-module.js +1 -1
  37. package/dist/production/lib/types/route-module.mjs +1 -1
  38. package/dist/production/{route-data-5OzAzQtT.d.ts → route-data-OcOrqK13.d.mts} +30 -7
  39. package/dist/{development/route-data-5OzAzQtT.d.ts → production/route-data-OcOrqK13.d.ts} +30 -7
  40. package/package.json +1 -2
@@ -8,14 +8,4 @@ interface AppLoadContext {
8
8
  [key: string]: unknown;
9
9
  }
10
10
 
11
- /**
12
- * An augmentable interface users can modify in their app-code to opt into
13
- * future-flag-specific types
14
- */
15
- interface Future {
16
- }
17
- type MiddlewareEnabled = Future extends {
18
- unstable_middleware: infer T extends boolean;
19
- } ? T : false;
20
-
21
- export type { AppLoadContext as A, Future as F, MiddlewareEnabled as M };
11
+ export type { AppLoadContext as A };
@@ -8,14 +8,4 @@ interface AppLoadContext {
8
8
  [key: string]: unknown;
9
9
  }
10
10
 
11
- /**
12
- * An augmentable interface users can modify in their app-code to opt into
13
- * future-flag-specific types
14
- */
15
- interface Future {
16
- }
17
- type MiddlewareEnabled = Future extends {
18
- unstable_middleware: infer T extends boolean;
19
- } ? T : false;
20
-
21
- export type { AppLoadContext as A, Future as F, MiddlewareEnabled as M };
11
+ export type { AppLoadContext as A };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { R as RouterProviderProps$1 } from './fog-of-war-1hWhK5ey.mjs';
3
- import { R as RouterInit } from './route-data-5OzAzQtT.mjs';
2
+ import { R as RouterProviderProps$1 } from './fog-of-war-CyHis97d.mjs';
3
+ import { R as RouterInit } from './route-data-OcOrqK13.mjs';
4
4
 
5
5
  type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
6
6
  declare function RouterProvider(props: Omit<RouterProviderProps, "flushSync">): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
- import { R as RouterProviderProps$1 } from './fog-of-war-oa9CGk10.js';
3
- import { R as RouterInit } from './route-data-5OzAzQtT.js';
2
+ import { R as RouterProviderProps$1 } from './fog-of-war-D4x86-Xc.js';
3
+ import { R as RouterInit } from './route-data-OcOrqK13.js';
4
4
 
5
5
  type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
6
6
  declare function RouterProvider(props: Omit<RouterProviderProps, "flushSync">): React.JSX.Element;