Skip to content

Commit 2bdf1b8

Browse files
committedOct 6, 2024
feat: update deps
1 parent d38f41e commit 2bdf1b8

File tree

5 files changed

+627
-568
lines changed

5 files changed

+627
-568
lines changed
 

‎packages/shiki/src/langs-bundle-full.ts

+14
Original file line numberDiff line numberDiff line change
@@ -695,8 +695,19 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
695695
{
696696
'id': 'mermaid',
697697
'name': 'Mermaid',
698+
'aliases': [
699+
'mmd'
700+
],
698701
'import': (() => import('./langs/mermaid.mjs')) as DynamicImportLanguageRegistration
699702
},
703+
{
704+
'id': 'mipsasm',
705+
'name': 'MIPS Assembly',
706+
'aliases': [
707+
'mips'
708+
],
709+
'import': (() => import('./langs/mipsasm.mjs')) as DynamicImportLanguageRegistration
710+
},
700711
{
701712
'id': 'mojo',
702713
'name': 'Mojo',
@@ -1439,6 +1450,9 @@ export type BundledLanguage =
14391450
| 'mdx'
14401451
| 'mediawiki'
14411452
| 'mermaid'
1453+
| 'mips'
1454+
| 'mipsasm'
1455+
| 'mmd'
14421456
| 'mojo'
14431457
| 'move'
14441458
| 'nar'

‎packages/shiki/src/langs-bundle-web.ts

+6
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,11 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
122122
'name': 'JSON',
123123
'import': (() => import('./langs/json.mjs')) as DynamicImportLanguageRegistration
124124
},
125+
{
126+
'id': 'json5',
127+
'name': 'JSON5',
128+
'import': (() => import('./langs/json5.mjs')) as DynamicImportLanguageRegistration
129+
},
125130
{
126131
'id': 'jsonc',
127132
'name': 'JSON with Comments',
@@ -341,6 +346,7 @@ export type BundledLanguage =
341346
| 'jl'
342347
| 'js'
343348
| 'json'
349+
| 'json5'
344350
| 'jsonc'
345351
| 'jsonl'
346352
| 'jsx'

‎packages/shiki/test/bundle.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ it('bundle-full', async () => {
77
}))
88

99
expect(highlighter.getLoadedLanguages().length)
10-
.toMatchInlineSnapshot(`309`)
10+
.toMatchInlineSnapshot(`312`)
1111
})
1212

1313
it('bundle-web', async () => {
@@ -17,5 +17,5 @@ it('bundle-web', async () => {
1717
}))
1818

1919
expect(highlighter.getLoadedLanguages().length)
20-
.toMatchInlineSnapshot(`86`)
20+
.toMatchInlineSnapshot(`87`)
2121
})

‎pnpm-lock.yaml

+593-554
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pnpm-workspace.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,21 @@ catalog:
1919
'@rollup/plugin-node-resolve': ^15.3.0
2020
'@rollup/plugin-replace': ^6.0.1
2121
'@rollup/plugin-terser': ^0.4.4
22-
'@shikijs/vscode-textmate': ^9.2.2
22+
'@shikijs/vscode-textmate': ^9.3.0
2323
'@types/fs-extra': ^11.0.4
2424
'@types/hast': ^3.0.4
2525
'@types/markdown-it': ^14.1.2
2626
'@types/mdast': ^4.0.4
2727
'@types/minimist': ^1.2.5
2828
'@types/node': ^22.7.4
2929
'@types/unist': ^3.0.3
30-
'@unocss/reset': ^0.63.0
30+
'@unocss/reset': ^0.63.3
3131
'@vitest/coverage-v8': 2.0.5
3232
'@vueuse/core': ^11.1.0
3333
ansi-sequence-parser: ^1.1.1
3434
bumpp: ^9.6.1
3535
chalk: ^5.3.0
36-
eslint: ^9.11.1
36+
eslint: ^9.12.0
3737
eslint-plugin-format: ^0.1.2
3838
esno: ^4.8.0
3939
fast-glob: ^3.3.2
@@ -43,7 +43,7 @@ catalog:
4343
hast-util-from-html: ^2.0.3
4444
hast-util-to-html: ^9.0.3
4545
hast-util-to-string: ^3.0.1
46-
jiti: ^2.0.0
46+
jiti: ^2.3.1
4747
jsonc-parser: ^3.3.1
4848
lint-staged: ^15.2.10
4949
markdown-it: ^14.1.0
@@ -55,38 +55,38 @@ catalog:
5555
ofetch: ^1.4.0
5656
oniguruma-to-js: 0.4.3
5757
picocolors: ^1.1.0
58-
pinia: ^2.2.2
59-
pnpm: ^9.11.0
58+
pinia: ^2.2.4
59+
pnpm: ^9.12.0
6060
prettier: ^3.3.3
6161
rehype-raw: ^7.0.0
6262
rehype-stringify: ^10.0.1
6363
remark-parse: ^11.0.0
6464
remark-rehype: ^11.1.1
6565
rimraf: ^6.0.1
66-
rollup: ^4.22.5
66+
rollup: ^4.24.0
6767
rollup-plugin-copy: ^3.5.0
6868
rollup-plugin-dts: ^6.1.1
6969
rollup-plugin-esbuild: ^6.1.1
7070
rollup-plugin-typescript2: ^0.36.0
7171
shiki-legacy: npm:shiki@^0.14.7
7272
simple-git-hooks: ^2.11.1
7373
taze: ^0.17.2
74-
tm-grammars: ^1.17.27
75-
tm-themes: ^1.8.6
74+
tm-grammars: ^1.18.0
75+
tm-themes: ^1.8.7
7676
twoslash: ^0.2.12
7777
twoslash-vue: ^0.2.12
7878
typescript: ^5.6.2
7979
unbuild: ^2.0.0
8080
unified: ^11.0.5
8181
unist-util-visit: ^5.0.0
82-
unocss: ^0.63.0
82+
unocss: ^0.63.3
8383
unplugin-vue-components: ^0.27.4
8484
vite: ^5.4.8
8585
vite-tsconfig-paths: ^5.0.1
8686
vitepress: ^1.3.4
8787
vitepress-plugin-mermaid: ^2.0.17
8888
vitest: 2.0.5
8989
vscode-oniguruma: ^1.7.0
90-
vue: ^3.5.10
90+
vue: ^3.5.11
9191
vue-tsc: ^2.1.6
92-
wrangler: ^3.78.12
92+
wrangler: ^3.80.0

0 commit comments

Comments
 (0)
Please sign in to comment.