react-router 0.0.0-experimental-e89ad3012 → 0.0.0-experimental-48de8bb91

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 (29) hide show
  1. package/dist/development/{chunk-JJHCVRDZ.js → chunk-7ULAAIFE.js} +5 -4
  2. package/dist/{production/chunk-X3M2F3OK.js → development/chunk-JLJMSTGA.js} +130 -130
  3. package/dist/development/{chunk-3O4L5GVQ.mjs → chunk-N2RLIAVL.mjs} +6 -5
  4. package/dist/{production/chunk-J6PLTU3O.mjs → development/chunk-RK47KLY3.mjs} +2 -2
  5. package/dist/development/dom-export.js +3 -3
  6. package/dist/development/dom-export.mjs +3 -3
  7. package/dist/development/index-react-server-client.js +4 -4
  8. package/dist/development/index-react-server-client.mjs +2 -2
  9. package/dist/development/index-react-server.js +1 -1
  10. package/dist/development/index-react-server.mjs +1 -1
  11. package/dist/development/index.js +97 -97
  12. package/dist/development/index.mjs +3 -3
  13. package/dist/development/lib/types/internal.js +1 -1
  14. package/dist/development/lib/types/internal.mjs +1 -1
  15. package/dist/production/{chunk-NFNPXIQE.js → chunk-3LGQIXRU.js} +5 -4
  16. package/dist/{development/chunk-ROJMZUUV.js → production/chunk-4Y2E7I3Z.js} +130 -130
  17. package/dist/{development/chunk-XKV32KFX.mjs → production/chunk-EDQPXCTL.mjs} +2 -2
  18. package/dist/production/{chunk-QI3NR5VQ.mjs → chunk-UYFCS7RD.mjs} +6 -5
  19. package/dist/production/dom-export.js +3 -3
  20. package/dist/production/dom-export.mjs +3 -3
  21. package/dist/production/index-react-server-client.js +4 -4
  22. package/dist/production/index-react-server-client.mjs +2 -2
  23. package/dist/production/index-react-server.js +1 -1
  24. package/dist/production/index-react-server.mjs +1 -1
  25. package/dist/production/index.js +97 -97
  26. package/dist/production/index.mjs +3 -3
  27. package/dist/production/lib/types/internal.js +1 -1
  28. package/dist/production/lib/types/internal.mjs +1 -1
  29. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-e89ad3012
2
+ * react-router v0.0.0-experimental-48de8bb91
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -4494,11 +4494,12 @@ function processLoaderData(state, matches, results, pendingActionResult, revalid
4494
4494
  );
