@slidev/types 51.0.1 → 51.0.2

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.
Files changed (2) hide show
  1. package/dist/index.d.mts +1 -1
  2. package/package.json +8 -8
package/dist/index.d.mts CHANGED
@@ -852,7 +852,7 @@ interface MarkdownTransformContext {
852
852
  */
853
853
  options: ResolvedSlidevOptions;
854
854
  }
855
- type MarkdownTransformer = (ctx: MarkdownTransformContext) => void;
855
+ type MarkdownTransformer = (ctx: MarkdownTransformContext) => Awaitable<void>;
856
856
 
857
857
  interface AppContext {
858
858
  app: App;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/types",
3
- "version": "51.0.1",
3
+ "version": "51.0.2",
4
4
  "description": "Shared types declarations for Slidev",
5
5
  "author": "antfu <anthonyfu117@hotmail.com>",
6
6
  "license": "MIT",
@@ -23,18 +23,18 @@
23
23
  "node": ">=18.0.0"
24
24
  },
25
25
  "dependencies": {
26
- "@antfu/utils": "^8.0.0",
27
- "@shikijs/markdown-it": "^1.26.1",
26
+ "@antfu/utils": "^8.1.0",
27
+ "@shikijs/markdown-it": "^2.0.0",
28
28
  "@vitejs/plugin-vue": "^5.2.1",
29
29
  "@vitejs/plugin-vue-jsx": "^4.1.1",
30
- "katex": "^0.16.20",
30
+ "katex": "^0.16.21",
31
31
  "mermaid": "^11.4.1",
32
32
  "monaco-editor": "0.51.0",
33
- "shiki": "^1.26.1",
34
- "unocss": "^65.4.0",
33
+ "shiki": "^2.0.0",
34
+ "unocss": "^65.4.2",
35
35
  "unplugin-icons": "^22.0.0",
36
- "unplugin-vue-markdown": "^28.0.0",
37
- "vite-plugin-inspect": "^10.0.6",
36
+ "unplugin-vue-markdown": "^28.1.0",
37
+ "vite-plugin-inspect": "^10.0.7",
38
38
  "vite-plugin-remote-assets": "^0.6.0",
39
39
  "vite-plugin-static-copy": "^2.2.0",
40
40
  "vite-plugin-vue-server-ref": "^0.4.2",