@rspress/runtime 2.0.0-beta.5 → 2.0.0-beta.7

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.
Files changed (2) hide show
  1. package/dist/Content.js +0 -1
  2. package/package.json +7 -7
package/dist/Content.js CHANGED
@@ -15,7 +15,6 @@ const Content = ({ fallback = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_
15
15
  const matched = (0, __WEBPACK_EXTERNAL_MODULE__route_js_d0361f8a__.pathnameToRouteService)(pathname);
16
16
  if (!matched) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {});
17
17
  const routesElement = matched.element;
18
- if (!process.env.__REACT_GTE_18__ && process.env.__SSR__) return routesElement;
19
18
  return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_react__.Suspense, {
20
19
  fallback: fallback,
21
20
  children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(TransitionContent, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/runtime",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-beta.7",
4
4
  "description": "The Runtime of Rspress Documentation Framework",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -36,19 +36,19 @@
36
36
  "server.d.ts"
37
37
  ],
38
38
  "dependencies": {
39
- "@unhead/react": "^2.0.0",
39
+ "@unhead/react": "^2.0.10",
40
40
  "react": "^19.1.0",
41
41
  "react-dom": "^19.1.0",
42
42
  "react-router-dom": "^6.29.0",
43
- "@rspress/shared": "2.0.0-beta.5"
43
+ "@rspress/shared": "2.0.0-beta.7"
44
44
  },
45
45
  "devDependencies": {
46
- "@rsbuild/plugin-react": "~1.3.0",
47
- "@rslib/core": "0.6.8",
46
+ "@rsbuild/plugin-react": "~1.3.1",
47
+ "@rslib/core": "0.8.0",
48
48
  "@types/jest": "~29.5.14",
49
- "@types/react": "^18.3.21",
49
+ "@types/react": "^18.3.22",
50
50
  "@types/react-dom": "^18.3.7",
51
- "rsbuild-plugin-publint": "^0.3.1",
51
+ "rsbuild-plugin-publint": "^0.3.2",
52
52
  "typescript": "^5.8.2",
53
53
  "@rspress/config": "1.0.0"
54
54
  },