react-router 0.0.0-experimental-59413d9ab → 0.0.0-experimental-b65537812

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 (37) hide show
  1. package/dist/development/{chunk-6IGRGMSR.js → chunk-4EKOVNEK.js} +7 -7
  2. package/dist/development/{chunk-NM2NJ6LO.mjs → chunk-7LRA5SMD.mjs} +2 -2
  3. package/dist/development/{chunk-5D3KTOSM.js → chunk-BECXWZLC.js} +1 -1
  4. package/dist/development/{chunk-SIFL75JK.js → chunk-GIEM2LZS.js} +1 -1
  5. package/dist/{production/chunk-Q4E2T2VL.mjs → development/chunk-HJLGULVE.mjs} +1 -1
  6. package/dist/development/{chunk-VBH7ULUE.mjs → chunk-UVBK7QPG.mjs} +2 -2
  7. package/dist/development/dom-export.js +2 -2
  8. package/dist/development/dom-export.mjs +3 -3
  9. package/dist/development/index-react-server-client.js +4 -4
  10. package/dist/development/index-react-server-client.mjs +2 -2
  11. package/dist/development/index-react-server.js +16 -16
  12. package/dist/development/index-react-server.mjs +1 -1
  13. package/dist/development/index.js +95 -95
  14. package/dist/development/index.mjs +3 -3
  15. package/dist/development/lib/types/internal.js +1 -1
  16. package/dist/development/lib/types/internal.mjs +1 -1
  17. package/dist/development/rsc-export.js +16 -16
  18. package/dist/development/rsc-export.mjs +1 -1
  19. package/dist/production/{chunk-TAPQIP6U.js → chunk-A5WYCSB5.js} +7 -7
  20. package/dist/production/{chunk-5D3KTOSM.js → chunk-BECXWZLC.js} +1 -1
  21. package/dist/production/{chunk-SIFL75JK.js → chunk-GIEM2LZS.js} +1 -1
  22. package/dist/{development/chunk-Q4E2T2VL.mjs → production/chunk-HJLGULVE.mjs} +1 -1
  23. package/dist/production/{chunk-JTLYHRZM.mjs → chunk-RA75NOKN.mjs} +2 -2
  24. package/dist/production/{chunk-BUCOUPH7.mjs → chunk-WX54BY3N.mjs} +2 -2
  25. package/dist/production/dom-export.js +2 -2
  26. package/dist/production/dom-export.mjs +3 -3
  27. package/dist/production/index-react-server-client.js +4 -4
  28. package/dist/production/index-react-server-client.mjs +2 -2
  29. package/dist/production/index-react-server.js +16 -16
  30. package/dist/production/index-react-server.mjs +1 -1
  31. package/dist/production/index.js +95 -95
  32. package/dist/production/index.mjs +3 -3
  33. package/dist/production/lib/types/internal.js +1 -1
  34. package/dist/production/lib/types/internal.mjs +1 -1
  35. package/dist/production/rsc-export.js +16 -16
  36. package/dist/production/rsc-export.mjs +1 -1
  37. package/package.json +15 -3
@@ -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 v0.0.0-experimental-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -11,7 +11,7 @@
11
11
 
12
12
 
13
13
 
14
- var _chunk5D3KTOSMjs = require('./chunk-5D3KTOSM.js');
14
+ var _chunkBECXWZLCjs = require('./chunk-BECXWZLC.js');
15
15
 
16
16
  // lib/router/history.ts
