Skip to content

Commit 6f19ecc

Browse files
chore(deps): update shiki to v4 (#15726)
Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev>
1 parent 3963855 commit 6f19ecc

5 files changed

Lines changed: 88 additions & 60 deletions

File tree

.changeset/shiki-v4.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@astrojs/markdown-remark': major
3+
'astro': major
4+
---
5+
6+
Updates dependency `shiki` to v4
7+
8+
Check [Shiki's upgrade guide](https://shiki.style/blog/v4).

packages/astro/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"picomatch": "^4.0.3",
155155
"rehype": "^13.0.2",
156156
"semver": "^7.7.4",
157-
"shiki": "^3.22.0",
157+
"shiki": "^4.0.0",
158158
"smol-toml": "^1.6.0",
159159
"svgo": "^4.0.0",
160160
"tinyexec": "^1.0.2",

packages/integrations/mdx/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@
5252
"astro": "^6.0.0-alpha.0"
5353
},
5454
"devDependencies": {
55-
"@shikijs/rehype": "^3.22.0",
56-
"@shikijs/twoslash": "^3.22.0",
55+
"@shikijs/rehype": "^4.0.0",
56+
"@shikijs/twoslash": "^4.0.0",
5757
"@types/estree": "^1.0.8",
5858
"@types/hast": "^3.0.4",
5959
"@types/mdast": "^4.0.4",
@@ -68,7 +68,7 @@
6868
"remark-math": "^6.0.0",
6969
"remark-rehype": "^11.1.2",
7070
"remark-toc": "^9.0.0",
71-
"shiki": "^3.22.0",
71+
"shiki": "^4.0.0",
7272
"unified": "^11.0.5",
7373
"vite": "^7.3.1"
7474
},

packages/markdown/remark/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"remark-parse": "^11.0.0",
5151
"remark-rehype": "^11.1.2",
5252
"remark-smartypants": "^3.0.2",
53-
"shiki": "^3.23.0",
53+
"shiki": "^4.0.0",
5454
"smol-toml": "^1.6.0",
5555
"unified": "^11.0.5",
5656
"unist-util-remove-position": "^5.0.0",

pnpm-lock.yaml

Lines changed: 75 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)