@umijs/server 4.0.0-canary.20240514.2 → 4.0.0-canary.20240515.1

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/ssr.d.ts CHANGED
@@ -26,6 +26,7 @@ interface CreateRequestHandlerOptions extends CreateRequestServerlessOptions {
26
26
  helmetContext?: any;
27
27
  ServerInsertedHTMLContext: React.Context<ServerInsertedHTMLHook | null>;
28
28
  htmlPageOpts: IhtmlPageOpts;
29
+ renderFromRoot: boolean;
29
30
  __SPECIAL_HTML_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: boolean;
30
31
  mountElementId: string;
31
32
  }
package/dist/ssr.js CHANGED
@@ -124,6 +124,7 @@ function createJSXGenerator(opts) {
124
124
  manifest,
125
125
  loaderData,
126
126
  htmlPageOpts: opts.htmlPageOpts,
127
+ renderFromRoot: opts.renderFromRoot,
127
128
  __SPECIAL_HTML_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: opts.__SPECIAL_HTML_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
128
129
  mountElementId: opts.mountElementId
129
130
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/server",
3
- "version": "4.0.0-canary.20240514.2",
3
+ "version": "4.0.0-canary.20240515.1",
4
4
  "description": "@umijs/server",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/server#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -16,10 +16,10 @@
16
16
  ],
17
17
  "dependencies": {
18
18
  "history": "5.3.0",
19
- "react": "18.1.0",
20
- "react-dom": "18.1.0",
19
+ "react": "18.3.1",
20
+ "react-dom": "18.3.1",
21
21
  "react-router-dom": "6.3.0",
22
- "@umijs/bundler-utils": "4.0.0-canary.20240514.2"
22
+ "@umijs/bundler-utils": "4.0.0-canary.20240515.1"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"