17
17
  var Action = /* @__PURE__ */ ((Action2) => {
@@ -366,7 +366,7 @@ function unstable_createContext(defaultValue) {
366
366
  var _map;
367
367
  var unstable_RouterContextProvider = class {
368
368
  constructor(init) {
369
- _chunk5D3KTOSMjs.__privateAdd.call(void 0, this, _map, /* @__PURE__ */ new Map());
369
+ _chunkBECXWZLCjs.__privateAdd.call(void 0, this, _map, /* @__PURE__ */ new Map());
370
370
  if (init) {
371
371
  for (let [context, value] of init) {
372
372
  this.set(context, value);
@@ -374,8 +374,8 @@ var unstable_RouterContextProvider = class {
374
374
  }
375
375
  }
376
376
  get(context) {
377
- if (_chunk5D3KTOSMjs.__privateGet.call(void 0, this, _map).has(context)) {
378
- return _chunk5D3KTOSMjs.__privateGet.call(void 0, this, _map).get(context);
377
+ if (_chunkBECXWZLCjs.__privateGet.call(void 0, this, _map).has(context)) {
378
+ return _chunkBECXWZLCjs.__privateGet.call(void 0, this, _map).get(context);
379
379
  }
380
380
  if (context.defaultValue !== void 0) {
381
381
  return context.defaultValue;
@@ -383,7 +383,7 @@ var unstable_RouterContextProvider = class {
383
383
  throw new Error("No value found for context");
384
384
  }
385
385
  set(context, value) {
386
- _chunk5D3KTOSMjs.__privateGet.call(void 0, this, _map).set(context, value);
386
+ _chunkBECXWZLCjs.__privateGet.call(void 0, this, _map).set(context, value);
387
387
  }
388
388
  };
389
389
  _map = new WeakMap();
@@ -8781,7 +8781,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
8781
8781
  try {
8782
8782
  if (isBrowser) {
8783
8783
  window.__reactRouterVersion = // @ts-expect-error
8784
- "0.0.0-experimental-59413d9ab";
8784
+ "0.0.0-experimental-b65537812";
8785
8785
  }
8786
8786
  } catch (e) {
8787
8787
  }
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -8783,7 +8783,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
8783
8783
  try {
8784
8784
  if (isBrowser) {
8785
8785
  window.__reactRouterVersion = // @ts-expect-error
8786
- "0.0.0-experimental-59413d9ab";
8786
+ "0.0.0-experimental-b65537812";
8787
8787
  }
8788
8788
  } catch (e) {
8789
8789
  }
@@ -1,5 +1,5 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
2
- * react-router v0.0.0-experimental-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -26,7 +26,7 @@ function _interopNamespace(e) {
26
26
  var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
27
27
 
28
28
  /**
29
- * react-router v0.0.0-experimental-59413d9ab
29
+ * react-router v0.0.0-experimental-b65537812
30
30
  *
31
31
  * Copyright (c) Remix Software Inc.
32
32
  *
@@ -4,7 +4,7 @@ import { splitCookiesString } from 'set-cookie-parser';
4
4
  import { serialize, parse } from 'cookie';
5
5
 
6
6
  /**
7
- * react-router v0.0.0-experimental-59413d9ab
7
+ * react-router v0.0.0-experimental-b65537812
8
8
  *
9
9
  * Copyright (c) Remix Software Inc.
10
10
  *
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -56,7 +56,7 @@ import {
56
56
  withComponentProps,
57
57
  withErrorBoundaryProps,
58
58
  withHydrateFallbackProps
59
- } from "./chunk-NM2NJ6LO.mjs";
59
+ } from "./chunk-7LRA5SMD.mjs";
60
60
 
61
61
  // lib/dom/ssr/server.tsx
62
62
  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-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -9,7 +9,7 @@
9
9
  * @license MIT
10
10
  */
11
11
  "use client";
12
- require('./chunk-5D3KTOSM.js');
12
+ require('./chunk-BECXWZLC.js');
13
13
 
14
14
  // lib/dom-export/dom-router-provider.tsx
15
15
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
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-VBH7ULUE.mjs";
15
+ } from "./chunk-UVBK7QPG.mjs";
16
16
  import {
17
17
  FrameworkContext,
18
18
  RemixErrorBoundary,
@@ -28,7 +28,7 @@ import {
28
28
  invariant,
29
29
  mapRouteProperties,
30
30
  useFogOFWarDiscovery
31
- } from "./chunk-NM2NJ6LO.mjs";
31
+ } from "./chunk-7LRA5SMD.mjs";
32
32
 
33
33
  // lib/dom-export/dom-router-provider.tsx
34
34
  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-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -29,8 +29,8 @@
29
29
 
30
30
 
31
31
 
32
- var _chunk6IGRGMSRjs = require('./chunk-6IGRGMSR.js');
33
- require('./chunk-5D3KTOSM.js');
32
+ var _chunk4EKOVNEKjs = require('./chunk-4EKOVNEK.js');
33
+ require('./chunk-BECXWZLC.js');
34
34
 
35
35
 
36
36
 
@@ -51,4 +51,4 @@ require('./chunk-5D3KTOSM.js');
51
51
 
52
52
 
53
53
 
54
- exports.Await = _chunk6IGRGMSRjs.Await; exports.BrowserRouter = _chunk6IGRGMSRjs.BrowserRouter; exports.Form = _chunk6IGRGMSRjs.Form; exports.HashRouter = _chunk6IGRGMSRjs.HashRouter; exports.Link = _chunk6IGRGMSRjs.Link; exports.Links = _chunk6IGRGMSRjs.Links; exports.MemoryRouter = _chunk6IGRGMSRjs.MemoryRouter; exports.Meta = _chunk6IGRGMSRjs.Meta; exports.NavLink = _chunk6IGRGMSRjs.NavLink; exports.Navigate = _chunk6IGRGMSRjs.Navigate; exports.Outlet = _chunk6IGRGMSRjs.Outlet; exports.Route = _chunk6IGRGMSRjs.Route; exports.Router = _chunk6IGRGMSRjs.Router; exports.RouterProvider = _chunk6IGRGMSRjs.RouterProvider; exports.Routes = _chunk6IGRGMSRjs.Routes; exports.ScrollRestoration = _chunk6IGRGMSRjs.ScrollRestoration; exports.StaticRouter = _chunk6IGRGMSRjs.StaticRouter; exports.StaticRouterProvider = _chunk6IGRGMSRjs.StaticRouterProvider; exports.unstable_HistoryRouter = _chunk6IGRGMSRjs.HistoryRouter;
54
+ exports.Await = _chunk4EKOVNEKjs.Await; exports.BrowserRouter = _chunk4EKOVNEKjs.BrowserRouter; exports.Form = _chunk4EKOVNEKjs.Form; exports.HashRouter = _chunk4EKOVNEKjs.HashRouter; exports.Link = _chunk4EKOVNEKjs.Link; exports.Links = _chunk4EKOVNEKjs.Links; exports.MemoryRouter = _chunk4EKOVNEKjs.MemoryRouter; exports.Meta = _chunk4EKOVNEKjs.Meta; exports.NavLink = _chunk4EKOVNEKjs.NavLink; exports.Navigate = _chunk4EKOVNEKjs.Navigate; exports.Outlet = _chunk4EKOVNEKjs.Outlet; exports.Route = _chunk4EKOVNEKjs.Route; exports.Router = _chunk4EKOVNEKjs.Router; exports.RouterProvider = _chunk4EKOVNEKjs.RouterProvider; exports.Routes = _chunk4EKOVNEKjs.Routes; exports.ScrollRestoration = _chunk4EKOVNEKjs.ScrollRestoration; exports.StaticRouter = _chunk4EKOVNEKjs.StaticRouter; exports.StaticRouterProvider = _chunk4EKOVNEKjs.StaticRouterProvider; exports.unstable_HistoryRouter = _chunk4EKOVNEKjs.HistoryRouter;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * react-router v0.0.0-experimental-59413d9ab
2
+ * react-router v0.0.0-experimental-b65537812
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -29,7 +29,7 @@ import {
29
29
  ScrollRestoration,
30
30
  StaticRouter,
31
31
  StaticRouterProvider
32
- } from "./chunk-NM2NJ6LO.mjs";
32
+ } from "./chunk-7LRA5SMD.mjs";
33
33
  export {
34
34
  Await,
35
35
  BrowserRouter,
@@ -1,69 +1,69 @@
1
1
  'use strict';
2
2
 
3
- var chunkSIFL75JK_js = require('./chunk-SIFL75JK.js');
3
+ var chunkGIEM2LZS_js = require('./chunk-GIEM2LZS.js');
4
4
  var reactServerClient = require('react-router/internal/react-server-client');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "createCookie", {
9
9
  enumerable: true,
10
- get: function () { return chunkSIFL75JK_js.createCookie; }
10
+ get: function () { return chunkGIEM2LZS_js.createCookie; }
11
11
  });
12
12
  Object.defineProperty(exports, "createCookieSessionStorage", {
13
13
  enumerable: true,
14
- get: function () { return chunkSIFL75JK_js.createCookieSessionStorage; }
14
+ get: function () { return chunkGIEM2LZS_js.createCookieSessionStorage; }
15
15
  });
16
16
  Object.defineProperty(exports, "createMemorySessionStorage", {
17
17
  enumerable: true,
18
- get: function () { return chunkSIFL75JK_js.createMemorySessionStorage; }
18
+ get: function () { return chunkGIEM2LZS_js.createMemorySessionStorage; }
19
19
  });
20
20
  Object.defineProperty(exports, "createSession", {
21
21
  enumerable: true,
22
- get: function () { return chunkSIFL75JK_js.createSession; }
22
+ get: function () { return chunkGIEM2LZS_js.createSession; }
23
23
  });
24
24
  Object.defineProperty(exports, "createSessionStorage", {
25
25
  enumerable: true,
26
- get: function () { return chunkSIFL75JK_js.createSessionStorage; }
26
+ get: function () { return chunkGIEM2LZS_js.createSessionStorage; }
27
27
  });
28
28
  Object.defineProperty(exports, "createStaticHandler", {
29
29
  enumerable: true,
30
- get: function () { return chunkSIFL75JK_js.createStaticHandler; }
30
+ get: function () { return chunkGIEM2LZS_js.createStaticHandler; }
31
31
  });
32
32
  Object.defineProperty(exports, "data", {
33
33
  enumerable: true,
34
- get: function () { return chunkSIFL75JK_js.data; }
34
+ get: function () { return chunkGIEM2LZS_js.data; }
35
35
  });
36
36
  Object.defineProperty(exports, "isCookie", {
37
37
  enumerable: true,
38
- get: function () { return chunkSIFL75JK_js.isCookie; }
38
+ get: function () { return chunkGIEM2LZS_js.isCookie; }
39
39
  });
40
40
  Object.defineProperty(exports, "isSession", {
41
41
  enumerable: true,
42
- get: function () { return chunkSIFL75JK_js.isSession; }
42
+ get: function () { return chunkGIEM2LZS_js.isSession; }
43
43
  });
44
44
  Object.defineProperty(exports, "matchRoutes", {
45
45
  enumerable: true,
46
- get: function () { return chunkSIFL75JK_js.matchRoutes; }
46
+ get: function () { return chunkGIEM2LZS_js.matchRoutes; }
47
47
  });
48
48
  Object.defineProperty(exports, "redirect", {
49
49
  enumerable: true,
50
- get: function () { return chunkSIFL75JK_js.redirect; }
50
+ get: function () { return chunkGIEM2LZS_js.redirect; }
51
51
  });
52
52
  Object.defineProperty(exports, "redirectDocument", {
53
53
  enumerable: true,
54
- get: function () { return chunkSIFL75JK_js.redirectDocument; }
54
+ get: function () { return chunkGIEM2LZS_js.redirectDocument; }
55
55
  });
56
56
  Object.defineProperty(exports, "replace", {
57
57
  enumerable: true,
58
- get: function () { return chunkSIFL75JK_js.replace; }
58
+ get: function () { return chunkGIEM2LZS_js.replace; }
59
59
  });
60
60
  Object.defineProperty(exports, "unstable_createContext", {
61
61
  enumerable: true,
62
- get: function () { return chunkSIFL75JK_js.unstable_createContext; }
62
+ get: function () { return chunkGIEM2LZS_js.unstable_createContext; }
63
63
  });
64
64
  Object.defineProperty(exports, "unstable_matchRSCServerRequest", {
65
65
  enumerable: true,
66
- get: function () { return chunkSIFL75JK_js.matchRSCServerRequest; }
66
+ get: function () { return chunkGIEM2LZS_js.matchRSCServerRequest; }
67
67
  });
68
68
  Object.defineProperty(exports, "Await", {
69
69
  enumerable: true,
@@ -1,2 +1,2 @@
1
- export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSession, createSessionStorage, createStaticHandler, data, isCookie, isSession, matchRoutes, redirect, redirectDocument, replace, unstable_createContext, matchRSCServerRequest as unstable_matchRSCServerRequest } from './chunk-Q4E2T2VL.mjs';
1
+ export { createCookie, createCookieSessionStorage, createMemorySessionStorage, createSession, createSessionStorage, createStaticHandler, data, isCookie, isSession, matchRoutes, redirect, redirectDocument, replace, unstable_createContext, matchRSCServerRequest as unstable_matchRSCServerRequest } from './chunk-HJLGULVE.mjs';
2
2
  export { Await, BrowserRouter, Form, HashRouter, Link, Links, MemoryRouter, Meta, NavLink, Navigate, Outlet, Route, Router, RouterProvider, Routes, ScrollRestoration, StaticRouter, StaticRouterProvider, unstable_HistoryRouter } from 'react-router/internal/react-server-client';