@cedarjs/prerender 8.0.0-canary.3628 → 8.0.0-canary.3629

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.
@@ -1,3 +1,4 @@
1
+ import { jsx } from "react/jsx-runtime";
1
2
  import fs from "node:fs";
2
3
  import path from "node:path";
3
4
  import React from "react";
@@ -99,7 +100,7 @@ async function recursivelyRender(args) {
99
100
  );
100
101
  const prerenderUrl = process.env.RWJS_PRERENDER_ORIGIN || "http://localhost" + renderPath;
101
102
  const componentAsHtml = ReactDOMServer.renderToString(
102
- /* @__PURE__ */ React.createElement(LocationProvider, { location: new URL(prerenderUrl) }, /* @__PURE__ */ React.createElement(CellCacheContextProvider, { queryCache }, /* @__PURE__ */ React.createElement(App, null, /* @__PURE__ */ React.createElement(Routes, null))))
103
+ /* @__PURE__ */ jsx(LocationProvider, { location: new URL(prerenderUrl), children: /* @__PURE__ */ jsx(CellCacheContextProvider, { queryCache, children: /* @__PURE__ */ jsx(App, { children: /* @__PURE__ */ jsx(Routes, {}) }) }) })
103
104
  );
104
105
  if (Object.values(queryCache).some((value) => !value.hasProcessed)) {
105
106
  return recursivelyRender(args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/prerender",
3
- "version": "8.0.0-canary.3628",
3
+ "version": "8.0.0-canary.3629",
4
4
  "description": "CedarJS prerender",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,9 +41,9 @@
41
41
  "@babel/parser": "7.29.12",
42
42
  "@babel/traverse": "7.29.12",
43
43
  "@babel/types": "7.29.11",
44
- "@cedarjs/project-config": "8.0.0-canary.3628",
45
- "@cedarjs/structure": "8.0.0-canary.3628",
46
- "@cedarjs/vite": "8.0.0-canary.3628",
44
+ "@cedarjs/project-config": "8.0.0-canary.3629",
45
+ "@cedarjs/structure": "8.0.0-canary.3629",
46
+ "@cedarjs/vite": "8.0.0-canary.3629",
47
47
  "@rollup/plugin-alias": "5.1.1",
48
48
  "@rollup/plugin-commonjs": "28.0.9",
49
49
  "@rollup/plugin-node-resolve": "16.0.3",
@@ -59,9 +59,9 @@
59
59
  "vite": "7.3.7"
60
60
  },
61
61
  "devDependencies": {
62
- "@cedarjs/framework-tools": "8.0.0-canary.3628",
63
- "@cedarjs/router": "8.0.0-canary.3628",
64
- "@cedarjs/web": "8.0.0-canary.3628",
62
+ "@cedarjs/framework-tools": "8.0.0-canary.3629",
63
+ "@cedarjs/router": "8.0.0-canary.3629",
64
+ "@cedarjs/web": "8.0.0-canary.3629",
65
65
  "@types/mime-types": "2.1.4",
66
66
  "@types/react": "^19.2.0",
67
67
  "concurrently": "9.2.5",
@@ -70,8 +70,8 @@
70
70
  "vitest": "5.1.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "@cedarjs/router": "8.0.0-canary.3628",
74
- "@cedarjs/web": "8.0.0-canary.3628",
73
+ "@cedarjs/router": "8.0.0-canary.3629",
74
+ "@cedarjs/web": "8.0.0-canary.3629",
75
75
  "react": "19.3.1",
76
76
  "react-dom": "19.3.1"
77
77
  },