shiki 3.9.2 → 3.10.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/dist/themes.mjs CHANGED
@@ -3,361 +3,361 @@ const bundledThemesInfo = [
3
3
  "id": "andromeeda",
4
4
  "displayName": "Andromeeda",
5
5
  "type": "dark",
6
- "import": () => import('@shikijs/themes/andromeeda')
6
+ "import": (() => import('@shikijs/themes/andromeeda'))
7
7
  },
8
8
  {
9
9
  "id": "aurora-x",
10
10
  "displayName": "Aurora X",
11
11
  "type": "dark",
12
- "import": () => import('@shikijs/themes/aurora-x')
12
+ "import": (() => import('@shikijs/themes/aurora-x'))
13
13
  },
14
14
  {
15
15
  "id": "ayu-dark",
16
16
  "displayName": "Ayu Dark",
17
17
  "type": "dark",
18
- "import": () => import('@shikijs/themes/ayu-dark')
18
+ "import": (() => import('@shikijs/themes/ayu-dark'))
19
19
  },
20
20
  {
21
21
  "id": "catppuccin-frappe",
22
22
  "displayName": "Catppuccin Frapp\xE9",
23
23
  "type": "dark",
24
- "import": () => import('@shikijs/themes/catppuccin-frappe')
24
+ "import": (() => import('@shikijs/themes/catppuccin-frappe'))
25
25
  },
26
26
  {
27
27
  "id": "catppuccin-latte",
28
28
  "displayName": "Catppuccin Latte",
29
29
  "type": "light",
30
- "import": () => import('@shikijs/themes/catppuccin-latte')
30
+ "import": (() => import('@shikijs/themes/catppuccin-latte'))
31
31
  },
32
32
  {
33
33
  "id": "catppuccin-macchiato",
34
34
  "displayName": "Catppuccin Macchiato",
35
35
  "type": "dark",
36
- "import": () => import('@shikijs/themes/catppuccin-macchiato')
36
+ "import": (() => import('@shikijs/themes/catppuccin-macchiato'))
37
37
  },
38
38
  {
39
39
  "id": "catppuccin-mocha",
40
40
  "displayName": "Catppuccin Mocha",
41
41
  "type": "dark",
42
- "import": () => import('@shikijs/themes/catppuccin-mocha')
42
+ "import": (() => import('@shikijs/themes/catppuccin-mocha'))
43
43
  },
44
44
  {
45
45
  "id": "dark-plus",
46
46
  "displayName": "Dark Plus",
47
47
  "type": "dark",
48
- "import": () => import('@shikijs/themes/dark-plus')
48
+ "import": (() => import('@shikijs/themes/dark-plus'))
49
49
  },
50
50
  {
51
51
  "id": "dracula",
52
52
  "displayName": "Dracula Theme",
53
53
  "type": "dark",
54
- "import": () => import('@shikijs/themes/dracula')
54
+ "import": (() => import('@shikijs/themes/dracula'))
55
55
  },
56
56
  {
57
57
  "id": "dracula-soft",
58
58
  "displayName": "Dracula Theme Soft",
59
59
  "type": "dark",
60
- "import": () => import('@shikijs/themes/dracula-soft')
60
+ "import": (() => import('@shikijs/themes/dracula-soft'))
61
61
  },
62
62
  {
63
63
  "id": "everforest-dark",
64
64
  "displayName": "Everforest Dark",
65
65
  "type": "dark",
66
- "import": () => import('@shikijs/themes/everforest-dark')
66
+ "import": (() => import('@shikijs/themes/everforest-dark'))
67
67
  },
68
68
  {
69
69
  "id": "everforest-light",
70
70
  "displayName": "Everforest Light",
71
71
  "type": "light",
72
- "import": () => import('@shikijs/themes/everforest-light')
72
+ "import": (() => import('@shikijs/themes/everforest-light'))
73
73
  },
74
74
  {
75
75
  "id": "github-dark",
76
76
  "displayName": "GitHub Dark",
77
77
  "type": "dark",
78
- "import": () => import('@shikijs/themes/github-dark')
78
+ "import": (() => import('@shikijs/themes/github-dark'))
79
79
  },
