Skip to content

Commit 6f10cf3

Browse files
committed
Merge remote-tracking branch 'quartz/v4'
2 parents 8b5182d + 0472daa commit 6f10cf3

File tree

3 files changed

+23
-31
lines changed

3 files changed

+23
-31
lines changed

package-lock.json

+17-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"dependencies": {
4040
"@clack/prompts": "^0.7.0",
41-
"@floating-ui/dom": "^1.6.3",
41+
"@floating-ui/dom": "^1.6.5",
4242
"@napi-rs/simple-git": "0.1.16",
4343
"async-mutex": "^0.5.0",
4444
"chalk": "^5.3.0",
@@ -60,8 +60,8 @@
6060
"mdast-util-to-hast": "^13.1.0",
6161
"mdast-util-to-string": "^4.0.0",
6262
"micromorph": "^0.4.5",
63-
"preact": "^10.20.1",
64-
"preact-render-to-string": "^6.4.2",
63+
"preact": "^10.22.0",
64+
"preact-render-to-string": "^6.5.4",
6565
"pretty-bytes": "^6.1.1",
6666
"pretty-time": "^1.1.0",
6767
"reading-time": "^1.5.0",
@@ -105,8 +105,8 @@
105105
"@types/ws": "^8.5.10",
106106
"@types/yargs": "^17.0.32",
107107
"esbuild": "^0.19.9",
108-
"prettier": "^3.2.5",
109-
"tsx": "^4.11.0",
108+
"prettier": "^3.2.4",
109+
"tsx": "^4.11.2",
110110
"typescript": "^5.4.5"
111111
}
112112
}

quartz/components/scripts/graph.inline.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ function renderGlobalGraph() {
361361

362362
document.addEventListener("nav", async (e: CustomEventMap["nav"]) => {
363363
const slug = e.detail.url
364-
addToVisited(slug)
364+
addToVisited(simplifySlug(slug))
365365
await renderGraph("graph-container", slug)
366366

367367
const containerIcon = document.getElementById("global-graph-icon")

0 commit comments

Comments
 (0)