@expo/router-server 58.0.16 → 58.0.18
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 +12 -11
- package/build/server/renderStreamingContent.js.map +1 -1
- package/build/static/renderStaticContent.d.ts +6 -2
- package/build/static/renderStaticContent.js +6 -5
- package/build/static/renderStaticContent.js.map +1 -1
- package/package.json +4 -4
|
@@ -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, searchParams } = (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,10 @@ function prepareRenderContext(location, options) {
|
|
|
175
175
|
})
|
|
176
176
|
});
|
|
177
177
|
resetReactNavigationContexts();
|
|
178
|
-
const
|
|
178
|
+
const search = searchParams.toString();
|
|
179
|
+
const loaderKey = options.loader ? options.loader.key + (search ? `?${search}` : '') : null;
|
|
179
180
|
const loadedData = loaderKey ? {
|
|
180
|
-
[loaderKey]: options
|
|
181
|
+
[loaderKey]: options.loader?.data ?? null
|
|
181
182
|
} : null;
|
|
182
183
|
return {
|
|
183
184
|
headContext,
|
|
@@ -196,12 +197,12 @@ function FontResources() {
|
|
|
196
197
|
async function getStreamingContent(location, options) {
|
|
197
198
|
return _server().withServerContext(async ()=>{
|
|
198
199
|
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
|
|
200
|
+
const { headNodes: cssNodes } = (0, _react1.createInjectedCssAsNodes)((0, _private().normalizeCssAssets)(options.assets));
|
|
201
|
+
const faviconNode = options.assets?.favicon ? (0, _react1.createFaviconAsNode)(options.assets?.favicon) : undefined;
|
|
202
|
+
const { headNodes: headJsNodes, bodyNodes: bodyJsNodes } = (0, _react1.createInjectedScriptAsNodes)(options.assets?.js ?? []);
|
|
202
203
|
const serverDocumentData = {
|
|
203
204
|
headNodes: [
|
|
204
|
-
...options
|
|
205
|
+
...options.metadata?.headNodes ?? [],
|
|
205
206
|
faviconNode,
|
|
206
207
|
getStyleElement({
|
|
207
208
|
key: 'rnw-style-element'
|
|
@@ -216,7 +217,7 @@ async function getStreamingContent(location, options) {
|
|
|
216
217
|
...bodyJsNodes ?? []
|
|
217
218
|
]
|
|
218
219
|
};
|
|
219
|
-
const isStatic = options
|
|
220
|
+
const isStatic = options.output === 'static';
|
|
220
221
|
const renderErrors = [];
|
|
221
222
|
const stream = await _server2().default.renderToReadableStream(/*#__PURE__*/ (0, _jsxruntime().jsx)(_server1().ServerDocument, {
|
|
222
223
|
data: serverDocumentData,
|
|
@@ -230,12 +231,12 @@ async function getStreamingContent(location, options) {
|
|
|
230
231
|
}), {
|
|
231
232
|
progressiveChunkSize: Number.MAX_SAFE_INTEGER,
|
|
232
233
|
bootstrapScriptContent: (0, _react1.getBootstrapContents)({
|
|
233
|
-
hydrate: options
|
|
234
|
+
hydrate: options.hydrate ?? true,
|
|
234
235
|
loadedData
|
|
235
236
|
}) || undefined,
|
|
236
|
-
signal: options
|
|
237
|
+
signal: options.request?.signal,
|
|
237
238
|
onError (error) {
|
|
238
|
-
if (options
|
|
239
|
+
if (options.request?.signal.aborted) {
|
|
239
240
|
return;
|
|
240
241
|
}
|
|
241
242
|
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","searchParams","getRouteInfoForMatchedRoute","route","element","getStyleElement","registerStaticRootComponent","ExpoRoot","context","ctx","wrapper","children","div","id","search","toString","loaderKey","loader","key","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;;;;;;;;;;;;;;;;QAsHVA;eAAAA;;QAwEbC;eAAAA,yBAAe;;;;;;;;;;;iEA5LF;;;;;;;yBACG;;;;;;;yBACL;;;;;;;gEACH;;;;;;;yBACc;;;;;;;yBAKxB;;;;;;;yBAC+D;;;;;;;gEAChC;;;;;;;gEACX;;;;;;kCAEM;uBACL;wBAOrB;0BAsKyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AApKhC,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,EAAEC,YAAY,EAAE,GAAGC,IAAAA,qCAA2B,EACp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;QAClC;QACA,OAAOtB;IACT;AACF"}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import '@expo/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, searchParams } = (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,10 @@ 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
|
|
181
|
+
const search = searchParams.toString();
|
|
182
|
+
const loaderKey = options.loader ? options.loader.key + (search ? `?${search}` : '') : null;
|
|
182
183
|
const loadedData = loaderKey ? {
|
|
183
|
-
[loaderKey]: options
|
|
184
|
+
[loaderKey]: options.loader?.data ?? null
|
|
184
185
|
} : null;
|
|
185
186
|
return {
|
|
186
187
|
headContext,
|
|
@@ -211,8 +212,8 @@ async function getStaticContent(location, options) {
|
|
|
211
212
|
output = output.replace('</head>', `${(0, _html.createLoaderDataScriptAsString)(loadedData)}</head>`);
|
|
212
213
|
}
|
|
213
214
|
output = (0, _html.injectAssetsIntoHtml)(output, {
|
|
214
|
-
assets: options
|
|
215
|
-
hydrate: options
|
|
215
|
+
assets: options.assets,
|
|
216
|
+
hydrate: options.hydrate
|
|
216
217
|
});
|
|
217
218
|
return '<!DOCTYPE html>' + output;
|
|
218
219
|
});
|
|
@@ -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","searchParams","getRouteInfoForMatchedRoute","route","element","getStyleElement","registerStaticRootComponent","ExpoRoot","context","ctx","wrapper","children","div","id","search","toString","loaderKey","loader","key","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;;;;;;;;;;;;;;;;;;QAmJQA;eAAAA,kDAA+B;;QAAEC;eAAAA,8BAAW;;QArD/BC;eAAAA;;QAoDbC;eAAAA,2CAAmB;;QAAEC;eAAAA,uCAAe;;;;;;;;;;QAjJtC;;iEACe;;;;;;;yBACG;;;;;;;yBACL;;;;;;;gEACH;;;;;;;yBAKV;;;;;;;gEAEW;;;;;;;gEACS;;;;;;uBAEC;sBAKrB;kCAC0B;wCA6HoB;mCACQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5H7D,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;AAiBA;;;CAGC,GACD,SAASC,qBAAqBC,QAAa,EAAEC,OAAgC;IAC3E,MAAMC,cAAgC,CAAC;IACvC,MAAMC,OAAOC,IAAAA,kCAAgB;IAC7B,MAAM,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,YAAY,EAAE,GAAGC,IAAAA,qCAA2B,EACpEP,QAAQQ,KAAK,EACbR,QAAQK,MAAM,IAAI,CAAC,GACnBN;IAGF,MAAM,EACJ,+DAA+D;IAC/D,kDAAkD;IAClDU,OAAO,EACPC,eAAe,EAChB,GAAGC,IAAAA,qCAA2B,EAACC,sBAAQ,EAAE;QACxCb;QACAc,SAASC,UAAG;QACZC,SAAS,CAAC,EAAEC,QAAQ,EAA6B,iBAC/C,uBAACd;gBAAKE,UAAUA;gBAAUC,QAAQA;0BAChC,cAAA,uBAACY;oBAAIC,IAAG;8BAAQF;;;IAG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AAEU,QAAQ9C,QAAQ8C,MAAM;YAAEC,SAAS/C,QAAQ+C,OAAO;QAAC;QAEzF,OAAO,oBAAoBX;IAC7B;AACF;AAEA,SAASC,mCAAmCC,MAAW,EAAEV,IAAY;IACnE,MAAM,EAAEoB,QAAQ,EAAEC,cAAc,EAAEC,cAAc,EAAE,GAAGC,IAAAA,2BAAqB,EAACb;IAE3E,IAAIU,UAAU;QACZpB,OAAOA,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.18",
|
|
4
4
|
"description": "Expo Router is a file-based router for React Native and web applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"expo",
|
|
@@ -38,7 +38,7 @@
|
|
|
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.27",
|
|
42
42
|
"node-html-parser": "^6.1.5",
|
|
43
43
|
"react-server-dom-webpack": "~19.0.8"
|
|
44
44
|
},
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@expo/metro-runtime": "^58.0.15",
|
|
47
47
|
"expo": "*",
|
|
48
48
|
"expo-constants": "^58.0.13",
|
|
49
|
-
"expo-font": "^58.0.
|
|
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"
|