react-router 0.0.0-experimental-1a4134895 → 0.0.0-experimental-2d8f5c807

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 (68) hide show
  1. package/CHANGELOG.md +0 -33
  2. package/dist/development/{browser-CVt-AVEw.d.ts → browser-BZbE3Ab4.d.ts} +1 -1
  3. package/dist/development/{browser-DMZL55jm.d.mts → browser-DLaTgmx4.d.mts} +1 -1
  4. package/dist/development/{chunk-UW2GWJ4V.js → chunk-BZGUM3ZV.js} +131 -164
  5. package/dist/{production/chunk-7KUYQ25T.js → development/chunk-J43LAV67.js} +7 -7
  6. package/dist/development/{chunk-SMU6VCE5.js → chunk-KXIRCLYA.js} +255 -203
  7. package/dist/development/{chunk-U3QH42RN.mjs → chunk-MZVUB5EK.mjs} +2 -2
  8. package/dist/development/{chunk-RSETISCY.mjs → chunk-TDCYSKXT.mjs} +223 -204
  9. package/dist/development/dom-export.d.mts +2 -19
  10. package/dist/development/dom-export.d.ts +2 -19
  11. package/dist/development/dom-export.js +103 -158
  12. package/dist/development/dom-export.mjs +79 -133
  13. package/dist/{production/index-react-server-client-MZL1faqV.d.mts → development/index-react-server-client-57_e7ldB.d.mts} +49 -69
  14. package/dist/development/{index-react-server-client-C_xKAMFL.d.ts → index-react-server-client-R7shcpCk.d.ts} +49 -69
  15. package/dist/development/index-react-server-client.d.mts +2 -2
  16. package/dist/development/index-react-server-client.d.ts +2 -2
  17. package/dist/development/index-react-server-client.js +4 -4
  18. package/dist/development/index-react-server-client.mjs +2 -2
  19. package/dist/development/index-react-server.d.mts +3 -2
  20. package/dist/development/index-react-server.d.ts +3 -2
  21. package/dist/development/index-react-server.js +10 -27
  22. package/dist/development/index-react-server.mjs +10 -27
  23. package/dist/development/index.d.mts +14 -16
  24. package/dist/development/index.d.ts +14 -16
  25. package/dist/development/index.js +76 -76
  26. package/dist/development/index.mjs +3 -3
  27. package/dist/{production/instrumentation-Clr86Wt0.d.ts → development/instrumentation-B_F6ST7G.d.ts} +9 -50
  28. package/dist/development/lib/types/internal.d.mts +2 -2
  29. package/dist/development/lib/types/internal.d.ts +2 -2
  30. package/dist/development/lib/types/internal.js +1 -1
  31. package/dist/development/lib/types/internal.mjs +1 -1
  32. package/dist/development/{register-BQNO5hHg.d.mts → register-CgKz1HWA.d.mts} +1 -1
  33. package/dist/development/{register-B9kmG_ck.d.ts → register-xwaVkBip.d.ts} +1 -1
  34. package/dist/development/{router-CvHJZoz6.d.mts → router-BEkBixDr.d.mts} +9 -50
  35. package/dist/production/{browser-CVt-AVEw.d.ts → browser-BZbE3Ab4.d.ts} +1 -1
  36. package/dist/production/{browser-DMZL55jm.d.mts → browser-DLaTgmx4.d.mts} +1 -1
  37. package/dist/production/{chunk-2LYV46AY.js → chunk-B3J4R4VT.js} +131 -164
  38. package/dist/production/{chunk-5SOZPEMG.mjs → chunk-LAULUG52.mjs} +2 -2
  39. package/dist/production/{chunk-DRFH75GK.mjs → chunk-T6WCDMHU.mjs} +223 -204
  40. package/dist/{development/chunk-FSS7BSX5.js → production/chunk-US5B543W.js} +7 -7
  41. package/dist/production/{chunk-5LAWJKMP.js → chunk-XLO27B6Q.js} +255 -203
  42. package/dist/production/dom-export.d.mts +2 -19
  43. package/dist/production/dom-export.d.ts +2 -19
  44. package/dist/production/dom-export.js +103 -158
  45. package/dist/production/dom-export.mjs +79 -133
  46. package/dist/{development/index-react-server-client-MZL1faqV.d.mts → production/index-react-server-client-57_e7ldB.d.mts} +49 -69
  47. package/dist/production/{index-react-server-client-C_xKAMFL.d.ts → index-react-server-client-R7shcpCk.d.ts} +49 -69
  48. package/dist/production/index-react-server-client.d.mts +2 -2
  49. package/dist/production/index-react-server-client.d.ts +2 -2
  50. package/dist/production/index-react-server-client.js +4 -4
  51. package/dist/production/index-react-server-client.mjs +2 -2
  52. package/dist/production/index-react-server.d.mts +3 -2
  53. package/dist/production/index-react-server.d.ts +3 -2
  54. package/dist/production/index-react-server.js +10 -27
  55. package/dist/production/index-react-server.mjs +10 -27
  56. package/dist/production/index.d.mts +14 -16
  57. package/dist/production/index.d.ts +14 -16
  58. package/dist/production/index.js +76 -76
  59. package/dist/production/index.mjs +3 -3
  60. package/dist/{development/instrumentation-Clr86Wt0.d.ts → production/instrumentation-B_F6ST7G.d.ts} +9 -50
  61. package/dist/production/lib/types/internal.d.mts +2 -2
  62. package/dist/production/lib/types/internal.d.ts +2 -2
  63. package/dist/production/lib/types/internal.js +1 -1
  64. package/dist/production/lib/types/internal.mjs +1 -1
  65. package/dist/production/{register-BQNO5hHg.d.mts → register-CgKz1HWA.d.mts} +1 -1
  66. package/dist/production/{register-B9kmG_ck.d.ts → register-xwaVkBip.d.ts} +1 -1
  67. package/dist/production/{router-CvHJZoz6.d.mts → router-BEkBixDr.d.mts} +9 -50
  68. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,38 +1,5 @@
