@slidev/client 51.8.2 → 52.0.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/composables/useNav.ts +1 -1
- package/package.json +18 -18
package/composables/useNav.ts
CHANGED
|
@@ -277,7 +277,7 @@ const useNavState = createSharedComposable((): SlidevContextNavState => {
|
|
|
277
277
|
|
|
278
278
|
const query = computed(() => {
|
|
279
279
|
// eslint-disable-next-line ts/no-unused-expressions
|
|
280
|
-
router
|
|
280
|
+
router?.currentRoute?.value?.query
|
|
281
281
|
return new URLSearchParams(location.search)
|
|
282
282
|
})
|
|
283
283
|
const isPrintMode = computed(() => query.value.has('print') || currentRoute.name === 'export')
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/client",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "52.0.0",
|
|
5
5
|
"description": "Presentation slides for developers",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@antfu/utils": "^9.2.0",
|
|
32
|
-
"@iconify-json/carbon": "^1.2.
|
|
32
|
+
"@iconify-json/carbon": "^1.2.10",
|
|
33
33
|
"@iconify-json/ph": "^1.2.2",
|
|
34
34
|
"@iconify-json/svg-spinners": "^1.2.2",
|
|
35
|
-
"@shikijs/engine-javascript": "^3.
|
|
36
|
-
"@shikijs/monaco": "^3.
|
|
37
|
-
"@shikijs/vitepress-twoslash": "^3.
|
|
35
|
+
"@shikijs/engine-javascript": "^3.7.0",
|
|
36
|
+
"@shikijs/monaco": "^3.7.0",
|
|
37
|
+
"@shikijs/vitepress-twoslash": "^3.7.0",
|
|
38
38
|
"@slidev/rough-notation": "^0.1.0",
|
|
39
39
|
"@typescript/ata": "^0.9.8",
|
|
40
|
-
"@unhead/vue": "^2.0.
|
|
41
|
-
"@unocss/reset": "^66.2
|
|
42
|
-
"@vueuse/core": "^13.
|
|
43
|
-
"@vueuse/math": "^13.
|
|
40
|
+
"@unhead/vue": "^2.0.11",
|
|
41
|
+
"@unocss/reset": "^66.3.2",
|
|
42
|
+
"@vueuse/core": "^13.4.0",
|
|
43
|
+
"@vueuse/math": "^13.4.0",
|
|
44
44
|
"@vueuse/motion": "^3.0.3",
|
|
45
45
|
"drauu": "^0.4.3",
|
|
46
46
|
"file-saver": "^2.0.5",
|
|
@@ -48,23 +48,23 @@
|
|
|
48
48
|
"fuse.js": "^7.1.0",
|
|
49
49
|
"katex": "^0.16.22",
|
|
50
50
|
"lz-string": "^1.5.0",
|
|
51
|
-
"mermaid": "^11.
|
|
51
|
+
"mermaid": "^11.7.0",
|
|
52
52
|
"monaco-editor": "^0.52.2",
|
|
53
53
|
"nanotar": "^0.2.0",
|
|
54
|
-
"pptxgenjs": "^4.0.
|
|
55
|
-
"prettier": "^3.
|
|
54
|
+
"pptxgenjs": "^4.0.1",
|
|
55
|
+
"prettier": "^3.6.2",
|
|
56
56
|
"recordrtc": "^5.6.2",
|
|
57
|
-
"shiki": "^3.
|
|
57
|
+
"shiki": "^3.7.0",
|
|
58
58
|
"shiki-magic-move": "^1.1.0",
|
|
59
59
|
"typescript": "^5.8.3",
|
|
60
|
-
"unocss": "^66.2
|
|
61
|
-
"vue": "^3.5.
|
|
60
|
+
"unocss": "^66.3.2",
|
|
61
|
+
"vue": "^3.5.17",
|
|
62
62
|
"vue-router": "^4.5.1",
|
|
63
63
|
"yaml": "^2.8.0",
|
|
64
|
-
"@slidev/
|
|
65
|
-
"@slidev/
|
|
64
|
+
"@slidev/parser": "52.0.0",
|
|
65
|
+
"@slidev/types": "52.0.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"vite": "^
|
|
68
|
+
"vite": "^7.0.0"
|
|
69
69
|
}
|
|
70
70
|
}
|