@rspress/plugin-rss 2.0.0-alpha.8 → 2.0.0-beta.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.
package/dist/index.cjs CHANGED
@@ -99,7 +99,7 @@ function createFeed(options, config) {
99
99
  const { output, item, id, title, ..._options } = options;
100
100
  return {
101
101
  id,
102
- copyright: (null === (_config_themeConfig = config.themeConfig) || void 0 === _config_themeConfig ? void 0 : null === (_config_themeConfig_footer = _config_themeConfig.footer) || void 0 === _config_themeConfig_footer ? void 0 : _config_themeConfig_footer.message) || '',
102
+ copyright: (null == (_config_themeConfig = config.themeConfig) ? void 0 : null == (_config_themeConfig_footer = _config_themeConfig.footer) ? void 0 : _config_themeConfig_footer.message) || '',
103
103
  description: config.description || '',
104
104
  link: output.url,
105
105
  ..._options,
@@ -210,7 +210,7 @@ class FeedsSet {
210
210
  title: config.title || '',
211
211
  description: config.description || '',
212
212
  favicon: config.icon && (0, external_node_url_namespaceObject.resolve)(siteUrl, config.icon),
213
- copyright: (null === (_config_themeConfig = config.themeConfig) || void 0 === _config_themeConfig ? void 0 : null === (_config_themeConfig_footer = _config_themeConfig.footer) || void 0 === _config_themeConfig_footer ? void 0 : _config_themeConfig_footer.message) || '',
213
+ copyright: (null == (_config_themeConfig = config.themeConfig) ? void 0 : null == (_config_themeConfig_footer = _config_themeConfig.footer) ? void 0 : _config_themeConfig_footer.message) || '',
214
214
  link: siteUrl,
215
215
  docs: '',
216
216
  ...options,
package/dist/index.mjs CHANGED
@@ -53,7 +53,7 @@ function createFeed(options, config) {
53
53
  const { output, item, id, title, ..._options } = options;
54
54
  return {
55
55
  id,
56
- copyright: (null === (_config_themeConfig = config.themeConfig) || void 0 === _config_themeConfig ? void 0 : null === (_config_themeConfig_footer = _config_themeConfig.footer) || void 0 === _config_themeConfig_footer ? void 0 : _config_themeConfig_footer.message) || '',
56
+ copyright: (null == (_config_themeConfig = config.themeConfig) ? void 0 : null == (_config_themeConfig_footer = _config_themeConfig.footer) ? void 0 : _config_themeConfig_footer.message) || '',
57
57
  description: config.description || '',
58
58
  link: output.url,
59
59
  ..._options,
@@ -164,7 +164,7 @@ class FeedsSet {
164
164
  title: config.title || '',
165
165
  description: config.description || '',
166
166
  favicon: config.icon && (0, __WEBPACK_EXTERNAL_MODULE_node_url_e96de089__.resolve)(siteUrl, config.icon),
167
- copyright: (null === (_config_themeConfig = config.themeConfig) || void 0 === _config_themeConfig ? void 0 : null === (_config_themeConfig_footer = _config_themeConfig.footer) || void 0 === _config_themeConfig_footer ? void 0 : _config_themeConfig_footer.message) || '',
167
+ copyright: (null == (_config_themeConfig = config.themeConfig) ? void 0 : null == (_config_themeConfig_footer = _config_themeConfig.footer) ? void 0 : _config_themeConfig_footer.message) || '',
168
168
  link: siteUrl,
169
169
  docs: '',
170
170
  ...options,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-rss",
3
- "version": "2.0.0-alpha.8",
3
+ "version": "2.0.0-beta.0",
4
4
  "description": "A plugin for rss generation for rspress",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -26,19 +26,19 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "feed": "^4.2.2",
29
- "@rspress/shared": "2.0.0-alpha.8"
29
+ "@rspress/shared": "2.0.0-beta.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@rslib/core": "0.6.0",
32
+ "@rslib/core": "0.6.5",
33
33
  "@types/node": "^18.11.17",
34
34
  "@types/react": "^18.3.20",
35
- "react": "^18.3.1",
35
+ "react": "^19.1.0",
36
36
  "typescript": "^5.8.2",
37
- "@rspress/runtime": "2.0.0-alpha.8"
37
+ "@rspress/runtime": "2.0.0-beta.0"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "react": ">=17.0.0",
41
- "rspress": "^2.0.0-alpha.8"
41
+ "rspress": "^2.0.0-beta.0"
42
42
  },
43
43
  "engines": {
44
44
  "node": ">=14.17.6"