fumadocs-core 15.7.7 → 15.7.8

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.
@@ -8,7 +8,9 @@ import { jsx } from "react/jsx-runtime";
8
8
  var Link2 = forwardRef(
9
9
  ({
10
10
  href = "#",
11
- external = !(href.startsWith("/") || href.startsWith("#") || href.startsWith(".")),
11
+ // any protocol
12
+ external = href.match(/^\w+:/) || // protocol relative URL
13
+ href.startsWith("//"),
12
14
  prefetch,
13
15
  ...props
14
16
  }, ref) => {
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Link
4
- } from "./chunk-5SU2O5AS.js";
4
+ } from "./chunk-H2GMUTQG.js";
5
5
  import {
6
6
  useParams
7
7
  } from "./chunk-BBP7MIO4.js";
package/dist/link.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Link
4
- } from "./chunk-5SU2O5AS.js";
4
+ } from "./chunk-H2GMUTQG.js";
5
5
  import "./chunk-BBP7MIO4.js";
6
6
  import "./chunk-JSBRDJBE.js";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "15.7.7",
3
+ "version": "15.7.8",
4
4
  "description": "The library for building a documentation website in Next.js",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -142,6 +142,8 @@
142
142
  "next": "14.x.x || 15.x.x",
143
143
  "react": "18.x.x || 19.x.x",
144
144
  "react-dom": "18.x.x || 19.x.x",
145
+ "waku": "^0.26.0",
146
+ "@tanstack/react-router": "1.x.x",
145
147
  "react-router": "7.x.x"
146
148
  },
147
149
  "peerDependenciesMeta": {
@@ -168,6 +170,12 @@
168
170
  },
169
171
  "react-router": {
170
172
  "optional": true
173
+ },
174
+ "waku": {
175
+ "optional": true
176
+ },
177
+ "@tanstack/react-router": {
178
+ "optional": true
171
179
  }
172
180
  },
173
181
  "publishConfig": {