react-router 7.14.0 → 7.14.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 (72) hide show
  1. package/CHANGELOG.md +17 -24
  2. package/dist/development/{browser-C9Ar1yxG.d.ts → browser-CtktEGQs.d.ts} +2 -2
  3. package/dist/development/{browser-vtIR1Kpe.d.mts → browser-D-3-U2Jj.d.mts} +2 -2
  4. package/dist/development/{chunk-NXTEWSJO.js → chunk-3F6IB66O.js} +99 -99
  5. package/dist/development/{chunk-WAVMRYR2.js → chunk-7VLQJKNG.js} +7 -7
  6. package/dist/development/{chunk-2UH5WJXA.mjs → chunk-BFXCU3MI.mjs} +2 -2
  7. package/dist/development/{chunk-QFMPRPBF.mjs → chunk-OE4NN4TA.mjs} +24 -14
  8. package/dist/development/{chunk-IK6APEEG.js → chunk-YMKMFAYZ.js} +23 -13
  9. package/dist/{production/context-phCt_zmH.d.mts → development/context-BzhbVly6.d.mts} +1 -1
  10. package/dist/development/dom-export.d.mts +3 -3
  11. package/dist/development/dom-export.d.ts +3 -3
  12. package/dist/development/dom-export.js +27 -27
  13. package/dist/development/dom-export.mjs +3 -3
  14. package/dist/development/{index-react-server-client-luDbagNU.d.ts → index-react-server-client-CimaPp9o.d.ts} +2 -2
  15. package/dist/{production/index-react-server-client-BwWaHAr3.d.mts → development/index-react-server-client-WSaoxloq.d.mts} +2 -2
  16. package/dist/development/index-react-server-client.d.mts +3 -3
  17. package/dist/development/index-react-server-client.d.ts +3 -3
  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 +6 -0
  21. package/dist/development/index-react-server.d.ts +6 -0
  22. package/dist/development/index-react-server.js +9 -6
  23. package/dist/development/index-react-server.mjs +9 -6
  24. package/dist/development/index.d.mts +10 -10
  25. package/dist/development/index.d.ts +10 -10
  26. package/dist/development/index.js +82 -82
  27. package/dist/development/index.mjs +3 -3
  28. package/dist/{production/instrumentation-BYr6ff5D.d.ts → development/instrumentation-CMVbvxj9.d.ts} +1 -1
  29. package/dist/development/lib/types/internal.d.mts +2 -2
  30. package/dist/development/lib/types/internal.d.ts +2 -2
  31. package/dist/development/lib/types/internal.js +1 -1
  32. package/dist/development/lib/types/internal.mjs +1 -1
  33. package/dist/development/{register-CkcGwv27.d.ts → register-D1WlEpq9.d.ts} +1 -1
  34. package/dist/development/{register-CTxsJBKQ.d.mts → register-aE9ob3TK.d.mts} +1 -1
  35. package/dist/development/{routeModules-CA7kSxJJ.d.ts → routeModules-CM_clkdE.d.ts} +6 -0
  36. package/dist/development/{routeModules-BRrCYrSL.d.mts → routeModules-Djumx26z.d.mts} +6 -0
  37. package/dist/production/{browser-C9Ar1yxG.d.ts → browser-CtktEGQs.d.ts} +2 -2
  38. package/dist/production/{browser-vtIR1Kpe.d.mts → browser-D-3-U2Jj.d.mts} +2 -2
  39. package/dist/production/{chunk-355DUZMC.js → chunk-3SUPTI2U.js} +7 -7
  40. package/dist/production/{chunk-X5LK27NZ.mjs → chunk-G5ZWO7Q6.mjs} +2 -2
  41. package/dist/production/{chunk-FPT5DLVJ.js → chunk-LIOP3ILM.js} +99 -99
  42. package/dist/production/{chunk-HZQGQD2X.mjs → chunk-SPR7R4GU.mjs} +24 -14
  43. package/dist/production/{chunk-4TJ7T2OQ.js → chunk-UVEQGZIH.js} +23 -13
  44. package/dist/{development/context-phCt_zmH.d.mts → production/context-BzhbVly6.d.mts} +1 -1
  45. package/dist/production/dom-export.d.mts +3 -3
  46. package/dist/production/dom-export.d.ts +3 -3
  47. package/dist/production/dom-export.js +27 -27
  48. package/dist/production/dom-export.mjs +3 -3
  49. package/dist/production/{index-react-server-client-luDbagNU.d.ts → index-react-server-client-CimaPp9o.d.ts} +2 -2
  50. package/dist/{development/index-react-server-client-BwWaHAr3.d.mts → production/index-react-server-client-WSaoxloq.d.mts} +2 -2
  51. package/dist/production/index-react-server-client.d.mts +3 -3
  52. package/dist/production/index-react-server-client.d.ts +3 -3
  53. package/dist/production/index-react-server-client.js +4 -4
  54. package/dist/production/index-react-server-client.mjs +2 -2
  55. package/dist/production/index-react-server.d.mts +6 -0
  56. package/dist/production/index-react-server.d.ts +6 -0
  57. package/dist/production/index-react-server.js +9 -6
  58. package/dist/production/index-react-server.mjs +9 -6
  59. package/dist/production/index.d.mts +10 -10
  60. package/dist/production/index.d.ts +10 -10
  61. package/dist/production/index.js +82 -82
  62. package/dist/production/index.mjs +3 -3
  63. package/dist/{development/instrumentation-BYr6ff5D.d.ts → production/instrumentation-CMVbvxj9.d.ts} +1 -1
  64. package/dist/production/lib/types/internal.d.mts +2 -2
  65. package/dist/production/lib/types/internal.d.ts +2 -2
  66. package/dist/production/lib/types/internal.js +1 -1
  67. package/dist/production/lib/types/internal.mjs +1 -1
  68. package/dist/production/{register-CkcGwv27.d.ts → register-D1WlEpq9.d.ts} +1 -1
  69. package/dist/production/{register-CTxsJBKQ.d.mts → register-aE9ob3TK.d.mts} +1 -1
  70. package/dist/production/{routeModules-CA7kSxJJ.d.ts → routeModules-CM_clkdE.d.ts} +6 -0
  71. package/dist/production/{routeModules-BRrCYrSL.d.mts → routeModules-Djumx26z.d.mts} +6 -0
  72. package/package.json +1 -1
