react-router 7.8.1-pre.1 → 7.8.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 (30) hide show
  1. package/CHANGELOG.md +5 -11
  2. package/dist/{production/chunk-J44BHEXU.mjs → development/chunk-IFMMFE4R.mjs} +2 -2
  3. package/dist/development/{chunk-3JDDYHAM.js → chunk-IIA3TUI2.js} +130 -130
  4. package/dist/development/{chunk-5556IWOV.js → chunk-TGXCWGPT.js} +1 -1
  5. package/dist/development/{chunk-74543KUN.mjs → chunk-UH6JLGW7.mjs} +2 -2
  6. package/dist/development/dom-export.js +3 -3
  7. package/dist/development/dom-export.mjs +3 -3
  8. package/dist/development/index-react-server-client.js +4 -4
  9. package/dist/development/index-react-server-client.mjs +2 -2
  10. package/dist/development/index-react-server.js +1 -1
  11. package/dist/development/index-react-server.mjs +1 -1
  12. package/dist/development/index.js +102 -102
  13. package/dist/development/index.mjs +3 -3
  14. package/dist/development/lib/types/internal.js +1 -1
  15. package/dist/development/lib/types/internal.mjs +1 -1
  16. package/dist/{development/chunk-NL6TORMN.mjs → production/chunk-5Y7ELDIJ.mjs} +2 -2
  17. package/dist/production/{chunk-3OSMCWIR.js → chunk-KHPQXKYM.js} +1 -1
  18. package/dist/production/{chunk-HVGIEXH6.mjs → chunk-PFDCNQUK.mjs} +2 -2
  19. package/dist/production/{chunk-OE6UW5JS.js → chunk-YMYXECPK.js} +130 -130
  20. package/dist/production/dom-export.js +3 -3
  21. package/dist/production/dom-export.mjs +3 -3
  22. package/dist/production/index-react-server-client.js +4 -4
  23. package/dist/production/index-react-server-client.mjs +2 -2
  24. package/dist/production/index-react-server.js +1 -1
  25. package/dist/production/index-react-server.mjs +1 -1
  26. package/dist/production/index.js +102 -102
  27. package/dist/production/index.mjs +3 -3
  28. package/dist/production/lib/types/internal.js +1 -1
  29. package/dist/production/lib/types/internal.mjs +1 -1
  30. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.8.1-pre.1
2
+ * react-router v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -31,7 +31,7 @@ import {
31
31
  isSession,
32
32
  routeRSCServerRequest,
33
33
  setDevServerHooks
34
- } from "./chunk-NL6TORMN.mjs";
34
+ } from "./chunk-IFMMFE4R.mjs";
35
35
  import {
36
36
  Action,
37
37
  Await,
@@ -140,7 +140,7 @@ import {
140
140
  withComponentProps,
141
141
  withErrorBoundaryProps,
142
142
  withHydrateFallbackProps
143
- } from "./chunk-74543KUN.mjs";
143
+ } from "./chunk-UH6JLGW7.mjs";
144
144
  export {
145
145
  Await,
146
146
  BrowserRouter,
@@ -1,5 +1,5 @@
1
1
  "use strict";/**
2
- * react-router v7.8.1-pre.1
2
+ * react-router v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.8.1-pre.1
2
+ * react-router v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.8.1-pre.1
2
+ * react-router v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -58,7 +58,7 @@ import {
58
58
  withComponentProps,
59
59
  withErrorBoundaryProps,
60
60
  withHydrateFallbackProps
61
- } from "./chunk-74543KUN.mjs";
61
+ } from "./chunk-PFDCNQUK.mjs";
62
62
 
63
63
  // lib/dom/ssr/server.tsx
64
64
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
2
- * react-router v7.8.1-pre.1
2
+ * react-router v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v7.8.1-pre.1
2
+ * react-router v7.8.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -8986,7 +8986,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
8986
8986
  try {
8987
8987
  if (isBrowser) {
8988
8988
  window.__reactRouterVersion = // @ts-expect-error
8989
- "7.8.1-pre.1";
8989
+ "7.8.1";
8990
8990
  }
8991
8991
  } catch (e) {
8992
8992
  }