80
80
  {
81
81
  "id": "github-dark-default",
82
82
  "displayName": "GitHub Dark Default",
83
83
  "type": "dark",
84
- "import": () => import('@shikijs/themes/github-dark-default')
84
+ "import": (() => import('@shikijs/themes/github-dark-default'))
85
85
  },
86
86
  {
87
87
  "id": "github-dark-dimmed",
88
88
  "displayName": "GitHub Dark Dimmed",
89
89
  "type": "dark",
90
- "import": () => import('@shikijs/themes/github-dark-dimmed')
90
+ "import": (() => import('@shikijs/themes/github-dark-dimmed'))
91
91
  },
92
92
  {
93
93
  "id": "github-dark-high-contrast",
94
94
  "displayName": "GitHub Dark High Contrast",
95
95
  "type": "dark",
96
- "import": () => import('@shikijs/themes/github-dark-high-contrast')
96
+ "import": (() => import('@shikijs/themes/github-dark-high-contrast'))
97
97
  },
98
98
  {
99
99
  "id": "github-light",
100
100
  "displayName": "GitHub Light",
101
101
  "type": "light",
102
- "import": () => import('@shikijs/themes/github-light')
102
+ "import": (() => import('@shikijs/themes/github-light'))
103
103
  },
104
104
  {
105
105
  "id": "github-light-default",
106
106
  "displayName": "GitHub Light Default",
107
107
  "type": "light",
108
- "import": () => import('@shikijs/themes/github-light-default')
108
+ "import": (() => import('@shikijs/themes/github-light-default'))
109
109
  },
110
110
  {
111
111
  "id": "github-light-high-contrast",
112
112
  "displayName": "GitHub Light High Contrast",
113
113
  "type": "light",
114
- "import": () => import('@shikijs/themes/github-light-high-contrast')
114
+ "import": (() => import('@shikijs/themes/github-light-high-contrast'))
115
115
  },
116
116
  {
117
117
  "id": "gruvbox-dark-hard",
118
118
  "displayName": "Gruvbox Dark Hard",
119
119
  "type": "dark",
120
- "import": () => import('@shikijs/themes/gruvbox-dark-hard')
120
+ "import": (() => import('@shikijs/themes/gruvbox-dark-hard'))
121
121
  },
122
122
  {
123
123
  "id": "gruvbox-dark-medium",
124
124
  "displayName": "Gruvbox Dark Medium",
125
125
  "type": "dark",
126
- "import": () => import('@shikijs/themes/gruvbox-dark-medium')
126
+ "import": (() => import('@shikijs/themes/gruvbox-dark-medium'))
127
127
  },
128
128
  {
129
129
  "id": "gruvbox-dark-soft",
130
130
  "displayName": "Gruvbox Dark Soft",
131
131
  "type": "dark",
132
- "import": () => import('@shikijs/themes/gruvbox-dark-soft')
132
+ "import": (() => import('@shikijs/themes/gruvbox-dark-soft'))
133
133
  },
134
134
  {
135
135
  "id": "gruvbox-light-hard",
136
136
  "displayName": "Gruvbox Light Hard",
137
137
  "type": "light",
138
- "import": () => import('@shikijs/themes/gruvbox-light-hard')
138
+ "import": (() => import('@shikijs/themes/gruvbox-light-hard'))
139
139
  },
140
140
  {
141
141
  "id": "gruvbox-light-medium",
142
142
  "displayName": "Gruvbox Light Medium",
143
143
  "type": "light",
144
- "import": () => import('@shikijs/themes/gruvbox-light-medium')
144
+ "import": (() => import('@shikijs/themes/gruvbox-light-medium'))
145
145
  },
146
146
  {
147
147
  "id": "gruvbox-light-soft",
148
148
  "displayName": "Gruvbox Light Soft",
149
149
  "type": "light",
150
- "import": () => import('@shikijs/themes/gruvbox-light-soft')
150
+ "import": (() => import('@shikijs/themes/gruvbox-light-soft'))
151
151
  },
