@slidev/client 0.27.15 → 0.27.19

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/index.html CHANGED
@@ -3,7 +3,6 @@
3
3
  <head>
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
- <link rel="icon" type="image/png" href="https://cdn.jsdelivr.net/gh/slidevjs/slidev/assets/favicon.png">
7
6
  <!-- head -->
8
7
  </head>
9
8
  <body>
@@ -57,7 +57,7 @@ async function start() {
57
57
  </div>
58
58
  <div class="text-xs w-full opacity-50">
59
59
  <div class="mt-2 opacity-50">
60
- Enumated filenames
60
+ Enumerated filenames
61
61
  </div>
62
62
  <div class="font-mono">
63
63
  {{ getFilename('screen') }}
@@ -1,14 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { defineProps, ref } from 'vue'
3
- const props = defineProps({
4
- class: {
5
- type: String,
6
- },
7
- url: {
8
- type: String,
9
- },
10
- })
11
- const url = ref(props.url)
2
+ const props = defineProps<{ class?: string; url: string }>()
12
3
  </script>
13
4
 
14
5
  <template>
@@ -1,14 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { defineProps, ref } from 'vue'
3
- const props = defineProps({
4
- class: {
5
- type: String,
6
- },
7
- url: {
8
- type: String,
9
- },
10
- })
11
- const url = ref(props.url)
2
+ const props = defineProps<{ class?: string; url: string }>()
12
3
  </script>
13
4
 
14
5
  <template>
@@ -1,11 +1,5 @@
1
1
  <script setup lang="ts">
2
- import { defineProps, ref } from 'vue'
3
- const props = defineProps({
4
- url: {
5
- type: String,
6
- },
7
- })
8
- const url = ref(props.url)
2
+ defineProps<{ url: string }>()
9
3
  </script>
10
4
 
11
5
  <template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slidev/client",
3
- "version": "0.27.15",
3
+ "version": "0.27.19",
4
4
  "description": "Presentation slides for developers",
5
5
  "homepage": "https://sli.dev",
6
6
  "bugs": "https://github.com/slidevjs/slidev/issues",
@@ -13,27 +13,27 @@
13
13
  "author": "antfu <anthonyfu117@hotmail.com>",
14
14
  "dependencies": {
15
15
  "@antfu/utils": "^0.3.0",
16
- "@slidev/parser": "0.27.15",
17
- "@slidev/types": "0.27.15",
18
- "@vueuse/core": "^6.6.2",
19
- "@vueuse/head": "^0.6.0",
16
+ "@slidev/parser": "0.27.19",
17
+ "@slidev/types": "0.27.19",
18
+ "@vueuse/core": "^7.3.0",
19
+ "@vueuse/head": "^0.7.4",
20
20
  "@vueuse/motion": "^2.0.0-beta.4",
21
- "codemirror": "^5.63.3",
21
+ "codemirror": "^5.64.0",
22
22
  "drauu": "^0.2.1",
23
23
  "file-saver": "^2.0.5",
24
24
  "js-base64": "^3.7.2",
25
25
  "js-yaml": "^4.1.0",
26
- "katex": "^0.13.18",
26
+ "katex": "^0.15.1",
27
27
  "mermaid": "8.13.0",
28
- "monaco-editor": "^0.29.1",
28
+ "monaco-editor": "^0.31.0",
29
29
  "nanoid": "^3.1.30",
30
- "prettier": "^2.4.1",
30
+ "prettier": "^2.5.1",
31
31
  "recordrtc": "^5.6.2",
32
32
  "resolve": "^1.20.0",
33
- "vite-plugin-windicss": "^1.4.12",
34
- "vue": "^3.2.20",
33
+ "vite-plugin-windicss": "^1.5.4",
34
+ "vue": "^3.2.26",
35
35
  "vue-router": "^4.0.12",
36
- "windicss": "^3.1.9"
36
+ "windicss": "^3.3.0"
37
37
  },
38
38
  "engines": {
39
39
  "node": ">=14.0.0"