react-router 0.0.0-experimental-ebf23340b → 0.0.0-experimental-4b4fa8f64
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-VGAMJJWA.mjs → chunk-G3AQ4NNI.mjs} +2 -2
- package/dist/development/{chunk-GZIAUTEM.js → chunk-Q7HNP3VW.js} +1 -1
- package/dist/development/{chunk-QPDGWHQ7.mjs → chunk-SJAJQKS7.mjs} +3 -3
- package/dist/development/{chunk-3FJJXNII.js → chunk-VOUG624U.js} +131 -131
- package/dist/development/dom-export.js +3 -3
- 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 +1 -1
- package/dist/development/index-react-server.mjs +1 -1
- package/dist/development/index.js +98 -98
- 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/production/{chunk-72RPF3NM.js → chunk-74NB5IDV.js} +131 -131
- package/dist/production/{chunk-Q2RJ4JRR.mjs → chunk-NTPV7XCD.mjs} +2 -2
- package/dist/production/{chunk-CMZZ5GRK.js → chunk-RPAK5ITH.js} +1 -1
- package/dist/production/{chunk-AY4GZSWZ.mjs → chunk-YO5D6Y62.mjs} +3 -3
- package/dist/production/dom-export.js +3 -3
- 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 +1 -1
- package/dist/production/index-react-server.mjs +1 -1
- package/dist/production/index.js +98 -98
- 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/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-4b4fa8f64
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -8997,7 +8997,7 @@ var isBrowser = typeof window !== "undefined" && typeof window.document !== "und
|
|
|
8997
8997
|
try {
|
|
8998
8998
|
if (isBrowser) {
|
|
8999
8999
|
window.__reactRouterVersion = // @ts-expect-error
|
|
9000
|
-
"0.0.0-experimental-
|
|
9000
|
+
"0.0.0-experimental-4b4fa8f64";
|
|
9001
9001
|
}
|
|
9002
9002
|
} catch (e) {
|
|
9003
9003
|
}
|
|
@@ -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-4b4fa8f64
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-4b4fa8f64
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
withComponentProps,
|
|
60
60
|
withErrorBoundaryProps,
|
|
61
61
|
withHydrateFallbackProps
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-G3AQ4NNI.mjs";
|
|
63
63
|
|
|
64
64
|
// lib/dom/ssr/server.tsx
|
|
65
65
|
import * as React from "react";
|
|
@@ -2654,7 +2654,7 @@ async function routeRSCServerRequest({
|
|
|
2654
2654
|
}
|
|
2655
2655
|
const html = await renderHTML(getPayload);
|
|
2656
2656
|
const headers = new Headers(serverResponse.headers);
|
|
2657
|
-
headers.set("Content-Type", "text/html");
|
|
2657
|
+
headers.set("Content-Type", "text/html; charset=utf-8");
|
|
2658
2658
|
if (!hydrate) {
|
|
2659
2659
|
return new Response(html, {
|
|
2660
2660
|
status: serverResponse.status,
|