152
152
  {
153
153
  "id": "houston",
154
154
  "displayName": "Houston",
155
155
  "type": "dark",
156
- "import": () => import('@shikijs/themes/houston')
156
+ "import": (() => import('@shikijs/themes/houston'))
157
157
  },
158
158
  {
159
159
  "id": "kanagawa-dragon",
160
160
  "displayName": "Kanagawa Dragon",
161
161
  "type": "dark",
162
- "import": () => import('@shikijs/themes/kanagawa-dragon')
162
+ "import": (() => import('@shikijs/themes/kanagawa-dragon'))
163
163
  },
164
164
  {
165
165
  "id": "kanagawa-lotus",
166
166
  "displayName": "Kanagawa Lotus",
167
167
  "type": "light",
168
- "import": () => import('@shikijs/themes/kanagawa-lotus')
168
+ "import": (() => import('@shikijs/themes/kanagawa-lotus'))
169
169
  },
170
170
  {
171
171
  "id": "kanagawa-wave",
172
172
  "displayName": "Kanagawa Wave",
173
173
  "type": "dark",
174
- "import": () => import('@shikijs/themes/kanagawa-wave')
174
+ "import": (() => import('@shikijs/themes/kanagawa-wave'))
175
175
  },
176
176
  {
177
177
  "id": "laserwave",
178
178
  "displayName": "LaserWave",
179
179
  "type": "dark",
180
- "import": () => import('@shikijs/themes/laserwave')
180
+ "import": (() => import('@shikijs/themes/laserwave'))
181
181
  },
182
182
  {
183
183
  "id": "light-plus",
184
184
  "displayName": "Light Plus",
185
185
  "type": "light",
186
- "import": () => import('@shikijs/themes/light-plus')
186
+ "import": (() => import('@shikijs/themes/light-plus'))
187
187
  },
188
188
  {
189
189
  "id": "material-theme",
190
190
  "displayName": "Material Theme",
191
191
  "type": "dark",
192
- "import": () => import('@shikijs/themes/material-theme')
192
+ "import": (() => import('@shikijs/themes/material-theme'))
193
193
  },
194
194
  {
195
195
  "id": "material-theme-darker",
196
196
  "displayName": "Material Theme Darker",
197
197
  "type": "dark",
198
- "import": () => import('@shikijs/themes/material-theme-darker')
198
+ "import": (() => import('@shikijs/themes/material-theme-darker'))
199
199
  },
200
200
  {
201
201
  "id": "material-theme-lighter",
202
202
  "displayName": "Material Theme Lighter",
203
203
  "type": "light",
204
- "import": () => import('@shikijs/themes/material-theme-lighter')
204
+ "import": (() => import('@shikijs/themes/material-theme-lighter'))
205
205
  },
206
206
  {
207
207
  "id": "material-theme-ocean",
208
208
  "displayName": "Material Theme Ocean",
209
209
  "type": "dark",
210
- "import": () => import('@shikijs/themes/material-theme-ocean')
210
+ "import": (() => import('@shikijs/themes/material-theme-ocean'))
211
211
  },
212
212
  {
213
213
  "id": "material-theme-palenight",
214
214
  "displayName": "Material Theme Palenight",
215
215
  "type": "dark",
216
- "import": () => import('@shikijs/themes/material-theme-palenight')
216
+ "import": (() => import('@shikijs/themes/material-theme-palenight'))
217
217
  },
218
218
  {
219
219
  "id": "min-dark",
220
220
  "displayName": "Min Dark",
221
221
  "type": "dark",
222
- "import": () => import('@shikijs/themes/min-dark')
222
+ "import": (() => import('@shikijs/themes/min-dark'))
223
223
  },
224
224
  {
225
225
  "id": "min-light",
226
226
  "displayName": "Min Light",
227
227
  "type": "light",
228
- "import": () => import('@shikijs/themes/min-light')
228
+ "import": (() => import('@shikijs/themes/min-light'))
229
229
  },
