feat: update grammars · shikijs/shiki@317be40 (original) (raw)

Original file line number Diff line number Diff line change
@@ -14,12 +14,12 @@
14 14 "@iconify-json/svg-spinners": "^1.1.2",
15 15 "@shikijs/transformers": "workspace:*",
16 16 "@shikijs/twoslash": "workspace:*",
17 -"@unocss/reset": "^0.61.0",
17 +"@unocss/reset": "^0.61.2",
18 18 "@vueuse/core": "^10.11.0",
19 19 "floating-vue": "^5.2.2",
20 20 "pinia": "^2.1.7",
21 21 "shiki": "workspace:*",
22 -"unocss": "^0.61.0",
22 +"unocss": "^0.61.2",
23 23 "unplugin-vue-components": "^0.27.2",
24 24 "vitepress": "^1.2.3",
25 25 "vue": "^3.4.31"
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
14 14 "prepare": "simple-git-hooks"
15 15 },
16 16 "devDependencies": {
17 -"@antfu/eslint-config": "^2.21.2",
17 +"@antfu/eslint-config": "^2.22.0-beta.1",
18 18 "@antfu/ni": "^0.21.12",
19 19 "@antfu/utils": "^0.7.10",
20 20 "@rollup/plugin-alias": "^5.1.0",
@@ -30,7 +30,7 @@
30 30 "@shikijs/vitepress-twoslash": "workspace:*",
31 31 "@types/fs-extra": "^11.0.4",
32 32 "@types/hast": "^3.0.4",
33 -"@types/node": "^20.14.9",
33 +"@types/node": "^20.14.10",
34 34 "@vitest/coverage-v8": "^1.6.0",
35 35 "ansi-sequence-parser": "^1.1.1",
36 36 "bumpp": "^9.4.1",
@@ -48,23 +48,23 @@
48 48 "ofetch": "^1.3.4",
49 49 "pnpm": "^9.4.0",
50 50 "prettier": "^3.3.2",
51 -"rimraf": "^5.0.7",
51 +"rimraf": "^5.0.8",
52 52 "rollup": "^4.18.0",
53 53 "rollup-plugin-copy": "^3.5.0",
54 54 "rollup-plugin-dts": "^6.1.1",
55 55 "rollup-plugin-esbuild": "^6.1.1",
56 56 "rollup-plugin-typescript2": "^0.36.0",
57 57 "shiki": "workspace:*",
58 58 "simple-git-hooks": "^2.11.1",
59 -"taze": "^0.14.1",
59 +"taze": "^0.14.2",
60 60 "typescript": "^5.5.3",
61 61 "unbuild": "^2.0.0",
62 -"vite": "^5.3.2",
62 +"vite": "^5.3.3",
63 63 "vite-tsconfig-paths": "^4.3.2",
64 64 "vitepress-plugin-mermaid": "^2.0.16",
65 65 "vitest": "^1.6.0",
66 -"vue-tsc": "^2.0.24",
67 -"wrangler": "^3.62.0"
66 +"vue-tsc": "^2.0.26",
67 +"wrangler": "^3.63.1"
68 68 },
69 69 "resolutions": {
70 70 "@shikijs/compat": "workspace:*",
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
7 7 "play": "vite"
8 8 },
9 9 "devDependencies": {
10 -"typescript": "^5.5.2",
11 -"vite": "^5.3.2"
10 +"typescript": "^5.5.3",
11 +"vite": "^5.3.3"
12 12 }
13 13 }
Original file line number Diff line number Diff line change
@@ -103,8 +103,8 @@
103 103 "@shikijs/core": "workspace:*"
104 104 },
105 105 "devDependencies": {
106 -"tm-grammars": "^1.13.0",
107 -"tm-themes": "^1.5.0",
106 +"tm-grammars": "^1.13.6",
107 +"tm-themes": "^1.5.1",
108 108 "vscode-oniguruma": "^1.7.0"
109 109 }
110 110 }
Original file line number Diff line number Diff line change
@@ -48,11 +48,6 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
48 48 'name': 'CSS',
49 49 'import': (() => import('./langs/css')) as DynamicImportLanguageRegistration
50 50 },
51 -{
52 -'id': 'edge',
53 -'name': 'Edge',
54 -'import': (() => import('./langs/edge')) as DynamicImportLanguageRegistration
55 -},
56 51 {
57 52 'id': 'glsl',
58 53 'name': 'GLSL',
@@ -219,6 +214,14 @@ export const bundledLanguagesInfo: BundledLanguageInfo[] = [
219 214 'name': 'R',
220 215 'import': (() => import('./langs/r')) as DynamicImportLanguageRegistration
221 216 },
217 +{
218 +'id': 'regexp',
219 +'name': 'RegExp',
220 +'aliases': [
221 +'regex'
222 +],
223 +'import': (() => import('./langs/regexp')) as DynamicImportLanguageRegistration
224 +},
222 225 {
223 226 'id': 'ruby',
224 227 'name': 'Ruby',
@@ -335,7 +338,6 @@ export type BundledLanguage =
335 338 | 'coffeescript'
336 339 | 'cpp'
337 340 | 'css'
338 -| 'edge'
339 341 | 'glsl'
340 342 | 'gql'
341 343 | 'graphql'
@@ -373,6 +375,8 @@ export type BundledLanguage =
373 375 | 'python'
374 376 | 'r'
375 377 | 'rb'
378 +| 'regex'
379 +| 'regexp'
376 380 | 'ruby'
377 381 | 'sass'
378 382 | 'scss'
Original file line number Diff line number Diff line change
@@ -63,6 +63,6 @@
63 63 "@iconify-json/codicon": "^1.1.49",
64 64 "@shikijs/twoslash": "^3.1.2",
65 65 "hast-util-from-html": "^2.0.1",
66 -"typescript": "^5.5.2"
66 +"typescript": "^5.5.3"
67 67 }
68 68 }