@@ -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 '../../routeModules-BRrCYrSL.mjs';
2
- import { R as RouteFiles, P as Pages } from '../../register-CTxsJBKQ.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 '../../routeModules-Djumx26z.mjs';
2
+ import { R as RouteFiles, P as Pages } from '../../register-aE9ob3TK.mjs';
3
3
  import 'react';
4
4
 
5
5
  type MaybePromise<T> = T | Promise<T>;
@@ -1,5 +1,5 @@
1
- import { R as RouteModule, t as LinkDescriptor, L as Location, u as Func, v as Pretty, w as MetaDescriptor, G as GetLoaderData, x as ServerDataFunctionArgs, y as MiddlewareNextFunction, z as ClientDataFunctionArgs, B as DataStrategyResult, E as ServerDataFrom, N as Normalize, I as GetActionData } from '../../routeModules-CA7kSxJJ.js';
2
- import { R as RouteFiles, P as Pages } from '../../register-CkcGwv27.js';
1
+ import { R as RouteModule, t as LinkDescriptor, L as Location, u as Func, v as Pretty, w as MetaDescriptor, G as GetLoaderData, x as ServerDataFunctionArgs, y as MiddlewareNextFunction, z as ClientDataFunctionArgs, B as DataStrategyResult, E as ServerDataFrom, N as Normalize, I as GetActionData } from '../../routeModules-CM_clkdE.js';
2
+ import { R as RouteFiles, P as Pages } from '../../register-D1WlEpq9.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.14.0
2
+ * react-router v7.14.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.14.0
2
+ * react-router v7.14.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { R as RouteModule } from './routeModules-CA7kSxJJ.js';
1
+ import { R as RouteModule } from './routeModules-CM_clkdE.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 './routeModules-BRrCYrSL.mjs';
1
+ import { R as RouteModule } from './routeModules-Djumx26z.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.
@@ -1067,6 +1067,9 @@ type RedirectFunction = (url: string, init?: number | ResponseInit) => Response;
1067
1067
  * Sets the status code and the [`Location`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location)
1068
1068
  * header. Defaults to [`302 Found`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302).
1069
1069
  *
1070
+ * This utility accepts absolute URLs and can navigate to external domains, so
1071
+ * the application should validate any user-supplied inputs to redirects.
1072
+ *
1070
1073
  * @example
1071
1074
  * import { redirect } from "react-router";
1072
1075
  *
@@ -1096,6 +1099,9 @@ declare const redirect: RedirectFunction;
1096
1099
  * and the [`Location`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location)
1097
1100
  * header. Defaults to [`302 Found`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302).
1098
1101
  *
1102
+ * This utility accepts absolute URLs and can navigate to external domains, so
1103
+ * the application should validate any user-supplied inputs to redirects.
1104
+ *
1099
1105
  * ```tsx filename=routes/logout.tsx
1100
1106
  * import { redirectDocument } from "react-router";
1101
1107
  *
@@ -1067,6 +1067,9 @@ type RedirectFunction = (url: string, init?: number | ResponseInit) => Response;
1067
1067
  * Sets the status code and the [`Location`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location)
1068
1068
  * header. Defaults to [`302 Found`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302).
1069
1069
  *
1070
+ * This utility accepts absolute URLs and can navigate to external domains, so
1071
+ * the application should validate any user-supplied inputs to redirects.
1072
+ *
1070
1073
  * @example
1071
1074
  * import { redirect } from "react-router";
1072
1075
  *
@@ -1096,6 +1099,9 @@ declare const redirect: RedirectFunction;
1096
1099
  * and the [`Location`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Location)
1097
1100
  * header. Defaults to [`302 Found`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302).
1098
1101
  *
1102
+ * This utility accepts absolute URLs and can navigate to external domains, so
1103
+ * the application should validate any user-supplied inputs to redirects.
1104
+ *
1099
1105
  * ```tsx filename=routes/logout.tsx
1100
1106
  * import { redirectDocument } from "react-router";
1101
1107
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-router",
3
- "version": "7.14.0",
3
+ "version": "7.14.1",
4
4
  "description": "Declarative routing for React",
5
5
  "keywords": [
6
6
  "react",