230
230
  {
231
231
  "id": "monokai",
232
232
  "displayName": "Monokai",
233
233
  "type": "dark",
234
- "import": () => import('@shikijs/themes/monokai')
234
+ "import": (() => import('@shikijs/themes/monokai'))
235
235
  },
236
236
  {
237
237
  "id": "night-owl",
238
238
  "displayName": "Night Owl",
239
239
  "type": "dark",
240
- "import": () => import('@shikijs/themes/night-owl')
240
+ "import": (() => import('@shikijs/themes/night-owl'))
241
241
  },
242
242
  {
243
243
  "id": "nord",
244
244
  "displayName": "Nord",
245
245
  "type": "dark",
246
- "import": () => import('@shikijs/themes/nord')
246
+ "import": (() => import('@shikijs/themes/nord'))
247
247
  },
248
248
  {
249
249
  "id": "one-dark-pro",
250
250
  "displayName": "One Dark Pro",
251
251
  "type": "dark",
252
- "import": () => import('@shikijs/themes/one-dark-pro')
252
+ "import": (() => import('@shikijs/themes/one-dark-pro'))
253
253
  },
254
254
  {
255
255
  "id": "one-light",
256
256
  "displayName": "One Light",
257
257
  "type": "light",
258
- "import": () => import('@shikijs/themes/one-light')
258
+ "import": (() => import('@shikijs/themes/one-light'))
259
259
  },
260
260
  {
261
261
  "id": "plastic",
262
262
  "displayName": "Plastic",
263
263
  "type": "dark",
264
- "import": () => import('@shikijs/themes/plastic')
264
+ "import": (() => import('@shikijs/themes/plastic'))
265
265
  },
266
266
  {
267
267
  "id": "poimandres",
268
268
  "displayName": "Poimandres",
269
269
  "type": "dark",
270
- "import": () => import('@shikijs/themes/poimandres')
270
+ "import": (() => import('@shikijs/themes/poimandres'))
271
271
  },
272
272
  {
273
273
  "id": "red",
274
274
  "displayName": "Red",
275
275
  "type": "dark",
276
- "import": () => import('@shikijs/themes/red')
276
+ "import": (() => import('@shikijs/themes/red'))
277
277
  },
278
278
  {
279
279
  "id": "rose-pine",
280
280
  "displayName": "Ros\xE9 Pine",
281
281
  "type": "dark",
282
- "import": () => import('@shikijs/themes/rose-pine')
282
+ "import": (() => import('@shikijs/themes/rose-pine'))
283
283
  },
284
284
  {
285
285
  "id": "rose-pine-dawn",
286
286
  "displayName": "Ros\xE9 Pine Dawn",
287
287
  "type": "light",
288
- "import": () => import('@shikijs/themes/rose-pine-dawn')
288
+ "import": (() => import('@shikijs/themes/rose-pine-dawn'))
289
289
  },
290
290
  {
291
291
  "id": "rose-pine-moon",
292
292
  "displayName": "Ros\xE9 Pine Moon",
293
293
  "type": "dark",
294
- "import": () => import('@shikijs/themes/rose-pine-moon')
294
+ "import": (() => import('@shikijs/themes/rose-pine-moon'))
295
295
  },
296
296
  {
297
297
  "id": "slack-dark",
298
298
  "displayName": "Slack Dark",
299
299
  "type": "dark",
300
- "import": () => import('@shikijs/themes/slack-dark')
300
+ "import": (() => import('@shikijs/themes/slack-dark'))
301
301
  },
302
302
  {
303
303
  "id": "slack-ochin",
304
304
  "displayName": "Slack Ochin",
305
305
  "type": "light",
306
- "import": () => import('@shikijs/themes/slack-ochin')
306
+ "import": (() => import('@shikijs/themes/slack-ochin'))
307
307
  },
308
308
  {
309
309
  "id": "snazzy-light",
310
310
  "displayName": "Snazzy Light",
311
311
  "type": "light",
312
- "import": () => import('@shikijs/themes/snazzy-light')
312
+ "import": (() => import('@shikijs/themes/snazzy-light'))
313
313
  },
