@rspress/plugin-llms 2.0.0-rc.2 → 2.0.0-rc.4

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.
@@ -221,7 +221,7 @@ const LlmsViewOptions = ({ options = [
221
221
  const lang = useLang();
222
222
  const isEn = !lang || 'en' === lang;
223
223
  const items = useMemo(()=>{
224
- const fullMarkdownUrl = 'undefined' != typeof window ? new URL(pathname, window.location.origin).toString() : 'loading';
224
+ const fullMarkdownUrl = "u" > typeof window ? new URL(pathname, window.location.origin).toString() : 'loading';
225
225
  const q = `Read ${fullMarkdownUrl}, I want to ask questions about it.`;
226
226
  return {
227
227
  markdownLink: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspress/plugin-llms",
3
- "version": "2.0.0-rc.2",
3
+ "version": "2.0.0-rc.4",
4
4
  "description": "A plugin for rspress to generate llms.txt, llms-full.txt, md files to let llm understand your website.",
5
5
  "bugs": "https://github.com/web-infra-dev/rspress/issues",
6
6
  "repository": {
@@ -36,24 +36,24 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@microsoft/api-extractor": "^7.55.2",
39
- "@rsbuild/core": "~1.6.13",
39
+ "@rsbuild/core": "~1.6.15",
40
40
  "@rsbuild/plugin-react": "~1.4.2",
41
41
  "@rsbuild/plugin-sass": "~1.4.0",
42
- "@rslib/core": "0.18.3",
42
+ "@rslib/core": "0.18.6",
43
43
  "@types/hast": "^3.0.4",
44
44
  "@types/node": "^22.8.1",
45
45
  "@types/react": "^19.2.7",
46
- "react": "^19.2.1",
46
+ "react": "^19.2.3",
47
47
  "rsbuild-plugin-publint": "^0.3.3",
48
48
  "typescript": "^5.8.2",
49
49
  "vfile": "^6.0.3",
50
50
  "@rspress/config": "1.0.0"
51
51
  },
52
52
  "peerDependencies": {
53
- "@rspress/core": "^2.0.0-rc.2"
53
+ "@rspress/core": "^2.0.0-rc.4"
54
54
  },
55
55
  "engines": {
56
- "node": ">=18.0.0"
56
+ "node": ">=20.9.0"
57
57
  },
58
58
  "publishConfig": {
59
59
  "access": "public",