@rspress/plugin-playground 2.0.0-beta.26 → 2.0.0-beta.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-playground",
3
- "version": "2.0.0-beta.26",
3
+ "version": "2.0.0-beta.28",
4
4
  "description": "A plugin for rspress to preview the code block in markdown/mdx file.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -37,13 +37,13 @@
37
37
  "devDependencies": {
38
38
  "@babel/types": "^7.28.2",
39
39
  "@rsbuild/plugin-react": "~1.3.5",
40
- "@rslib/core": "0.11.2",
40
+ "@rslib/core": "0.12.1",
41
41
  "@types/babel__core": "^7.20.5",
42
42
  "@types/babel__standalone": "^7.1.9",
43
43
  "@types/babel__traverse": "^7.28.0",
44
44
  "@types/mdast": "^4.0.4",
45
45
  "@types/node": "^22.8.1",
46
- "@types/react": "^19.1.9",
46
+ "@types/react": "^19.1.10",
47
47
  "@types/react-dom": "^19.1.7",
48
48
  "mdast-util-mdx-jsx": "^3.2.0",
49
49
  "react": "^19.1.1",
@@ -52,10 +52,10 @@
52
52
  "rsbuild-plugin-publint": "^0.3.3",
53
53
  "typescript": "^5.8.2",
54
54
  "unified": "^11.0.5",
55
- "@rspress/plugin-playground": "2.0.0-beta.26"
55
+ "@rspress/plugin-playground": "2.0.0-beta.28"
56
56
  },
57
57
  "peerDependencies": {
58
- "@rspress/core": "^2.0.0-beta.26",
58
+ "@rspress/core": "^2.0.0-beta.28",
59
59
  "react": ">=18.0.0",
60
60
  "react-router-dom": "^6.8.1"
61
61
  },
@@ -1,6 +1,6 @@
1
1
  import { usePageData } from '@rspress/core/runtime';
2
2
  import { Editor, Runner } from '@rspress/plugin-playground/web';
3
- // @ts-ignore Cannot find module _rspress_playground_imports
3
+ // @ts-expect-error Cannot find module _rspress_playground_imports
4
4
  import getImport from '_rspress_playground_imports';
5
5
  import {
6
6
  type HTMLAttributes,