@expo/router-server 58.0.15 → 58.0.17
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/build/server/renderStreamingContent.d.ts +6 -2
- package/build/server/renderStreamingContent.js +11 -11
- package/build/server/renderStreamingContent.js.map +1 -1
- package/build/static/renderStaticContent.d.ts +6 -2
- package/build/static/renderStaticContent.js +5 -5
- package/build/static/renderStaticContent.js.map +1 -1
- package/package.json +7 -7
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import { type AssetInfo } from 'expo-server/private';
|
|
7
|
+
import { type AssetInfo, type MatchedRoute } from 'expo-server/private';
|
|
8
8
|
import { type ReactNode } from 'react';
|
|
9
9
|
export type GetStreamingContentOptions = {
|
|
10
10
|
loader?: {
|
|
@@ -16,6 +16,10 @@ export type GetStreamingContentOptions = {
|
|
|
16
16
|
headNodes: ReactNode[];
|
|
17
17
|
} | null;
|
|
18
18
|
request?: Request;
|
|
19
|
+
/** The route the server matched for `location`. */
|
|
20
|
+
route: MatchedRoute;
|
|
21
|
+
/** The params the server captured for `route`. */
|
|
22
|
+
params?: Record<string, string | string[]>;
|
|
19
23
|
/** Assets for hydration bundles and development-only inline CSS. */
|
|
20
24
|
assets?: AssetInfo;
|
|
21
25
|
/** Sets the output mode when exporting. */
|
|
@@ -29,7 +33,7 @@ export type GetStreamingContentOptions = {
|
|
|
29
33
|
export declare function getStreamingContent(location: URL, options: GetStreamingContentOptions & {
|
|
30
34
|
output: 'static';
|
|
31
35
|
}): Promise<string>;
|
|
32
|
-
export declare function getStreamingContent(location: URL, options
|
|
36
|
+
export declare function getStreamingContent(location: URL, options: GetStreamingContentOptions & {
|
|
33
37
|
output?: 'server';
|
|
34
38
|
}): Promise<ReadableStream<Uint8Array>>;
|
|
35
39
|
export { resolveMetadata } from './metadata';
|
|
@@ -159,7 +159,7 @@ function resetReactNavigationContexts() {
|
|
|
159
159
|
function prepareRenderContext(location, options) {
|
|
160
160
|
const headContext = {};
|
|
161
161
|
const Root = (0, _getRootComponent.getRootComponent)();
|
|
162
|
-
const { pathname, params } = (0, _static().
|
|
162
|
+
const { pathname, params } = (0, _static().getRouteInfoForMatchedRoute)(options.route, options.params ?? {}, location);
|
|
163
163
|
const { // NOTE: The `element` that's returned adds two extra Views and
|
|
164
164
|
// the seemingly unused `RootTagContext.Provider`.
|
|
165
165
|
element, getStyleElement } = (0, _static().registerStaticRootComponent)(_exporouter().ExpoRoot, {
|
|
@@ -175,9 +175,9 @@ function prepareRenderContext(location, options) {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
resetReactNavigationContexts();
|
|
178
|
-
const loaderKey = options
|
|
178
|
+
const loaderKey = options.loader ? options.loader.key + location.search : null;
|
|
179
179
|
const loadedData = loaderKey ? {
|
|
180
|
-
[loaderKey]: options
|
|
180
|
+
[loaderKey]: options.loader?.data ?? null
|
|
181
181
|
} : null;
|
|
182
182
|
return {
|
|
183
183
|
headContext,
|
|
@@ -196,12 +196,12 @@ function FontResources() {
|
|
|
196
196
|
async function getStreamingContent(location, options) {
|
|
197
197
|
return _server().withServerContext(async ()=>{
|
|
198
198
|
const { headContext, element, getStyleElement, loadedData } = prepareRenderContext(location, options);
|
|
199
|
-
const { headNodes: cssNodes } = (0, _react1.createInjectedCssAsNodes)((0, _private().normalizeCssAssets)(options
|
|
200
|
-
const faviconNode = options
|
|
201
|
-
const { headNodes: headJsNodes, bodyNodes: bodyJsNodes } = (0, _react1.createInjectedScriptAsNodes)(options
|
|
199
|
+
const { headNodes: cssNodes } = (0, _react1.createInjectedCssAsNodes)((0, _private().normalizeCssAssets)(options.assets));
|
|
200
|
+
const faviconNode = options.assets?.favicon ? (0, _react1.createFaviconAsNode)(options.assets?.favicon) : undefined;
|
|
201
|
+
const { headNodes: headJsNodes, bodyNodes: bodyJsNodes } = (0, _react1.createInjectedScriptAsNodes)(options.assets?.js ?? []);
|
|
202
202
|
const serverDocumentData = {
|
|
203
203
|
headNodes: [
|
|
204
|
-
...options
|
|
204
|
+
...options.metadata?.headNodes ?? [],
|
|
205
205
|
faviconNode,
|
|
206
206
|
getStyleElement({
|
|
207
207
|
key: 'rnw-style-element'
|
|
@@ -216,7 +216,7 @@ async function getStreamingContent(location, options) {
|
|
|
216
216
|
...bodyJsNodes ?? []
|
|
217
217
|
]
|
|
218
218
|
};
|
|
219
|
-
const isStatic = options
|
|
219
|
+
const isStatic = options.output === 'static';
|
|
220
220
|
const renderErrors = [];
|
|
221
221
|
const stream = await _server2().default.renderToReadableStream(/*#__PURE__*/ (0, _jsxruntime().jsx)(_server1().ServerDocument, {
|
|
222
222
|
data: serverDocumentData,
|
|
@@ -230,12 +230,12 @@ async function getStreamingContent(location, options) {
|
|
|
230
230
|
}), {
|
|
231
231
|
progressiveChunkSize: Number.MAX_SAFE_INTEGER,
|
|
232
232
|
bootstrapScriptContent: (0, _react1.getBootstrapContents)({
|
|
233
|
-
hydrate: options
|
|
233
|
+
hydrate: options.hydrate ?? true,
|
|
234
234
|
loadedData
|
|
235
235
|
}) || undefined,
|
|
236
|
-
signal: options
|
|
236
|
+
signal: options.request?.signal,
|
|
237
237
|
onError (error) {
|
|
238
|
-
if (options
|
|
238
|
+
if (options.request?.signal.aborted) {
|
|
239
239
|
return;
|
|
240
240
|
}
|
|
241
241
|
if (isStatic) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["server/renderStreamingContent.tsx"],"sourcesContent":[null],"names":["getStreamingContent","resolveMetadata","debug","createDebug","resetReactNavigationContexts","contexts","globalThis","Map","prepareRenderContext","location","options","headContext","Root","getRootComponent","pathname","params","
|
|
1
|
+
{"version":3,"sources":["server/renderStreamingContent.tsx"],"sourcesContent":[null],"names":["getStreamingContent","resolveMetadata","debug","createDebug","resetReactNavigationContexts","contexts","globalThis","Map","prepareRenderContext","location","options","headContext","Root","getRootComponent","pathname","params","getRouteInfoForMatchedRoute","route","element","getStyleElement","registerStaticRootComponent","ExpoRoot","context","ctx","wrapper","children","div","id","loaderKey","loader","key","search","loadedData","data","FontResources","descriptors","Font","getServerResourceDescriptors","length","createInjectedFontsAsNodes","withServerContext","headNodes","cssNodes","createInjectedCssAsNodes","normalizeCssAssets","assets","faviconNode","favicon","createFaviconAsNode","undefined","headJsNodes","bodyNodes","bodyJsNodes","createInjectedScriptAsNodes","js","serverDocumentData","metadata","filter","Boolean","isStatic","output","renderErrors","stream","ReactDOMServer","renderToReadableStream","ServerDocument","Head","Provider","InnerRoot","progressiveChunkSize","Number","MAX_SAFE_INTEGER","bootstrapScriptContent","getBootstrapContents","hydrate","signal","request","onError","error","aborted","push","console","allReady","Response","text"],"mappings":"AAAA;;;;;CAKC,GACD,kEAAkE;AAClE,gCAAgC;;;;;;;;;;;;;;;;QAqHVA;eAAAA;;QAwEbC;eAAAA,yBAAe;;;;;;;;;;;iEA3LF;;;;;;;yBACG;;;;;;;yBACL;;;;;;;gEACH;;;;;;;yBACc;;;;;;;yBAKxB;;;;;;;yBAC+D;;;;;;;gEAChC;;;;;;;gEACX;;;;;;kCAEM;uBACL;wBAOrB;0BAqKyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAnKhC,MAAMC,QAAQC,IAAAA,kBAAW,EAAC;AAE1B,SAASC;IACP,iDAAiD;IACjD,0JAA0J;IAE1J,8FAA8F;IAC9F,yJAAyJ;IACzJ,MAAMC,WAAW;IAChBC,UAAkB,CAACD,SAAS,GAAG,IAAIE;AACtC;AAwBA,SAASC,qBAAqBC,QAAa,EAAEC,OAAmC;IAC9E,MAAMC,cAAgC,CAAC;IACvC,MAAMC,OAAOC,IAAAA,kCAAgB;IAC7B,MAAM,EAAEC,QAAQ,EAAEC,MAAM,EAAE,GAAGC,IAAAA,qCAA2B,EACtDN,QAAQO,KAAK,EACbP,QAAQK,MAAM,IAAI,CAAC,GACnBN;IA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metro-runtime';
|
|
8
|
-
import type { AssetInfo } from 'expo-server/private';
|
|
8
|
+
import type { AssetInfo, MatchedRoute } from 'expo-server/private';
|
|
9
9
|
export type GetStaticContentOptions = {
|
|
10
10
|
loader?: {
|
|
11
11
|
data?: any;
|
|
@@ -13,9 +13,13 @@ export type GetStaticContentOptions = {
|
|
|
13
13
|
key: string;
|
|
14
14
|
};
|
|
15
15
|
request?: Request;
|
|
16
|
+
/** The route the server matched for `location`. */
|
|
17
|
+
route: MatchedRoute;
|
|
18
|
+
/** The params the server captured for `route`. */
|
|
19
|
+
params?: Record<string, string | string[]>;
|
|
16
20
|
hydrate?: boolean;
|
|
17
21
|
assets?: AssetInfo;
|
|
18
22
|
};
|
|
19
|
-
export declare function getStaticContent(location: URL, options
|
|
23
|
+
export declare function getStaticContent(location: URL, options: GetStaticContentOptions): Promise<string>;
|
|
20
24
|
export { getStreamingContent, resolveMetadata } from '../server/renderStreamingContent';
|
|
21
25
|
export { getBuildTimeServerManifestAsync, getManifest } from './getServerManifest';
|
|
@@ -160,7 +160,7 @@ function resetReactNavigationContexts() {
|
|
|
160
160
|
*/ function prepareRenderContext(location, options) {
|
|
161
161
|
const headContext = {};
|
|
162
162
|
const Root = (0, _getRootComponent.getRootComponent)();
|
|
163
|
-
const { pathname, params } = (0, _static().
|
|
163
|
+
const { pathname, params } = (0, _static().getRouteInfoForMatchedRoute)(options.route, options.params ?? {}, location);
|
|
164
164
|
const { // NOTE: The `element` that's returned adds two extra Views and
|
|
165
165
|
// the seemingly unused `RootTagContext.Provider`.
|
|
166
166
|
element, getStyleElement } = (0, _static().registerStaticRootComponent)(_exporouter().ExpoRoot, {
|
|
@@ -178,9 +178,9 @@ function resetReactNavigationContexts() {
|
|
|
178
178
|
// This MUST be run before `ReactDOMServer.renderToString` to prevent
|
|
179
179
|
// "Warning: Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
|
|
180
180
|
resetReactNavigationContexts();
|
|
181
|
-
const loaderKey = options
|
|
181
|
+
const loaderKey = options.loader ? options.loader.key + location.search : null;
|
|
182
182
|
const loadedData = loaderKey ? {
|
|
183
|
-
[loaderKey]: options
|
|
183
|
+
[loaderKey]: options.loader?.data ?? null
|
|
184
184
|
} : null;
|
|
185
185
|
return {
|
|
186
186
|
headContext,
|
|
@@ -211,8 +211,8 @@ async function getStaticContent(location, options) {
|
|
|
211
211
|
output = output.replace('</head>', `${(0, _html.createLoaderDataScriptAsString)(loadedData)}</head>`);
|
|
212
212
|
}
|
|
213
213
|
output = (0, _html.injectAssetsIntoHtml)(output, {
|
|
214
|
-
assets: options
|
|
215
|
-
hydrate: options
|
|
214
|
+
assets: options.assets,
|
|
215
|
+
hydrate: options.hydrate
|
|
216
216
|
});
|
|
217
217
|
return '<!DOCTYPE html>' + output;
|
|
218
218
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["static/renderStaticContent.tsx"],"sourcesContent":[null],"names":["getBuildTimeServerManifestAsync","getManifest","getStaticContent","getStreamingContent","resolveMetadata","debug","createDebug","resetReactNavigationContexts","contexts","globalThis","Map","prepareRenderContext","location","options","headContext","Root","getRootComponent","pathname","params","
|
|
1
|
+
{"version":3,"sources":["static/renderStaticContent.tsx"],"sourcesContent":[null],"names":["getBuildTimeServerManifestAsync","getManifest","getStaticContent","getStreamingContent","resolveMetadata","debug","createDebug","resetReactNavigationContexts","contexts","globalThis","Map","prepareRenderContext","location","options","headContext","Root","getRootComponent","pathname","params","getRouteInfoForMatchedRoute","route","element","getStyleElement","registerStaticRootComponent","ExpoRoot","context","ctx","wrapper","children","div","id","loaderKey","loader","key","search","loadedData","data","Font","withServerContext","html","ReactDOMServer","renderToString","Head","Provider","InnerRoot","css","renderToStaticMarkup","output","mixHeadComponentsWithStaticResults","helmet","replace","fonts","getServerResources","length","join","createLoaderDataScriptAsString","injectAssetsIntoHtml","assets","hydrate","headTags","htmlAttributes","bodyAttributes","serializeHelmetToHtml"],"mappings":"AAAA;;;;;CAKC;;;;;;;;;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AAOA,KAAKW,OAAO,CAAC,UAAU,CAAC,MAAM,EAAES,UAAU;IACnD;IAEA,aAAa;IACbpB,OAAOA,KAAKW,OAAO,CAAC,UAAU,CAAC,MAAM,EAAEU,eAAe,CAAC,CAAC;IACxDrB,OAAOA,KAAKW,OAAO,CAAC,UAAU,CAAC,MAAM,EAAEW,eAAe,CAAC,CAAC;IAExD,OAAOtB;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/router-server",
|
|
3
|
-
"version": "58.0.
|
|
3
|
+
"version": "58.0.17",
|
|
4
4
|
"description": "Expo Router is a file-based router for React Native and web applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"debug": "^4.3.4"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@expo/internal-scripts": "58.0.
|
|
33
|
+
"@expo/internal-scripts": "58.0.4",
|
|
34
34
|
"@types/debug": "^4.1.7",
|
|
35
35
|
"@types/jest": "^30.0.0",
|
|
36
36
|
"@types/node": "^22.14.0",
|
|
@@ -38,17 +38,17 @@
|
|
|
38
38
|
"@types/react-dom": "^19.1.7",
|
|
39
39
|
"@typescript/vfs": "^1.6.4",
|
|
40
40
|
"expect-type": "^1.3.0",
|
|
41
|
-
"expo-router": "58.0.
|
|
41
|
+
"expo-router": "58.0.26",
|
|
42
42
|
"node-html-parser": "^6.1.5",
|
|
43
43
|
"react-server-dom-webpack": "~19.0.8"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@expo/metro-runtime": "^58.0.
|
|
46
|
+
"@expo/metro-runtime": "^58.0.15",
|
|
47
47
|
"expo": "*",
|
|
48
|
-
"expo-constants": "^58.0.
|
|
49
|
-
"expo-font": "^58.0.
|
|
48
|
+
"expo-constants": "^58.0.13",
|
|
49
|
+
"expo-font": "^58.0.10",
|
|
50
50
|
"expo-router": "*",
|
|
51
|
-
"expo-server": "^58.0.
|
|
51
|
+
"expo-server": "^58.0.6",
|
|
52
52
|
"react": "*",
|
|
53
53
|
"react-dom": "*",
|
|
54
54
|
"react-server-dom-webpack": "~19.0.1 || ~19.1.2 || ~19.2.1 || ~19.3.0"
|