@rspress/plugin-medium-zoom 1.40.0 → 1.40.1

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.d.ts CHANGED
@@ -501,7 +501,7 @@ declare interface SocialLink {
501
501
  content: string;
502
502
  }
503
503
 
504
- declare type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'x' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | 'X' | {
504
+ declare type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'x' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | 'X' | 'bluesky' | {
505
505
  svg: string;
506
506
  };
507
507
 
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import * as __WEBPACK_EXTERNAL_MODULE_node_path__ from "node:path";
2
- import * as __WEBPACK_EXTERNAL_MODULE_node_url__ from "node:url";
1
+ import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
2
+ import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
3
3
  function slash(str) {
4
4
  return str.replace(/\\/g, "/");
5
5
  }
@@ -18,12 +18,12 @@ function normalizePosixPath(id) {
18
18
  return normalizedPath;
19
19
  }
20
20
  function pluginMediumZoom(options = {}) {
21
- const __dirname = normalizePosixPath(__WEBPACK_EXTERNAL_MODULE_node_path__["default"].dirname((0, __WEBPACK_EXTERNAL_MODULE_node_url__.fileURLToPath)(import.meta.url)));
21
+ const __dirname = normalizePosixPath(__WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].dirname((0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.fileURLToPath)(import.meta.url)));
22
22
  return {
23
23
  name: '@rspress/plugin-medium-zoom',
24
24
  globalUIComponents: [
25
25
  [
26
- __WEBPACK_EXTERNAL_MODULE_node_path__["default"].posix.join(__dirname, '../src/components/MediumZoom.tsx'),
26
+ __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__["default"].posix.join(__dirname, '../src/components/MediumZoom.tsx'),
27
27
  options
28
28
  ]
29
29
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-medium-zoom",
3
- "version": "1.40.0",
3
+ "version": "1.40.1",
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": {
@@ -28,18 +28,18 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@microsoft/api-extractor": "^7.49.1",
31
- "@modern-js/tsconfig": "2.63.6",
32
- "@rslib/core": "0.2.2",
31
+ "@modern-js/tsconfig": "2.63.7",
32
+ "@rslib/core": "0.3.2",
33
33
  "@types/node": "^18.11.17",
34
34
  "@types/react": "^18.3.18",
35
35
  "@types/react-dom": "^18.3.5",
36
36
  "react": "^18.3.1",
37
37
  "typescript": "^5.5.3",
38
38
  "vitest": "2.1.8",
39
- "@rspress/shared": "1.40.0"
39
+ "@rspress/shared": "1.40.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@rspress/runtime": "^1.40.0"
42
+ "@rspress/runtime": "^1.40.1"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=14.17.6"