@slidev/client 51.0.2 → 51.1.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@slidev/client",
3
3
  "type": "module",
4
- "version": "51.0.2",
4
+ "version": "51.1.1",
5
5
  "description": "Presentation slides for developers",
6
6
  "author": "antfu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -28,43 +28,43 @@
28
28
  "node": ">=18.0.0"
29
29
  },
30
30
  "dependencies": {
31
- "@antfu/utils": "^8.1.0",
32
- "@iconify-json/carbon": "^1.2.5",
31
+ "@antfu/utils": "^9.0.0",
32
+ "@iconify-json/carbon": "^1.2.7",
33
33
  "@iconify-json/ph": "^1.2.2",
34
34
  "@iconify-json/svg-spinners": "^1.2.2",
35
- "@shikijs/engine-javascript": "^2.0.0",
36
- "@shikijs/monaco": "^2.0.0",
37
- "@shikijs/vitepress-twoslash": "^2.0.0",
35
+ "@shikijs/engine-javascript": "^2.3.2",
36
+ "@shikijs/monaco": "^2.3.2",
37
+ "@shikijs/vitepress-twoslash": "^2.3.2",
38
38
  "@slidev/rough-notation": "^0.1.0",
39
39
  "@typescript/ata": "^0.9.7",
40
- "@unhead/vue": "^1.11.18",
41
- "@unocss/reset": "^65.4.2",
42
- "@vueuse/core": "^12.4.0",
43
- "@vueuse/math": "^12.4.0",
40
+ "@unhead/vue": "^1.11.19",
41
+ "@unocss/reset": "^65.5.0",
42
+ "@vueuse/core": "^12.6.1",
43
+ "@vueuse/math": "^12.6.1",
44
44
  "@vueuse/motion": "^2.2.6",
45
45
  "drauu": "^0.4.2",
46
46
  "file-saver": "^2.0.5",
47
47
  "floating-vue": "^5.2.2",
48
- "fuse.js": "^7.0.0",
48
+ "fuse.js": "^7.1.0",
49
49
  "katex": "^0.16.21",
50
50
  "lz-string": "^1.5.0",
51
51
  "mermaid": "^11.4.1",
52
52
  "monaco-editor": "0.51.0",
53
- "nanotar": "^0.1.1",
53
+ "nanotar": "^0.2.0",
54
54
  "pptxgenjs": "^3.12.0",
55
- "prettier": "^3.4.2",
55
+ "prettier": "^3.5.1",
56
56
  "recordrtc": "^5.6.2",
57
- "shiki": "^2.0.0",
58
- "shiki-magic-move": "^0.5.2",
57
+ "shiki": "^2.3.2",
58
+ "shiki-magic-move": "^1.0.0",
59
59
  "typescript": "^5.7.3",
60
- "unocss": "^65.4.2",
60
+ "unocss": "^65.5.0",
61
61
  "vue": "^3.5.13",
62
62
  "vue-router": "^4.5.0",
63
63
  "yaml": "^2.7.0",
64
- "@slidev/parser": "51.0.2",
65
- "@slidev/types": "51.0.2"
64
+ "@slidev/parser": "51.1.1",
65
+ "@slidev/types": "51.1.1"
66
66
  },
67
67
  "devDependencies": {
68
- "vite": "^6.0.8"
68
+ "vite": "^6.1.0"
69
69
  }
70
70
  }
@@ -131,10 +131,10 @@ function runJavaScript(code: string): CodeRunnerOutputs {
131
131
  // JSON.stringify omits any keys with a value of undefined. To get around this, we replace undefined with the text __undefined__ and then do a global replace using regex back to keyword undefined
132
132
  textRep
133
133
  = prefix
134
- + JSON.stringify(arg, (_, value) => (value === undefined ? '__undefined__' : value), 2).replace(
135
- /"__undefined__"/g,
136
- 'undefined',
137
- )
134
+ + JSON.stringify(arg, (_, value) => (value === undefined ? '__undefined__' : value), 2).replace(
135
+ /"__undefined__"/g,
136
+ 'undefined',
137
+ )
138
138
 
139
139
  textRep = String(textRep)
140
140
  }