@rspress/plugin-preview 2.0.14 → 2.0.16

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/index.js +1 -1
  2. package/package.json +7 -8
package/dist/index.js CHANGED
@@ -282,7 +282,7 @@ function parsePreviewInfoFromMeta(options) {
282
282
  else result.previewMode = defaultPreviewMode;
283
283
  return result;
284
284
  }
285
- if (meta.includes('iframe')) previewLogger.warn('The "iframe" meta is deprecated, please use \`\`\`tsx preview="iframe-fixed" or \`\`\`tsx preview="iframe-follow" instead.');
285
+ if (meta.includes('iframe')) previewLogger.warn('The "iframe" meta is deprecated, please use ```tsx preview="iframe-fixed" or ```tsx preview="iframe-follow" instead.');
286
286
  if ('preview' === defaultRenderMode) {
287
287
  result.isPreview = true;
288
288
  result.previewMode = defaultPreviewMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-preview",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
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": {
@@ -23,23 +23,22 @@
23
23
  "static"
24
24
  ],
25
25
  "dependencies": {
26
- "@rsbuild/core": "^2.0.9",
27
- "@rsbuild/plugin-babel": "~1.2.1",
26
+ "@rsbuild/core": "^2.0.15",
28
27
  "@rsbuild/plugin-react": "~2.0.1",
29
28
  "picocolors": "^1.1.1",
30
29
  "qrcode.react": "^4.2.0"
31
30
  },
32
31
  "devDependencies": {
33
- "@rslib/core": "0.22.0",
32
+ "@rslib/core": "0.23.0",
34
33
  "@types/mdast": "^4.0.4",
35
34
  "@types/node": "^22.8.1",
36
- "@types/react": "^19.2.15",
35
+ "@types/react": "^19.2.17",
37
36
  "@types/react-dom": "^19.2.3",
38
37
  "mdast-util-mdx-jsx": "^3.2.0",
39
38
  "mdast-util-mdxjs-esm": "^2.0.1",
40
- "react": "^19.2.6",
41
- "react-dom": "^19.2.6",
42
- "rsbuild-plugin-publint": "^0.3.4",
39
+ "react": "^19.2.7",
40
+ "react-dom": "^19.2.7",
41
+ "rsbuild-plugin-publint": "^1.0.0",
43
42
  "typescript": "^6.0.3",
44
43
  "unified": "^11.0.5",
45
44
  "unist-util-visit": "^5.1.0"