@rspress/plugin-playground 2.0.7 → 2.0.8
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/cli/index.js +2 -2
- package/package.json +5 -5
package/dist/cli/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
2
|
-
import { dirname as __rspack_dirname } from "node:path";
|
|
3
1
|
import node_fs from "node:fs";
|
|
4
2
|
import node_path, { join, resolve } from "node:path";
|
|
5
3
|
import { getNodeAttribute } from "@rspress/core";
|
|
6
4
|
import { RspackVirtualModulePlugin } from "rspack-plugin-virtual-module";
|
|
7
5
|
import { visit as external_unist_util_visit_visit } from "unist-util-visit";
|
|
8
6
|
import napi from "@oxidation-compiler/napi";
|
|
7
|
+
import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
|
|
8
|
+
import { dirname as __rspack_dirname } from "node:path";
|
|
9
9
|
const DEFAULT_BABEL_URL = 'https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.22.20/babel.min.js';
|
|
10
10
|
const DEFAULT_MONACO_URL = 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.43.0/min/vs';
|
|
11
11
|
const parseImports = (code, sourceExt)=>{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rspress/plugin-playground",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.8",
|
|
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,7 +37,7 @@
|
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@babel/types": "^7.29.0",
|
|
39
39
|
"@rsbuild/plugin-react": "~1.4.6",
|
|
40
|
-
"@rslib/core": "0.20.
|
|
40
|
+
"@rslib/core": "0.20.2",
|
|
41
41
|
"@types/babel__core": "^7.20.5",
|
|
42
42
|
"@types/babel__standalone": "^7.1.9",
|
|
43
43
|
"@types/babel__traverse": "^7.28.0",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
49
49
|
"react": "^19.2.4",
|
|
50
50
|
"react-dom": "^19.2.4",
|
|
51
|
-
"react-router-dom": "^7.13.
|
|
51
|
+
"react-router-dom": "^7.13.2",
|
|
52
52
|
"rsbuild-plugin-publint": "^0.3.4",
|
|
53
53
|
"typescript": "^5.8.2",
|
|
54
54
|
"unified": "^11.0.5",
|
|
55
|
-
"@rspress/plugin-playground": "2.0.
|
|
55
|
+
"@rspress/plugin-playground": "2.0.8"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@rspress/core": "^2.0.
|
|
58
|
+
"@rspress/core": "^2.0.8",
|
|
59
59
|
"react": ">=18.0.0",
|
|
60
60
|
"react-router-dom": "^6.8.1"
|
|
61
61
|
},
|