@rspress/plugin-rss 2.0.0-beta.5 → 2.0.0-beta.7

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 +2 -1
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as __WEBPACK_EXTERNAL_MODULE_node_path_c5b9b54f__ from "node:path";
2
2
  import * as __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__ from "node:url";
3
+ import * as __WEBPACK_EXTERNAL_MODULE__rspress_shared_node_utils_78947ce6__ from "@rspress/shared/node-utils";
3
4
  import * as __WEBPACK_EXTERNAL_MODULE_feed__ from "feed";
4
5
  import * as __WEBPACK_EXTERNAL_MODULE_node_fs_5ea92f0c__ from "node:fs";
5
6
  function notNullish(n) {
@@ -152,7 +153,7 @@ class FeedsSet {
152
153
  ]).map((options)=>({
153
154
  title: config.title || '',
154
155
  description: config.description || '',
155
- favicon: config.icon && (0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.resolve)(siteUrl, config.icon),
156
+ favicon: config.icon && (0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.resolve)(siteUrl, (0, __WEBPACK_EXTERNAL_MODULE__rspress_shared_node_utils_78947ce6__.getIconUrlPath)(config.icon)),
156
157
  copyright: config.themeConfig?.footer?.message || '',
157
158
  link: siteUrl,
158
159
  docs: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-rss",
3
- "version": "2.0.0-beta.5",
3
+ "version": "2.0.0-beta.7",
4
4
  "description": "A plugin for rss generation for rspress",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -25,19 +25,19 @@
25
25
  ],
26
26
  "dependencies": {
27
27
  "feed": "^4.2.2",
28
- "@rspress/shared": "2.0.0-beta.5"
28
+ "@rspress/shared": "2.0.0-beta.7"
29
29
  },
30
30
  "devDependencies": {
31
- "@rslib/core": "0.6.8",
32
- "@types/node": "^18.11.17",
33
- "@types/react": "^18.3.21",
31
+ "@rslib/core": "0.8.0",
32
+ "@types/node": "^22.8.1",
33
+ "@types/react": "^18.3.22",
34
34
  "react": "^19.1.0",
35
- "rsbuild-plugin-publint": "^0.3.1",
35
+ "rsbuild-plugin-publint": "^0.3.2",
36
36
  "typescript": "^5.8.2",
37
- "@rspress/runtime": "2.0.0-beta.5"
37
+ "@rspress/runtime": "2.0.0-beta.7"
38
38
  },
39
39
  "peerDependencies": {
40
- "rspress": "^2.0.0-beta.5"
40
+ "rspress": "^2.0.0-beta.7"
41
41
  },
42
42
  "engines": {
43
43
  "node": ">=18.0.0"