@rspress/plugin-medium-zoom 0.0.0-nightly-20241214160222 → 0.0.0-nightly-20241216160245
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.js +1 -3
- package/package.json +8 -8
package/dist/index.js
CHANGED
@@ -17,9 +17,7 @@ function normalizePosixPath(id) {
|
|
17
17
|
if (isAbsolutePath) normalizedPath = `/${normalizedPath}`;
|
18
18
|
return normalizedPath;
|
19
19
|
}
|
20
|
-
|
21
|
-
* The plugin is used to add medium-zoom to the doc site.
|
22
|
-
*/ function pluginMediumZoom(options = {}) {
|
20
|
+
function pluginMediumZoom(options = {}) {
|
23
21
|
const __dirname = normalizePosixPath(__WEBPACK_EXTERNAL_MODULE_node_path__["default"].dirname((0, __WEBPACK_EXTERNAL_MODULE_node_url__.fileURLToPath)(import.meta.url)));
|
24
22
|
return {
|
25
23
|
name: '@rspress/plugin-medium-zoom',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@rspress/plugin-medium-zoom",
|
3
|
-
"version": "0.0.0-nightly-
|
3
|
+
"version": "0.0.0-nightly-20241216160245",
|
4
4
|
"description": "A plugin for rspress to zoom images in docs.",
|
5
5
|
"bugs": "https://github.com/web-infra-dev/rspress/issues",
|
6
6
|
"repository": {
|
@@ -18,19 +18,19 @@
|
|
18
18
|
"node": ">=14.17.6"
|
19
19
|
},
|
20
20
|
"devDependencies": {
|
21
|
-
"@microsoft/api-extractor": "^7.48.
|
22
|
-
"@modern-js/tsconfig": "2.63.
|
23
|
-
"@rslib/core": "0.1.
|
21
|
+
"@microsoft/api-extractor": "^7.48.1",
|
22
|
+
"@modern-js/tsconfig": "2.63.2",
|
23
|
+
"@rslib/core": "0.1.4",
|
24
24
|
"@types/node": "^18.11.17",
|
25
|
-
"@types/react": "^18.3.
|
26
|
-
"@types/react-dom": "^18.3.
|
25
|
+
"@types/react": "^18.3.16",
|
26
|
+
"@types/react-dom": "^18.3.5",
|
27
27
|
"react": "^18.3.1",
|
28
28
|
"typescript": "^5.5.3",
|
29
29
|
"vitest": "2.1.8",
|
30
|
-
"@rspress/shared": "0.0.0-nightly-
|
30
|
+
"@rspress/shared": "0.0.0-nightly-20241216160245"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
|
-
"@rspress/runtime": "0.0.0-nightly-
|
33
|
+
"@rspress/runtime": "0.0.0-nightly-20241216160245"
|
34
34
|
},
|
35
35
|
"sideEffects": [
|
36
36
|
"*.css",
|