@rspress/plugin-api-docgen 1.41.2 → 1.42.0

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 +3 -3
package/dist/index.js CHANGED
@@ -148,7 +148,7 @@ var __webpack_exports__ = {};
148
148
  else apiDocMap[key] = generateTable(componentDoc, 'en');
149
149
  }
150
150
  } catch (e) {
151
- if (e instanceof Error) logger_namespaceObject.logger.error('[module-doc-plugin]', `Generate API table error: ${e.message}`);
151
+ if (e instanceof Error) logger_namespaceObject.logger.error('[module-doc-plugin]', 'Generate API table error:\n', e);
152
152
  }
153
153
  }));
154
154
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-api-docgen",
3
- "version": "1.41.2",
3
+ "version": "1.42.0",
4
4
  "description": "A plugin for rspress to generate api doc.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -22,7 +22,7 @@
22
22
  "react-docgen-typescript": "2.2.2",
23
23
  "react-markdown": "8.0.7",
24
24
  "remark-gfm": "3.0.1",
25
- "@rspress/shared": "1.41.2"
25
+ "@rspress/shared": "1.42.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "@microsoft/api-extractor": "^7.49.2",
@@ -39,7 +39,7 @@
39
39
  "unist-util-visit": "^4.1.2"
40
40
  },
41
41
  "peerDependencies": {
42
- "@rspress/core": "^1.41.2",
42
+ "@rspress/core": "^1.42.0",
43
43
  "react": ">=17.0.0",
44
44
  "react-router-dom": "^6.8.1",
45
45
  "typescript": "^5.5.3"