react-router 0.0.0-experimental-7a7fadb20 → 0.0.0-experimental-59413d9ab
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.
- package/dist/development/{chunk-E2PM7G4R.js → chunk-5D3KTOSM.js} +1 -1
- package/dist/development/{chunk-4PKQ3FOF.js → chunk-6IGRGMSR.js} +7 -7
- package/dist/development/{chunk-AKAWRHPI.mjs → chunk-NM2NJ6LO.mjs} +2 -2
- package/dist/{production/chunk-6XDF4OYY.mjs → development/chunk-Q4E2T2VL.mjs} +1 -1
- package/dist/development/{chunk-VYGMX5VG.js → chunk-SIFL75JK.js} +1 -1
- package/dist/development/{chunk-6INYUTQB.mjs → chunk-VBH7ULUE.mjs} +2 -2
- package/dist/development/dom-export.js +2 -2
- package/dist/development/dom-export.mjs +3 -3
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.js +16 -16
- package/dist/development/index-react-server.mjs +1 -1
- package/dist/development/index.js +95 -95
- package/dist/development/index.mjs +3 -3
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/rsc-export.js +16 -16
- package/dist/development/rsc-export.mjs +1 -1
- package/dist/production/{chunk-E2PM7G4R.js → chunk-5D3KTOSM.js} +1 -1
- package/dist/production/{chunk-3N2A6GWE.mjs → chunk-BUCOUPH7.mjs} +2 -2
- package/dist/production/{chunk-C3BEU4Q6.mjs → chunk-JTLYHRZM.mjs} +2 -2
- package/dist/{development/chunk-6XDF4OYY.mjs → production/chunk-Q4E2T2VL.mjs} +1 -1
- package/dist/production/{chunk-VYGMX5VG.js → chunk-SIFL75JK.js} +1 -1
- package/dist/production/{chunk-OLHXXGX4.js → chunk-TAPQIP6U.js} +7 -7
- package/dist/production/dom-export.js +2 -2
- package/dist/production/dom-export.mjs +3 -3
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.js +16 -16
- package/dist/production/index-react-server.mjs +1 -1
- package/dist/production/index.js +95 -95
- package/dist/production/index.mjs +3 -3
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/rsc-export.js +16 -16
- package/dist/production/rsc-export.mjs +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunk5D3KTOSMjs = require('./chunk-5D3KTOSM.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
|
-
|
|
369
|
+
_chunk5D3KTOSMjs.__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 (
|
|
378
|
-
return
|
|
377
|
+
if (_chunk5D3KTOSMjs.__privateGet.call(void 0, this, _map).has(context)) {
|
|
378
|
+
return _chunk5D3KTOSMjs.__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
|
-
|
|
386
|
+
_chunk5D3KTOSMjs.__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-
|
|
8784
|
+
"0.0.0-experimental-59413d9ab";
|
|
8785
8785
|
}
|
|
8786
8786
|
} catch (e) {
|
|
8787
8787
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
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-
|
|
8786
|
+
"0.0.0-experimental-59413d9ab";
|
|
8787
8787
|
}
|
|
8788
8788
|
} catch (e) {
|
|
8789
8789
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
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-
|
|
59
|
+
} from "./chunk-NM2NJ6LO.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-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
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-
|
|
12
|
+
require('./chunk-5D3KTOSM.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-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
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-
|
|
15
|
+
} from "./chunk-VBH7ULUE.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-
|
|
31
|
+
} from "./chunk-NM2NJ6LO.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-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
33
|
-
require('./chunk-
|
|
32
|
+
var _chunk6IGRGMSRjs = require('./chunk-6IGRGMSR.js');
|
|
33
|
+
require('./chunk-5D3KTOSM.js');
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
@@ -51,4 +51,4 @@ require('./chunk-E2PM7G4R.js');
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
|
|
54
|
-
exports.Await =
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-59413d9ab
|
|
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-
|
|
32
|
+
} from "./chunk-NM2NJ6LO.mjs";
|
|
33
33
|
export {
|
|
34
34
|
Await,
|
|
35
35
|
BrowserRouter,
|
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSIFL75JK_js = require('./chunk-SIFL75JK.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
|
|
10
|
+
get: function () { return chunkSIFL75JK_js.createCookie; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "createCookieSessionStorage", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkSIFL75JK_js.createCookieSessionStorage; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "createMemorySessionStorage", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkSIFL75JK_js.createMemorySessionStorage; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "createSession", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkSIFL75JK_js.createSession; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "createSessionStorage", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkSIFL75JK_js.createSessionStorage; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "createStaticHandler", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkSIFL75JK_js.createStaticHandler; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "data", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkSIFL75JK_js.data; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "isCookie", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkSIFL75JK_js.isCookie; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "isSession", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkSIFL75JK_js.isSession; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "matchRoutes", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkSIFL75JK_js.matchRoutes; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "redirect", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkSIFL75JK_js.redirect; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "redirectDocument", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkSIFL75JK_js.redirectDocument; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "replace", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkSIFL75JK_js.replace; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "unstable_createContext", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkSIFL75JK_js.unstable_createContext; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "unstable_matchRSCServerRequest", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkSIFL75JK_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-
|
|
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';
|
|
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';
|