314
314
  {
315
315
  "id": "solarized-dark",
316
316
  "displayName": "Solarized Dark",
317
317
  "type": "dark",
318
- "import": () => import('@shikijs/themes/solarized-dark')
318
+ "import": (() => import('@shikijs/themes/solarized-dark'))
319
319
  },
320
320
  {
321
321
  "id": "solarized-light",
322
322
  "displayName": "Solarized Light",
323
323
  "type": "light",
324
- "import": () => import('@shikijs/themes/solarized-light')
324
+ "import": (() => import('@shikijs/themes/solarized-light'))
325
325
  },
326
326
  {
327
327
  "id": "synthwave-84",
328
328
  "displayName": "Synthwave '84",
329
329
  "type": "dark",
330
- "import": () => import('@shikijs/themes/synthwave-84')
330
+ "import": (() => import('@shikijs/themes/synthwave-84'))
331
331
  },
332
332
  {
333
333
  "id": "tokyo-night",
334
334
  "displayName": "Tokyo Night",
335
335
  "type": "dark",
336
- "import": () => import('@shikijs/themes/tokyo-night')
336
+ "import": (() => import('@shikijs/themes/tokyo-night'))
337
337
  },
338
338
  {
339
339
  "id": "vesper",
340
340
  "displayName": "Vesper",
341
341
  "type": "dark",
342
- "import": () => import('@shikijs/themes/vesper')
342
+ "import": (() => import('@shikijs/themes/vesper'))
343
343
  },
344
344
  {
345
345
  "id": "vitesse-black",
346
346
  "displayName": "Vitesse Black",
347
347
  "type": "dark",
348
- "import": () => import('@shikijs/themes/vitesse-black')
348
+ "import": (() => import('@shikijs/themes/vitesse-black'))
349
349
  },
350
350
  {
351
351
  "id": "vitesse-dark",
352
352
  "displayName": "Vitesse Dark",
353
353
  "type": "dark",
354
- "import": () => import('@shikijs/themes/vitesse-dark')
354
+ "import": (() => import('@shikijs/themes/vitesse-dark'))
355
355
  },
356
356
  {
357
357
  "id": "vitesse-light",
358
358
  "displayName": "Vitesse Light",
359
359
  "type": "light",
360
- "import": () => import('@shikijs/themes/vitesse-light')
360
+ "import": (() => import('@shikijs/themes/vitesse-light'))
361
361
  }
362
362
  ];
363
363
  const bundledThemes = Object.fromEntries(bundledThemesInfo.map((i) => [i.id, i.import]));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "shiki",
3
3
  "type": "module",
4
- "version": "3.9.2",
4
+ "version": "3.10.0",
5
5
  "description": "A beautiful Syntax Highlighter.",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -48,16 +48,16 @@
48
48
  "dependencies": {
49
49
  "@shikijs/vscode-textmate": "^10.0.2",
50
50
  "@types/hast": "^3.0.4",
51
- "@shikijs/core": "3.9.2",
52
- "@shikijs/engine-oniguruma": "3.9.2",
53
- "@shikijs/langs": "3.9.2",
54
- "@shikijs/themes": "3.9.2",
55
- "@shikijs/types": "3.9.2",
56
- "@shikijs/engine-javascript": "3.9.2"
51
+ "@shikijs/core": "3.10.0",
52
+ "@shikijs/engine-oniguruma": "3.10.0",
53
+ "@shikijs/engine-javascript": "3.10.0",
54
+ "@shikijs/langs": "3.10.0",
55
+ "@shikijs/themes": "3.10.0",
56
+ "@shikijs/types": "3.10.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "rollup-plugin-copy": "^3.5.0",
60
- "tm-grammars": "^1.24.1",
60
+ "tm-grammars": "^1.24.4",
61
61
  "tm-themes": "^1.10.7",
62
62
  "vscode-oniguruma": "1.7.0"
63
63
  },