@rspress/shared 2.0.0-beta.10 → 2.0.0-beta.11

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/index.d.ts CHANGED
@@ -331,7 +331,7 @@ export declare type LocalSearchOptions = SearchHooks & {
331
331
  versioned?: boolean;
332
332
  /**
333
333
  * If enabled, the search index will include code block content, which allows users to search code blocks.
334
- * @default false
334
+ * @default true
335
335
  */
336
336
  codeBlocks?: boolean;
337
337
  };
@@ -306,7 +306,7 @@ declare type LocalSearchOptions = SearchHooks & {
306
306
  versioned?: boolean;
307
307
  /**
308
308
  * If enabled, the search index will include code block content, which allows users to search code blocks.
309
- * @default false
309
+ * @default true
310
310
  */
311
311
  codeBlocks?: boolean;
312
312
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/shared",
3
- "version": "2.0.0-beta.10",
3
+ "version": "2.0.0-beta.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/web-infra-dev/rspress.git",
@@ -43,7 +43,7 @@
43
43
  "@types/jest": "~29.5.14",
44
44
  "@types/lodash-es": "^4.17.12",
45
45
  "@types/node": "^22.8.1",
46
- "@types/react": "^18.3.22",
46
+ "@types/react": "^19.1.6",
47
47
  "mdast-util-mdx-jsx": "^3.2.0",
48
48
  "medium-zoom": "1.1.0",
49
49
  "rimraf": "^6.0.1",