4495
4495
  revalidatingFetchers.filter((f) => !f.matches || f.matches.some((m) => m.shouldLoad)).forEach((rf) => {
4496
4496
  let { key, match, controller } = rf;
4497
- let result = fetcherResults[key];
4498
- invariant(result, "Did not find corresponding fetcher result");
4499
4497
  if (controller && controller.signal.aborted) {
4500
4498
  return;
4501
- } else if (isErrorResult(result)) {
4499
+ }
4500
+ let result = fetcherResults[key];
4501
+ invariant(result, "Did not find corresponding fetcher result");
4502
+ if (isErrorResult(result)) {
4502
4503
  let boundaryMatch = findNearestBoundary(state.matches, match?.route.id);
4503
4504
  if (!(errors && errors[boundaryMatch.route.id])) {
4504
4505
  errors = {
@@ -8867,7 +8868,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
8867
8868
  try {
8868
8869
  if (isBrowser) {
8869
8870
  window.__reactRouterVersion = // @ts-expect-error
8870
- "0.0.0-experimental-e89ad3012";
8871
+ "0.0.0-experimental-48de8bb91";
8871
8872
  }
8872
8873
  } catch (e) {
8873
8874
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-e89ad3012
2
+ * react-router v0.0.0-experimental-48de8bb91
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -57,7 +57,7 @@ import {
57
57
  withComponentProps,
58
58
  withErrorBoundaryProps,
59
59
  withHydrateFallbackProps
60
- } from "./chunk-QI3NR5VQ.mjs";
60
+ } from "./chunk-N2RLIAVL.mjs";
61
61
 
62
62
  // lib/dom/ssr/server.tsx
63
63
  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 _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 v0.0.0-experimental-e89ad3012
2
+ * react-router v0.0.0-experimental-48de8bb91
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -11,7 +11,7 @@
11
11
  "use client";
12
12
 
13
13
 
14
- var _chunkJJHCVRDZjs = require('./chunk-JJHCVRDZ.js');
14
+ var _chunk7ULAAIFEjs = require('./chunk-7ULAAIFE.js');
15
15
 
16
16
  // lib/dom-export/dom-router-provider.tsx
17
17
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react);
@@ -180,7 +180,7 @@ function HydratedRouter(props) {
180
180
  }, []);
181
181
  React2.useEffect(() => {
182
182
  if (process.env.NODE_ENV === "development" && criticalCss === void 0) {
183
- document.querySelectorAll(`[${_chunkJJHCVRDZjs.CRITICAL_CSS_DATA_ATTRIBUTE}]`).forEach((element) => element.remove());
183
+ document.querySelectorAll(`[${_chunk7ULAAIFEjs.CRITICAL_CSS_DATA_ATTRIBUTE}]`).forEach((element) => element.remove());
184
184
  }
185
185
  }, [criticalCss]);
186
186
  let [location, setLocation] = React2.useState(router.state.location);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-e89ad3012
2
+ * react-router v0.0.0-experimental-48de8bb91
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -12,7 +12,7 @@
12
12
  import {
13
13
  deserializeErrors,
14
14
  getHydrationData
15
- } from "./chunk-XKV32KFX.mjs";
15
+ } from "./chunk-RK47KLY3.mjs";
16
16
  import {
17
17
  CRITICAL_CSS_DATA_ATTRIBUTE,
18
18
  FrameworkContext,
@@ -29,7 +29,7 @@ import {
29
29
  invariant,
30
30
  mapRouteProperties,
31
31
  useFogOFWarDiscovery
32
- } from "./chunk-3O4L5GVQ.mjs";
32
+ } from "./chunk-N2RLIAVL.mjs";
33
33
 
34
34
  // lib/dom-export/dom-router-provider.tsx
35
35
  import * as React from "react";
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
2
- * react-router v0.0.0-experimental-e89ad3012
2
+ * react-router v0.0.0-experimental-48de8bb91
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -30,11 +30,11 @@
30
30
 
31
31
 
32
32
 
33
- var _chunkROJMZUUVjs = require('./chunk-ROJMZUUV.js');
33
+ var _chunkJLJMSTGAjs = require('./chunk-JLJMSTGA.js');
34
34
 
35
35
 
36
36
 
37
- var _chunkJJHCVRDZjs = require('./chunk-JJHCVRDZ.js');
37
+ var _chunk7ULAAIFEjs = require('./chunk-7ULAAIFE.js');
38
38
 
39
39
 
40
40
 
@@ -58,4 +58,4 @@ var _chunkJJHCVRDZjs = require('./chunk-JJHCVRDZ.js');
58
58
 
59
59
 
60
60
 
61
- exports.Await = _chunkROJMZUUVjs.Await; exports.BrowserRouter = _chunkROJMZUUVjs.BrowserRouter; exports.Form = _chunkROJMZUUVjs.Form; exports.HashRouter = _chunkROJMZUUVjs.HashRouter; exports.Link = _chunkROJMZUUVjs.Link; exports.Links = _chunkJJHCVRDZjs.Links; exports.MemoryRouter = _chunkROJMZUUVjs.MemoryRouter; exports.Meta = _chunkJJHCVRDZjs.Meta; exports.NavLink = _chunkROJMZUUVjs.NavLink; exports.Navigate = _chunkROJMZUUVjs.Navigate; exports.Outlet = _chunkROJMZUUVjs.Outlet; exports.Route = _chunkROJMZUUVjs.Route; exports.Router = _chunkROJMZUUVjs.Router; exports.RouterProvider = _chunkROJMZUUVjs.RouterProvider; exports.Routes = _chunkROJMZUUVjs.Routes; exports.ScrollRestoration = _chunkROJMZUUVjs.ScrollRestoration; exports.StaticRouter = _chunkROJMZUUVjs.StaticRouter; exports.StaticRouterProvider = _chunkROJMZUUVjs.StaticRouterProvider; exports.UNSAFE_WithComponentProps = _chunkROJMZUUVjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkROJMZUUVjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkROJMZUUVjs.WithHydrateFallbackProps; exports.unstable_HistoryRouter = _chunkROJMZUUVjs.HistoryRouter;
61
+ exports.Await = _chunkJLJMSTGAjs.Await; exports.BrowserRouter = _chunkJLJMSTGAjs.BrowserRouter; exports.Form = _chunkJLJMSTGAjs.Form; exports.HashRouter = _chunkJLJMSTGAjs.HashRouter; exports.Link = _chunkJLJMSTGAjs.Link; exports.Links = _chunk7ULAAIFEjs.Links; exports.MemoryRouter = _chunkJLJMSTGAjs.MemoryRouter; exports.Meta = _chunk7ULAAIFEjs.Meta; exports.NavLink = _chunkJLJMSTGAjs.NavLink; exports.Navigate = _chunkJLJMSTGAjs.Navigate; exports.Outlet = _chunkJLJMSTGAjs.Outlet; exports.Route = _chunkJLJMSTGAjs.Route; exports.Router = _chunkJLJMSTGAjs.Router; exports.RouterProvider = _chunkJLJMSTGAjs.RouterProvider; exports.Routes = _chunkJLJMSTGAjs.Routes; exports.ScrollRestoration = _chunkJLJMSTGAjs.ScrollRestoration; exports.StaticRouter = _chunkJLJMSTGAjs.StaticRouter; exports.StaticRouterProvider = _chunkJLJMSTGAjs.StaticRouterProvider; exports.UNSAFE_WithComponentProps = _chunkJLJMSTGAjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkJLJMSTGAjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkJLJMSTGAjs.WithHydrateFallbackProps; exports.unstable_HistoryRouter = _chunkJLJMSTGAjs.HistoryRouter;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-e89ad3012
2
+ * react-router v0.0.0-experimental-48de8bb91
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -32,7 +32,7 @@ import {
32
32
  WithComponentProps,
33
33
  WithErrorBoundaryProps,
34
34
  WithHydrateFallbackProps
35
- } from "./chunk-3O4L5GVQ.mjs";
35
+ } from "./chunk-N2RLIAVL.mjs";
36
36
  export {
37
37
  Await,
38
38
  BrowserRouter,
@@ -27,7 +27,7 @@ function _interopNamespace(e) {
27
27
  var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
28
28
 
29
29
  /**
30
- * react-router v0.0.0-experimental-e89ad3012
30
+ * react-router v0.0.0-experimental-48de8bb91
31
31
  *
32
32
  * Copyright (c) Remix Software Inc.
33
33
  *
@@ -6,7 +6,7 @@ export { Await, BrowserRouter, Form, HashRouter, Link, Links, MemoryRouter, Meta
6
6
  import { serialize, parse } from 'cookie';
7
7
 
8
8
  /**
9
- * react-router v0.0.0-experimental-e89ad3012
9
+ * react-router v0.0.0-experimental-48de8bb91
10
10
  *
11
11
  * Copyright (c) Remix Software Inc.
12
12
  *