1
1
  # `react-router`
2
2
 
3
- ## 7.9.6
4
-
5
- ### Patch Changes
6
-
7
- - \[UNSTABLE] Add `location`/`params` as arguments to client-side `unstable_onError` to permit enhanced error reporting. ([#14509](https://github.com/remix-run/react-router/pull/14509))
8
-
9
- ⚠️ This is a breaking change if you've already adopted `unstable_onError`. The second `errorInfo` parameter is now an object with `location` and `params`:
10
-
11
- ```tsx
12
- // Before
13
- function errorHandler(error: unknown, errorInfo?: React.errorInfo) {
14
- /*...*/
15
- }
16
-
17
- // After
18
- function errorHandler(
19
- error: unknown,
20
- info: {
21
- location: Location;
22
- params: Params;
23
- errorInfo?: React.ErrorInfo;
24
- },
25
- ) {
26
- /*...*/
27
- }
28
- ```
29
-
30
- - Properly handle ancestor thrown middleware errors before `next()` on fetcher submissions ([#14517](https://github.com/remix-run/react-router/pull/14517))
31
-
32
- - Fix issue with splat routes interfering with multiple calls to patchRoutesOnNavigation ([#14487](https://github.com/remix-run/react-router/pull/14487))
33
-
34
- - Normalize double-slashes in `resolvePath` ([#14529](https://github.com/remix-run/react-router/pull/14529))
35
-
36
3
  ## 7.9.5
37
4
 
38
5
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- 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, e as RouterInit } from './instrumentation-Clr86Wt0.js';
2
+ 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, e as RouterInit } from './instrumentation-B_F6ST7G.js';
3
3
 
4
4
  type RSCRouteConfigEntryBase = {
5
5
  action?: ActionFunction;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- 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, e as RouterInit } from './router-CvHJZoz6.mjs';
2
+ 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, e as RouterInit } from './router-BEkBixDr.mjs';
3
3
 
4
4
  type RSCRouteConfigEntryBase = {
5
5
  action?: ActionFunction;