@rspress/plugin-playground 1.41.0 → 1.41.2

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.
@@ -207,12 +207,12 @@ var __webpack_exports__ = {};
207
207
  var external_node_fs_default = /*#__PURE__*/ __webpack_require__.n(external_node_fs_namespaceObject);
208
208
  const external_node_path_namespaceObject = require("node:path");
209
209
  var external_node_path_default = /*#__PURE__*/ __webpack_require__.n(external_node_path_namespaceObject);
210
+ const external_rspack_plugin_virtual_module_namespaceObject = require("rspack-plugin-virtual-module");
210
211
  const DEFAULT_BABEL_URL = 'https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.22.20/babel.min.js';
211
212
  const DEFAULT_MONACO_URL = 'https://cdnjs.cloudflare.com/ajax/libs/monaco-editor/0.43.0/min/vs';
212
213
  function normalizeUrl(u) {
213
214
  return u.replace(/\/\//g, '/');
214
215
  }
215
- const external_rspack_plugin_virtual_module_namespaceObject = require("rspack-plugin-virtual-module");
216
216
  const staticPath = external_node_path_default().join(__dirname, '../../../static');
217
217
  var lib = __webpack_require__("../../node_modules/.pnpm/unist-util-visit@4.1.2/node_modules/unist-util-visit/lib/index.js");
218
218
  const napi_namespaceObject = require("@oxidation-compiler/napi");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-playground",
3
- "version": "1.41.0",
3
+ "version": "1.41.2",
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": {
@@ -34,11 +34,11 @@
34
34
  "@oxidation-compiler/napi": "^0.2.0",
35
35
  "remark-gfm": "3.0.1",
36
36
  "rspack-plugin-virtual-module": "0.1.13",
37
- "@rspress/shared": "1.41.0"
37
+ "@rspress/shared": "1.41.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "@babel/types": "^7.26.7",
41
- "@rslib/core": "0.4.0",
41
+ "@rslib/core": "0.4.1",
42
42
  "@types/babel__core": "^7.20.5",
43
43
  "@types/babel__standalone": "^7.1.9",
44
44
  "@types/babel__traverse": "^7.20.6",
@@ -54,7 +54,7 @@
54
54
  "unist-util-visit": "^4.1.2"
55
55
  },
56
56
  "peerDependencies": {
57
- "@rspress/core": "^1.41.0",
57
+ "@rspress/core": "^1.41.2",
58
58
  "react": ">=17.0.0",
59
59
  "react-router-dom": "^6.8.1"
60
60
  },
@@ -69,7 +69,6 @@
69
69
  "scripts": {
70
70
  "build": "rslib build",
71
71
  "dev": "rslib build -w",
72
- "reset": "rimraf ./**/node_modules",
73
- "test": "vitest run --passWithNoTests"
72
+ "reset": "rimraf ./**/node_modules"
74
73
  }
75
74
  }
@@ -1,4 +1,4 @@
1
- /// <reference types='@modern-js/module-tools/types' />
1
+ /// <reference types='@rslib/core/types' />
2
2
 
3
3
  declare module '_rspress_playground_imports' {
4
4
  const getImport: (name: string, getDefault?: boolean) => void;